From ea1cc26fe397356436de3549b7174d0a22236bad Mon Sep 17 00:00:00 2001 From: bQUARKz Date: Tue, 10 Nov 2026 12:36:25 +0000 Subject: [PATCH] feat(studio): improve compiler reliability and AI diagnostics Preserve structured diagnostics, source attribution, phase outcomes and revision context through compiler, Studio, LSP, MCP and JavaFX. Add project service discovery and resilient VS Code reconnection. Correct all eight reproduced PBS production failures in expression context, sibling executable bindings and nominal owner identity. Consolidate specs, lessons, immutable baseline evidence and the maintained source-to-guest qualification runner. Validation: required Gradle gate recorded 724 tests, with 711 passed and 13 skipped. Full corpus passed 168 compilation observations and 108 guest runs (104 successes and four deliberate faults); supplemental controls passed 42 compilations and 16 guest runs. TypeScript compilation, two Node discovery tests and discussion validation passed. --- ...oject-services-through-session-metadata.md | 56 + ...uction-binding-and-lowering-corrections.md | 96 + .../evidence/README.md | 32 + .../evidence/SHA256SUMS | 1034 ++ .../evidence/baseline-preserved-sha256.json | 183 + .../evidence/baseline/Agd113Probe.java | 134 + .../evidence/baseline/SHA256SUMS | 180 + .../evidence/baseline/cases.json | 451 + .../evidence/baseline/execute.py | 133 + .../evidence/baseline/inventory.json | 3208 +++++ .../evidence/baseline/investigate.py | 178 + .../evidence/baseline/provenance.json | 167 + .../F1-condition-optimized-public.json | 109 + .../checkout/F1-condition-optimized.json | 138 + .../checkout/F1-condition-unoptimized.json | 133 + .../checkout/F1-direct-optimized-public.json | 33 + .../reports/checkout/F1-direct-optimized.json | 46 + .../checkout/F1-direct-unoptimized.json | 46 + .../checkout/F1-local-optimized-public.json | 121 + .../reports/checkout/F1-local-optimized.json | 150 + .../checkout/F1-local-unoptimized.json | 145 + .../F1-service-local-optimized-public.json | 114 + .../checkout/F1-service-local-optimized.json | 143 + .../F1-service-local-unoptimized.json | 138 + .../F1-service-this-optimized-public.json | 33 + .../checkout/F1-service-this-optimized.json | 46 + .../checkout/F1-service-this-unoptimized.json | 46 + .../F1-two-calls-optimized-public.json | 34 + .../checkout/F1-two-calls-optimized.json | 59 + .../checkout/F1-two-calls-unoptimized.json | 59 + .../F2-arguments-optimized-public.json | 131 + .../checkout/F2-arguments-optimized.json | 160 + .../checkout/F2-arguments-unoptimized.json | 155 + .../F2-expression-optimized-public.json | 133 + .../checkout/F2-expression-optimized.json | 162 + .../checkout/F2-expression-unoptimized.json | 157 + .../checkout/F2-locals-optimized-public.json | 135 + .../reports/checkout/F2-locals-optimized.json | 164 + .../checkout/F2-locals-unoptimized.json | 159 + .../F2-struct-method-optimized-public.json | 125 + .../checkout/F2-struct-method-optimized.json | 154 + .../F2-struct-method-unoptimized.json | 149 + .../F3-file-private-optimized-public.json | 34 + .../checkout/F3-file-private-optimized.json | 47 + .../checkout/F3-file-private-unoptimized.json | 47 + .../F3-function-optimized-public.json | 34 + .../checkout/F3-function-optimized.json | 47 + .../checkout/F3-function-unoptimized.json | 47 + .../F3-global-local-optimized-public.json | 99 + .../checkout/F3-global-local-optimized.json | 128 + .../checkout/F3-global-local-unoptimized.json | 123 + .../checkout/F3-global-optimized-public.json | 34 + .../reports/checkout/F3-global-optimized.json | 47 + .../checkout/F3-global-unoptimized.json | 47 + .../F3-service-local-optimized-public.json | 95 + .../checkout/F3-service-local-optimized.json | 124 + .../F3-service-local-unoptimized.json | 119 + .../checkout/F3-service-optimized-public.json | 35 + .../checkout/F3-service-optimized.json | 60 + .../checkout/F3-service-unoptimized.json | 60 + .../F3-single-file-optimized-public.json | 82 + .../checkout/F3-single-file-optimized.json | 111 + .../checkout/F3-single-file-unoptimized.json | 106 + .../F4-distinct-optimized-public.json | 227 + .../checkout/F4-distinct-optimized.json | 256 + .../checkout/F4-distinct-unoptimized.json | 251 + .../F4-public-aliases-optimized-public.json | 147 + .../checkout/F4-public-aliases-optimized.json | 176 + .../F4-public-aliases-unoptimized.json | 171 + .../F4-rename-a-optimized-public.json | 227 + .../checkout/F4-rename-a-optimized.json | 256 + .../checkout/F4-rename-a-unoptimized.json | 251 + .../F4-same-dependency-optimized-public.json | 96 + .../F4-same-dependency-optimized.json | 109 + .../F4-same-dependency-unoptimized.json | 109 + .../F4-same-direct-optimized-public.json | 96 + .../checkout/F4-same-direct-optimized.json | 109 + .../checkout/F4-same-direct-unoptimized.json | 109 + ...4-same-no-dependency-optimized-public.json | 223 + .../F4-same-no-dependency-optimized.json | 252 + .../F4-same-no-dependency-unoptimized.json | 247 + .../F5-scene-alias-optimized-public.json | 160 + .../checkout/F5-scene-alias-optimized.json | 189 + .../checkout/F5-scene-alias-unoptimized.json | 184 + .../checkout/F5-scene-optimized-public.json | 160 + .../reports/checkout/F5-scene-optimized.json | 189 + .../F5-scene-positional-optimized-public.json | 160 + .../F5-scene-positional-optimized.json | 189 + .../F5-scene-positional-unoptimized.json | 184 + .../checkout/F5-scene-unoptimized.json | 184 + .../F5-shopvisit-optimized-public.json | 160 + .../checkout/F5-shopvisit-optimized.json | 189 + .../checkout/F5-shopvisit-unoptimized.json | 184 + .../checkout/runtime-initial-handshake.json | 1538 +++ ...runtime-trap-control-optimized-public.json | 61 + .../runtime-trap-control-optimized.json | 90 + .../runtime-trap-control-unoptimized.json | 85 + .../baseline/reports/checkout/runtime.json | 11442 ++++++++++++++++ .../baseline/reports/checkout/summary.json | 679 + .../F1-condition-optimized-public.json | 109 + .../installed/F1-condition-optimized.json | 138 + .../installed/F1-condition-unoptimized.json | 133 + .../installed/F1-direct-optimized-public.json | 33 + .../installed/F1-direct-optimized.json | 46 + .../installed/F1-direct-unoptimized.json | 46 + .../installed/F1-local-optimized-public.json | 121 + .../reports/installed/F1-local-optimized.json | 150 + .../installed/F1-local-unoptimized.json | 145 + .../F1-service-local-optimized-public.json | 114 + .../installed/F1-service-local-optimized.json | 143 + .../F1-service-local-unoptimized.json | 138 + .../F1-service-this-optimized-public.json | 33 + .../installed/F1-service-this-optimized.json | 46 + .../F1-service-this-unoptimized.json | 46 + .../F1-two-calls-optimized-public.json | 34 + .../installed/F1-two-calls-optimized.json | 59 + .../installed/F1-two-calls-unoptimized.json | 59 + .../F2-arguments-optimized-public.json | 131 + .../installed/F2-arguments-optimized.json | 160 + .../installed/F2-arguments-unoptimized.json | 155 + .../F2-expression-optimized-public.json | 133 + .../installed/F2-expression-optimized.json | 162 + .../installed/F2-expression-unoptimized.json | 157 + .../installed/F2-locals-optimized-public.json | 135 + .../installed/F2-locals-optimized.json | 164 + .../installed/F2-locals-unoptimized.json | 159 + .../F2-struct-method-optimized-public.json | 125 + .../installed/F2-struct-method-optimized.json | 154 + .../F2-struct-method-unoptimized.json | 149 + .../F3-file-private-optimized-public.json | 34 + .../installed/F3-file-private-optimized.json | 47 + .../F3-file-private-unoptimized.json | 47 + .../F3-function-optimized-public.json | 34 + .../installed/F3-function-optimized.json | 47 + .../installed/F3-function-unoptimized.json | 47 + .../F3-global-local-optimized-public.json | 99 + .../installed/F3-global-local-optimized.json | 128 + .../F3-global-local-unoptimized.json | 123 + .../installed/F3-global-optimized-public.json | 34 + .../installed/F3-global-optimized.json | 47 + .../installed/F3-global-unoptimized.json | 47 + .../F3-service-local-optimized-public.json | 95 + .../installed/F3-service-local-optimized.json | 124 + .../F3-service-local-unoptimized.json | 119 + .../F3-service-optimized-public.json | 35 + .../installed/F3-service-optimized.json | 60 + .../installed/F3-service-unoptimized.json | 60 + .../F3-single-file-optimized-public.json | 82 + .../installed/F3-single-file-optimized.json | 111 + .../installed/F3-single-file-unoptimized.json | 106 + .../F4-distinct-optimized-public.json | 227 + .../installed/F4-distinct-optimized.json | 256 + .../installed/F4-distinct-unoptimized.json | 251 + .../F4-public-aliases-optimized-public.json | 147 + .../F4-public-aliases-optimized.json | 176 + .../F4-public-aliases-unoptimized.json | 171 + .../F4-rename-a-optimized-public.json | 227 + .../installed/F4-rename-a-optimized.json | 256 + .../installed/F4-rename-a-unoptimized.json | 251 + .../F4-same-dependency-optimized-public.json | 96 + .../F4-same-dependency-optimized.json | 109 + .../F4-same-dependency-unoptimized.json | 109 + .../F4-same-direct-optimized-public.json | 96 + .../installed/F4-same-direct-optimized.json | 109 + .../installed/F4-same-direct-unoptimized.json | 109 + ...4-same-no-dependency-optimized-public.json | 223 + .../F4-same-no-dependency-optimized.json | 252 + .../F4-same-no-dependency-unoptimized.json | 247 + .../F5-scene-alias-optimized-public.json | 160 + .../installed/F5-scene-alias-optimized.json | 189 + .../installed/F5-scene-alias-unoptimized.json | 184 + .../installed/F5-scene-optimized-public.json | 160 + .../reports/installed/F5-scene-optimized.json | 189 + .../F5-scene-positional-optimized-public.json | 160 + .../F5-scene-positional-optimized.json | 189 + .../F5-scene-positional-unoptimized.json | 184 + .../installed/F5-scene-unoptimized.json | 184 + .../F5-shopvisit-optimized-public.json | 160 + .../installed/F5-shopvisit-optimized.json | 189 + .../installed/F5-shopvisit-unoptimized.json | 184 + ...runtime-trap-control-optimized-public.json | 61 + .../runtime-trap-control-optimized.json | 90 + .../runtime-trap-control-unoptimized.json | 85 + .../baseline/reports/installed/runtime.json | 11442 ++++++++++++++++ .../baseline/reports/installed/summary.json | 679 + .../evidence/baseline/summarize.py | 163 + .../evidence/candidate-source-sha256.json | 1021 ++ .../evidence/cases.json | 451 + .../optimized-public/manifest.json | 11 + .../F1-condition/optimized-public/program.pbx | Bin 0 -> 1176 bytes .../F1-condition/optimized/manifest.json | 11 + .../F1-condition/optimized/program.pbx | Bin 0 -> 1176 bytes .../F1-condition/unoptimized/manifest.json | 11 + .../F1-condition/unoptimized/program.pbx | Bin 0 -> 1198 bytes .../F1-direct/optimized-public/manifest.json | 11 + .../F1-direct/optimized-public/program.pbx | Bin 0 -> 1287 bytes .../F1-direct/optimized/manifest.json | 11 + .../checkout/F1-direct/optimized/program.pbx | Bin 0 -> 1287 bytes .../F1-direct/unoptimized/manifest.json | 11 + .../F1-direct/unoptimized/program.pbx | Bin 0 -> 1309 bytes .../F1-local/optimized-public/manifest.json | 11 + .../F1-local/optimized-public/program.pbx | Bin 0 -> 1331 bytes .../checkout/F1-local/optimized/manifest.json | 11 + .../checkout/F1-local/optimized/program.pbx | Bin 0 -> 1331 bytes .../F1-local/unoptimized/manifest.json | 11 + .../checkout/F1-local/unoptimized/program.pbx | Bin 0 -> 1353 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1310 bytes .../F1-service-local/optimized/manifest.json | 11 + .../F1-service-local/optimized/program.pbx | Bin 0 -> 1310 bytes .../unoptimized/manifest.json | 11 + .../F1-service-local/unoptimized/program.pbx | Bin 0 -> 1332 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1266 bytes .../F1-service-this/optimized/manifest.json | 11 + .../F1-service-this/optimized/program.pbx | Bin 0 -> 1266 bytes .../F1-service-this/unoptimized/manifest.json | 11 + .../F1-service-this/unoptimized/program.pbx | Bin 0 -> 1288 bytes .../optimized-public/manifest.json | 11 + .../F1-two-calls/optimized-public/program.pbx | Bin 0 -> 1309 bytes .../F1-two-calls/optimized/manifest.json | 11 + .../F1-two-calls/optimized/program.pbx | Bin 0 -> 1309 bytes .../F1-two-calls/unoptimized/manifest.json | 11 + .../F1-two-calls/unoptimized/program.pbx | Bin 0 -> 1331 bytes .../optimized-public/manifest.json | 11 + .../F2-arguments/optimized-public/program.pbx | Bin 0 -> 1516 bytes .../F2-arguments/optimized/manifest.json | 11 + .../F2-arguments/optimized/program.pbx | Bin 0 -> 1516 bytes .../F2-arguments/unoptimized/manifest.json | 11 + .../F2-arguments/unoptimized/program.pbx | Bin 0 -> 1538 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1556 bytes .../F2-expression/optimized/manifest.json | 11 + .../F2-expression/optimized/program.pbx | Bin 0 -> 1556 bytes .../F2-expression/unoptimized/manifest.json | 11 + .../F2-expression/unoptimized/program.pbx | Bin 0 -> 1578 bytes .../F2-locals/optimized-public/manifest.json | 11 + .../F2-locals/optimized-public/program.pbx | Bin 0 -> 1604 bytes .../F2-locals/optimized/manifest.json | 11 + .../checkout/F2-locals/optimized/program.pbx | Bin 0 -> 1604 bytes .../F2-locals/unoptimized/manifest.json | 11 + .../F2-locals/unoptimized/program.pbx | Bin 0 -> 1626 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1431 bytes .../F2-struct-method/optimized/manifest.json | 11 + .../F2-struct-method/optimized/program.pbx | Bin 0 -> 1431 bytes .../unoptimized/manifest.json | 11 + .../F2-struct-method/unoptimized/program.pbx | Bin 0 -> 1453 bytes .../optimized-public/manifest.json | 11 + .../F3-function/optimized-public/program.pbx | Bin 0 -> 859 bytes .../F3-function/optimized/manifest.json | 11 + .../F3-function/optimized/program.pbx | Bin 0 -> 859 bytes .../F3-function/unoptimized/manifest.json | 11 + .../F3-function/unoptimized/program.pbx | Bin 0 -> 881 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1027 bytes .../F3-global-local/optimized/manifest.json | 11 + .../F3-global-local/optimized/program.pbx | Bin 0 -> 1027 bytes .../F3-global-local/unoptimized/manifest.json | 11 + .../F3-global-local/unoptimized/program.pbx | Bin 0 -> 1049 bytes .../F3-global/optimized-public/manifest.json | 11 + .../F3-global/optimized-public/program.pbx | Bin 0 -> 1027 bytes .../F3-global/optimized/manifest.json | 11 + .../checkout/F3-global/optimized/program.pbx | Bin 0 -> 1027 bytes .../F3-global/unoptimized/manifest.json | 11 + .../F3-global/unoptimized/program.pbx | Bin 0 -> 1049 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1028 bytes .../F3-service-local/optimized/manifest.json | 11 + .../F3-service-local/optimized/program.pbx | Bin 0 -> 1028 bytes .../unoptimized/manifest.json | 11 + .../F3-service-local/unoptimized/program.pbx | Bin 0 -> 1050 bytes .../F3-service/optimized-public/manifest.json | 11 + .../F3-service/optimized-public/program.pbx | Bin 0 -> 1028 bytes .../F3-service/optimized/manifest.json | 11 + .../checkout/F3-service/optimized/program.pbx | Bin 0 -> 1028 bytes .../F3-service/unoptimized/manifest.json | 11 + .../F3-service/unoptimized/program.pbx | Bin 0 -> 1050 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 859 bytes .../F3-single-file/optimized/manifest.json | 11 + .../F3-single-file/optimized/program.pbx | Bin 0 -> 859 bytes .../F3-single-file/unoptimized/manifest.json | 11 + .../F3-single-file/unoptimized/program.pbx | Bin 0 -> 881 bytes .../optimized-public/manifest.json | 11 + .../F4-distinct/optimized-public/program.pbx | Bin 0 -> 2746 bytes .../F4-distinct/optimized/manifest.json | 11 + .../F4-distinct/optimized/program.pbx | Bin 0 -> 2746 bytes .../F4-distinct/unoptimized/manifest.json | 11 + .../F4-distinct/unoptimized/program.pbx | Bin 0 -> 2790 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1897 bytes .../F4-public-aliases/optimized/manifest.json | 11 + .../F4-public-aliases/optimized/program.pbx | Bin 0 -> 1897 bytes .../unoptimized/manifest.json | 11 + .../F4-public-aliases/unoptimized/program.pbx | Bin 0 -> 1919 bytes .../optimized-public/manifest.json | 11 + .../F4-rename-a/optimized-public/program.pbx | Bin 0 -> 2752 bytes .../F4-rename-a/optimized/manifest.json | 11 + .../F4-rename-a/optimized/program.pbx | Bin 0 -> 2752 bytes .../F4-rename-a/unoptimized/manifest.json | 11 + .../F4-rename-a/unoptimized/program.pbx | Bin 0 -> 2796 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 2742 bytes .../optimized/manifest.json | 11 + .../F4-same-dependency/optimized/program.pbx | Bin 0 -> 2742 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 2786 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 2654 bytes .../F4-same-direct/optimized/manifest.json | 11 + .../F4-same-direct/optimized/program.pbx | Bin 0 -> 2654 bytes .../F4-same-direct/unoptimized/manifest.json | 11 + .../F4-same-direct/unoptimized/program.pbx | Bin 0 -> 2698 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 2658 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 2658 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 2702 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1947 bytes .../F5-scene-alias/optimized/manifest.json | 11 + .../F5-scene-alias/optimized/program.pbx | Bin 0 -> 1947 bytes .../F5-scene-alias/unoptimized/manifest.json | 11 + .../F5-scene-alias/unoptimized/program.pbx | Bin 0 -> 1969 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1951 bytes .../optimized/manifest.json | 11 + .../F5-scene-positional/optimized/program.pbx | Bin 0 -> 1951 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 1973 bytes .../F5-scene/optimized-public/manifest.json | 11 + .../F5-scene/optimized-public/program.pbx | Bin 0 -> 1947 bytes .../checkout/F5-scene/optimized/manifest.json | 11 + .../checkout/F5-scene/optimized/program.pbx | Bin 0 -> 1947 bytes .../F5-scene/unoptimized/manifest.json | 11 + .../checkout/F5-scene/unoptimized/program.pbx | Bin 0 -> 1969 bytes .../optimized-public/manifest.json | 11 + .../F5-shopvisit/optimized-public/program.pbx | Bin 0 -> 1959 bytes .../F5-shopvisit/optimized/manifest.json | 11 + .../F5-shopvisit/optimized/program.pbx | Bin 0 -> 1959 bytes .../F5-shopvisit/unoptimized/manifest.json | 11 + .../F5-shopvisit/unoptimized/program.pbx | Bin 0 -> 1981 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 558 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 558 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 558 bytes .../optimized-public/manifest.json | 11 + .../F1-condition/optimized-public/program.pbx | Bin 0 -> 1176 bytes .../F1-condition/optimized/manifest.json | 11 + .../F1-condition/optimized/program.pbx | Bin 0 -> 1176 bytes .../F1-condition/unoptimized/manifest.json | 11 + .../F1-condition/unoptimized/program.pbx | Bin 0 -> 1198 bytes .../F1-direct/optimized-public/manifest.json | 11 + .../F1-direct/optimized-public/program.pbx | Bin 0 -> 1287 bytes .../F1-direct/optimized/manifest.json | 11 + .../installed/F1-direct/optimized/program.pbx | Bin 0 -> 1287 bytes .../F1-direct/unoptimized/manifest.json | 11 + .../F1-direct/unoptimized/program.pbx | Bin 0 -> 1309 bytes .../F1-local/optimized-public/manifest.json | 11 + .../F1-local/optimized-public/program.pbx | Bin 0 -> 1331 bytes .../F1-local/optimized/manifest.json | 11 + .../installed/F1-local/optimized/program.pbx | Bin 0 -> 1331 bytes .../F1-local/unoptimized/manifest.json | 11 + .../F1-local/unoptimized/program.pbx | Bin 0 -> 1353 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1310 bytes .../F1-service-local/optimized/manifest.json | 11 + .../F1-service-local/optimized/program.pbx | Bin 0 -> 1310 bytes .../unoptimized/manifest.json | 11 + .../F1-service-local/unoptimized/program.pbx | Bin 0 -> 1332 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1266 bytes .../F1-service-this/optimized/manifest.json | 11 + .../F1-service-this/optimized/program.pbx | Bin 0 -> 1266 bytes .../F1-service-this/unoptimized/manifest.json | 11 + .../F1-service-this/unoptimized/program.pbx | Bin 0 -> 1288 bytes .../optimized-public/manifest.json | 11 + .../F1-two-calls/optimized-public/program.pbx | Bin 0 -> 1309 bytes .../F1-two-calls/optimized/manifest.json | 11 + .../F1-two-calls/optimized/program.pbx | Bin 0 -> 1309 bytes .../F1-two-calls/unoptimized/manifest.json | 11 + .../F1-two-calls/unoptimized/program.pbx | Bin 0 -> 1331 bytes .../optimized-public/manifest.json | 11 + .../F2-arguments/optimized-public/program.pbx | Bin 0 -> 1516 bytes .../F2-arguments/optimized/manifest.json | 11 + .../F2-arguments/optimized/program.pbx | Bin 0 -> 1516 bytes .../F2-arguments/unoptimized/manifest.json | 11 + .../F2-arguments/unoptimized/program.pbx | Bin 0 -> 1538 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1556 bytes .../F2-expression/optimized/manifest.json | 11 + .../F2-expression/optimized/program.pbx | Bin 0 -> 1556 bytes .../F2-expression/unoptimized/manifest.json | 11 + .../F2-expression/unoptimized/program.pbx | Bin 0 -> 1578 bytes .../F2-locals/optimized-public/manifest.json | 11 + .../F2-locals/optimized-public/program.pbx | Bin 0 -> 1604 bytes .../F2-locals/optimized/manifest.json | 11 + .../installed/F2-locals/optimized/program.pbx | Bin 0 -> 1604 bytes .../F2-locals/unoptimized/manifest.json | 11 + .../F2-locals/unoptimized/program.pbx | Bin 0 -> 1626 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1431 bytes .../F2-struct-method/optimized/manifest.json | 11 + .../F2-struct-method/optimized/program.pbx | Bin 0 -> 1431 bytes .../unoptimized/manifest.json | 11 + .../F2-struct-method/unoptimized/program.pbx | Bin 0 -> 1453 bytes .../optimized-public/manifest.json | 11 + .../F3-function/optimized-public/program.pbx | Bin 0 -> 859 bytes .../F3-function/optimized/manifest.json | 11 + .../F3-function/optimized/program.pbx | Bin 0 -> 859 bytes .../F3-function/unoptimized/manifest.json | 11 + .../F3-function/unoptimized/program.pbx | Bin 0 -> 881 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1027 bytes .../F3-global-local/optimized/manifest.json | 11 + .../F3-global-local/optimized/program.pbx | Bin 0 -> 1027 bytes .../F3-global-local/unoptimized/manifest.json | 11 + .../F3-global-local/unoptimized/program.pbx | Bin 0 -> 1049 bytes .../F3-global/optimized-public/manifest.json | 11 + .../F3-global/optimized-public/program.pbx | Bin 0 -> 1027 bytes .../F3-global/optimized/manifest.json | 11 + .../installed/F3-global/optimized/program.pbx | Bin 0 -> 1027 bytes .../F3-global/unoptimized/manifest.json | 11 + .../F3-global/unoptimized/program.pbx | Bin 0 -> 1049 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1028 bytes .../F3-service-local/optimized/manifest.json | 11 + .../F3-service-local/optimized/program.pbx | Bin 0 -> 1028 bytes .../unoptimized/manifest.json | 11 + .../F3-service-local/unoptimized/program.pbx | Bin 0 -> 1050 bytes .../F3-service/optimized-public/manifest.json | 11 + .../F3-service/optimized-public/program.pbx | Bin 0 -> 1028 bytes .../F3-service/optimized/manifest.json | 11 + .../F3-service/optimized/program.pbx | Bin 0 -> 1028 bytes .../F3-service/unoptimized/manifest.json | 11 + .../F3-service/unoptimized/program.pbx | Bin 0 -> 1050 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 859 bytes .../F3-single-file/optimized/manifest.json | 11 + .../F3-single-file/optimized/program.pbx | Bin 0 -> 859 bytes .../F3-single-file/unoptimized/manifest.json | 11 + .../F3-single-file/unoptimized/program.pbx | Bin 0 -> 881 bytes .../optimized-public/manifest.json | 11 + .../F4-distinct/optimized-public/program.pbx | Bin 0 -> 2746 bytes .../F4-distinct/optimized/manifest.json | 11 + .../F4-distinct/optimized/program.pbx | Bin 0 -> 2746 bytes .../F4-distinct/unoptimized/manifest.json | 11 + .../F4-distinct/unoptimized/program.pbx | Bin 0 -> 2790 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1897 bytes .../F4-public-aliases/optimized/manifest.json | 11 + .../F4-public-aliases/optimized/program.pbx | Bin 0 -> 1897 bytes .../unoptimized/manifest.json | 11 + .../F4-public-aliases/unoptimized/program.pbx | Bin 0 -> 1919 bytes .../optimized-public/manifest.json | 11 + .../F4-rename-a/optimized-public/program.pbx | Bin 0 -> 2752 bytes .../F4-rename-a/optimized/manifest.json | 11 + .../F4-rename-a/optimized/program.pbx | Bin 0 -> 2752 bytes .../F4-rename-a/unoptimized/manifest.json | 11 + .../F4-rename-a/unoptimized/program.pbx | Bin 0 -> 2796 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 2742 bytes .../optimized/manifest.json | 11 + .../F4-same-dependency/optimized/program.pbx | Bin 0 -> 2742 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 2786 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 2654 bytes .../F4-same-direct/optimized/manifest.json | 11 + .../F4-same-direct/optimized/program.pbx | Bin 0 -> 2654 bytes .../F4-same-direct/unoptimized/manifest.json | 11 + .../F4-same-direct/unoptimized/program.pbx | Bin 0 -> 2698 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 2658 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 2658 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 2702 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1947 bytes .../F5-scene-alias/optimized/manifest.json | 11 + .../F5-scene-alias/optimized/program.pbx | Bin 0 -> 1947 bytes .../F5-scene-alias/unoptimized/manifest.json | 11 + .../F5-scene-alias/unoptimized/program.pbx | Bin 0 -> 1969 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1951 bytes .../optimized/manifest.json | 11 + .../F5-scene-positional/optimized/program.pbx | Bin 0 -> 1951 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 1973 bytes .../F5-scene/optimized-public/manifest.json | 11 + .../F5-scene/optimized-public/program.pbx | Bin 0 -> 1947 bytes .../F5-scene/optimized/manifest.json | 11 + .../installed/F5-scene/optimized/program.pbx | Bin 0 -> 1947 bytes .../F5-scene/unoptimized/manifest.json | 11 + .../F5-scene/unoptimized/program.pbx | Bin 0 -> 1969 bytes .../optimized-public/manifest.json | 11 + .../F5-shopvisit/optimized-public/program.pbx | Bin 0 -> 1959 bytes .../F5-shopvisit/optimized/manifest.json | 11 + .../F5-shopvisit/optimized/program.pbx | Bin 0 -> 1959 bytes .../F5-shopvisit/unoptimized/manifest.json | 11 + .../F5-shopvisit/unoptimized/program.pbx | Bin 0 -> 1981 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 558 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 558 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 558 bytes .../evidence/final/checksums.json | 604 + .../F1-condition-optimized-public.json | 142 + .../checkout/F1-condition-optimized.json | 171 + .../checkout/F1-condition-unoptimized.json | 166 + .../checkout/F1-direct-optimized-public.json | 152 + .../checkout/F1-direct-optimized.json | 181 + .../checkout/F1-direct-unoptimized.json | 176 + .../checkout/F1-local-optimized-public.json | 154 + .../checkout/F1-local-optimized.json | 183 + .../checkout/F1-local-unoptimized.json | 178 + .../F1-service-local-optimized-public.json | 147 + .../checkout/F1-service-local-optimized.json | 176 + .../F1-service-local-unoptimized.json | 171 + .../F1-service-this-optimized-public.json | 145 + .../checkout/F1-service-this-optimized.json | 174 + .../checkout/F1-service-this-unoptimized.json | 169 + .../F1-two-calls-optimized-public.json | 153 + .../checkout/F1-two-calls-optimized.json | 182 + .../checkout/F1-two-calls-unoptimized.json | 177 + .../F2-arguments-optimized-public.json | 164 + .../checkout/F2-arguments-optimized.json | 193 + .../checkout/F2-arguments-unoptimized.json | 188 + .../F2-expression-optimized-public.json | 166 + .../checkout/F2-expression-optimized.json | 195 + .../checkout/F2-expression-unoptimized.json | 190 + .../checkout/F2-locals-optimized-public.json | 168 + .../checkout/F2-locals-optimized.json | 197 + .../checkout/F2-locals-unoptimized.json | 192 + .../F2-struct-method-optimized-public.json | 158 + .../checkout/F2-struct-method-optimized.json | 187 + .../F2-struct-method-unoptimized.json | 182 + .../F3-file-private-optimized-public.json | 212 + .../checkout/F3-file-private-optimized.json | 211 + .../checkout/F3-file-private-unoptimized.json | 211 + .../F3-function-optimized-public.json | 128 + .../checkout/F3-function-optimized.json | 157 + .../checkout/F3-function-unoptimized.json | 152 + .../F3-global-local-optimized-public.json | 132 + .../checkout/F3-global-local-optimized.json | 161 + .../checkout/F3-global-local-unoptimized.json | 156 + .../checkout/F3-global-optimized-public.json | 145 + .../checkout/F3-global-optimized.json | 174 + .../checkout/F3-global-unoptimized.json | 169 + .../F3-service-local-optimized-public.json | 128 + .../checkout/F3-service-local-optimized.json | 157 + .../F3-service-local-unoptimized.json | 152 + .../checkout/F3-service-optimized-public.json | 141 + .../checkout/F3-service-optimized.json | 170 + .../checkout/F3-service-unoptimized.json | 165 + .../F3-single-file-optimized-public.json | 115 + .../checkout/F3-single-file-optimized.json | 144 + .../checkout/F3-single-file-unoptimized.json | 139 + .../F4-distinct-optimized-public.json | 332 + .../checkout/F4-distinct-optimized.json | 361 + .../checkout/F4-distinct-unoptimized.json | 356 + .../F4-public-aliases-optimized-public.json | 228 + .../checkout/F4-public-aliases-optimized.json | 257 + .../F4-public-aliases-unoptimized.json | 252 + .../F4-rename-a-optimized-public.json | 332 + .../checkout/F4-rename-a-optimized.json | 361 + .../checkout/F4-rename-a-unoptimized.json | 356 + .../F4-same-dependency-optimized-public.json | 332 + .../F4-same-dependency-optimized.json | 361 + .../F4-same-dependency-unoptimized.json | 356 + .../F4-same-direct-optimized-public.json | 328 + .../checkout/F4-same-direct-optimized.json | 357 + .../checkout/F4-same-direct-unoptimized.json | 352 + ...4-same-no-dependency-optimized-public.json | 328 + .../F4-same-no-dependency-optimized.json | 357 + .../F4-same-no-dependency-unoptimized.json | 352 + .../F5-scene-alias-optimized-public.json | 241 + .../checkout/F5-scene-alias-optimized.json | 270 + .../checkout/F5-scene-alias-unoptimized.json | 265 + .../checkout/F5-scene-optimized-public.json | 241 + .../checkout/F5-scene-optimized.json | 270 + .../F5-scene-positional-optimized-public.json | 241 + .../F5-scene-positional-optimized.json | 270 + .../F5-scene-positional-unoptimized.json | 265 + .../checkout/F5-scene-unoptimized.json | 265 + .../F5-shopvisit-optimized-public.json | 241 + .../checkout/F5-shopvisit-optimized.json | 270 + .../checkout/F5-shopvisit-unoptimized.json | 265 + ...runtime-trap-control-optimized-public.json | 94 + .../runtime-trap-control-optimized.json | 123 + .../runtime-trap-control-unoptimized.json | 118 + .../F1-condition-optimized-public.json | 142 + .../installed/F1-condition-optimized.json | 171 + .../installed/F1-condition-unoptimized.json | 166 + .../installed/F1-direct-optimized-public.json | 152 + .../installed/F1-direct-optimized.json | 181 + .../installed/F1-direct-unoptimized.json | 176 + .../installed/F1-local-optimized-public.json | 154 + .../installed/F1-local-optimized.json | 183 + .../installed/F1-local-unoptimized.json | 178 + .../F1-service-local-optimized-public.json | 147 + .../installed/F1-service-local-optimized.json | 176 + .../F1-service-local-unoptimized.json | 171 + .../F1-service-this-optimized-public.json | 145 + .../installed/F1-service-this-optimized.json | 174 + .../F1-service-this-unoptimized.json | 169 + .../F1-two-calls-optimized-public.json | 153 + .../installed/F1-two-calls-optimized.json | 182 + .../installed/F1-two-calls-unoptimized.json | 177 + .../F2-arguments-optimized-public.json | 164 + .../installed/F2-arguments-optimized.json | 193 + .../installed/F2-arguments-unoptimized.json | 188 + .../F2-expression-optimized-public.json | 166 + .../installed/F2-expression-optimized.json | 195 + .../installed/F2-expression-unoptimized.json | 190 + .../installed/F2-locals-optimized-public.json | 168 + .../installed/F2-locals-optimized.json | 197 + .../installed/F2-locals-unoptimized.json | 192 + .../F2-struct-method-optimized-public.json | 158 + .../installed/F2-struct-method-optimized.json | 187 + .../F2-struct-method-unoptimized.json | 182 + .../F3-file-private-optimized-public.json | 212 + .../installed/F3-file-private-optimized.json | 211 + .../F3-file-private-unoptimized.json | 211 + .../F3-function-optimized-public.json | 128 + .../installed/F3-function-optimized.json | 157 + .../installed/F3-function-unoptimized.json | 152 + .../F3-global-local-optimized-public.json | 132 + .../installed/F3-global-local-optimized.json | 161 + .../F3-global-local-unoptimized.json | 156 + .../installed/F3-global-optimized-public.json | 145 + .../installed/F3-global-optimized.json | 174 + .../installed/F3-global-unoptimized.json | 169 + .../F3-service-local-optimized-public.json | 128 + .../installed/F3-service-local-optimized.json | 157 + .../F3-service-local-unoptimized.json | 152 + .../F3-service-optimized-public.json | 141 + .../installed/F3-service-optimized.json | 170 + .../installed/F3-service-unoptimized.json | 165 + .../F3-single-file-optimized-public.json | 115 + .../installed/F3-single-file-optimized.json | 144 + .../installed/F3-single-file-unoptimized.json | 139 + .../F4-distinct-optimized-public.json | 332 + .../installed/F4-distinct-optimized.json | 361 + .../installed/F4-distinct-unoptimized.json | 356 + .../F4-public-aliases-optimized-public.json | 228 + .../F4-public-aliases-optimized.json | 257 + .../F4-public-aliases-unoptimized.json | 252 + .../F4-rename-a-optimized-public.json | 332 + .../installed/F4-rename-a-optimized.json | 361 + .../installed/F4-rename-a-unoptimized.json | 356 + .../F4-same-dependency-optimized-public.json | 332 + .../F4-same-dependency-optimized.json | 361 + .../F4-same-dependency-unoptimized.json | 356 + .../F4-same-direct-optimized-public.json | 328 + .../installed/F4-same-direct-optimized.json | 357 + .../installed/F4-same-direct-unoptimized.json | 352 + ...4-same-no-dependency-optimized-public.json | 328 + .../F4-same-no-dependency-optimized.json | 357 + .../F4-same-no-dependency-unoptimized.json | 352 + .../F5-scene-alias-optimized-public.json | 241 + .../installed/F5-scene-alias-optimized.json | 270 + .../installed/F5-scene-alias-unoptimized.json | 265 + .../installed/F5-scene-optimized-public.json | 241 + .../installed/F5-scene-optimized.json | 270 + .../F5-scene-positional-optimized-public.json | 241 + .../F5-scene-positional-optimized.json | 270 + .../F5-scene-positional-unoptimized.json | 265 + .../installed/F5-scene-unoptimized.json | 265 + .../F5-shopvisit-optimized-public.json | 241 + .../installed/F5-shopvisit-optimized.json | 270 + .../installed/F5-shopvisit-unoptimized.json | 265 + ...runtime-trap-control-optimized-public.json | 94 + .../runtime-trap-control-optimized.json | 123 + .../runtime-trap-control-unoptimized.json | 118 + .../checkout/F1-condition-optimized.json | 301 + .../checkout/F1-condition-unoptimized.json | 301 + .../checkout/F1-direct-optimized.json | 301 + .../checkout/F1-direct-unoptimized.json | 301 + .../checkout/F1-local-optimized.json | 301 + .../checkout/F1-local-unoptimized.json | 301 + .../checkout/F1-service-local-optimized.json | 301 + .../F1-service-local-unoptimized.json | 301 + .../checkout/F1-service-this-optimized.json | 301 + .../checkout/F1-service-this-unoptimized.json | 301 + .../checkout/F1-two-calls-optimized.json | 301 + .../checkout/F1-two-calls-unoptimized.json | 301 + .../checkout/F2-arguments-optimized.json | 301 + .../checkout/F2-arguments-unoptimized.json | 301 + .../checkout/F2-expression-optimized.json | 301 + .../checkout/F2-expression-unoptimized.json | 301 + .../checkout/F2-locals-optimized.json | 301 + .../checkout/F2-locals-unoptimized.json | 301 + .../checkout/F2-struct-method-optimized.json | 301 + .../F2-struct-method-unoptimized.json | 301 + .../checkout/F3-function-optimized.json | 301 + .../checkout/F3-function-unoptimized.json | 301 + .../checkout/F3-global-local-optimized.json | 301 + .../checkout/F3-global-local-unoptimized.json | 301 + .../checkout/F3-global-optimized.json | 301 + .../checkout/F3-global-unoptimized.json | 301 + .../checkout/F3-service-local-optimized.json | 301 + .../F3-service-local-unoptimized.json | 301 + .../checkout/F3-service-optimized.json | 301 + .../checkout/F3-service-unoptimized.json | 301 + .../checkout/F3-single-file-optimized.json | 301 + .../checkout/F3-single-file-unoptimized.json | 301 + .../checkout/F4-distinct-optimized.json | 301 + .../checkout/F4-distinct-unoptimized.json | 301 + .../checkout/F4-public-aliases-optimized.json | 301 + .../F4-public-aliases-unoptimized.json | 301 + .../checkout/F4-rename-a-optimized.json | 301 + .../checkout/F4-rename-a-unoptimized.json | 301 + .../F4-same-dependency-optimized.json | 301 + .../F4-same-dependency-unoptimized.json | 301 + .../checkout/F4-same-direct-optimized.json | 301 + .../checkout/F4-same-direct-unoptimized.json | 301 + .../F4-same-no-dependency-optimized.json | 301 + .../F4-same-no-dependency-unoptimized.json | 301 + .../checkout/F5-scene-alias-optimized.json | 301 + .../checkout/F5-scene-alias-unoptimized.json | 301 + .../checkout/F5-scene-optimized.json | 301 + .../F5-scene-positional-optimized.json | 301 + .../F5-scene-positional-unoptimized.json | 301 + .../checkout/F5-scene-unoptimized.json | 301 + .../checkout/F5-shopvisit-optimized.json | 301 + .../checkout/F5-shopvisit-unoptimized.json | 301 + .../runtime-trap-control-optimized.json | 337 + .../runtime-trap-control-unoptimized.json | 337 + .../installed/F1-condition-optimized.json | 301 + .../installed/F1-condition-unoptimized.json | 301 + .../installed/F1-direct-optimized.json | 301 + .../installed/F1-direct-unoptimized.json | 301 + .../installed/F1-local-optimized.json | 301 + .../installed/F1-local-unoptimized.json | 301 + .../installed/F1-service-local-optimized.json | 301 + .../F1-service-local-unoptimized.json | 301 + .../installed/F1-service-this-optimized.json | 301 + .../F1-service-this-unoptimized.json | 301 + .../installed/F1-two-calls-optimized.json | 301 + .../installed/F1-two-calls-unoptimized.json | 301 + .../installed/F2-arguments-optimized.json | 301 + .../installed/F2-arguments-unoptimized.json | 301 + .../installed/F2-expression-optimized.json | 301 + .../installed/F2-expression-unoptimized.json | 301 + .../installed/F2-locals-optimized.json | 301 + .../installed/F2-locals-unoptimized.json | 301 + .../installed/F2-struct-method-optimized.json | 301 + .../F2-struct-method-unoptimized.json | 301 + .../installed/F3-function-optimized.json | 301 + .../installed/F3-function-unoptimized.json | 301 + .../installed/F3-global-local-optimized.json | 301 + .../F3-global-local-unoptimized.json | 301 + .../installed/F3-global-optimized.json | 301 + .../installed/F3-global-unoptimized.json | 301 + .../installed/F3-service-local-optimized.json | 301 + .../F3-service-local-unoptimized.json | 301 + .../installed/F3-service-optimized.json | 301 + .../installed/F3-service-unoptimized.json | 301 + .../installed/F3-single-file-optimized.json | 301 + .../installed/F3-single-file-unoptimized.json | 301 + .../installed/F4-distinct-optimized.json | 301 + .../installed/F4-distinct-unoptimized.json | 301 + .../F4-public-aliases-optimized.json | 301 + .../F4-public-aliases-unoptimized.json | 301 + .../installed/F4-rename-a-optimized.json | 301 + .../installed/F4-rename-a-unoptimized.json | 301 + .../F4-same-dependency-optimized.json | 301 + .../F4-same-dependency-unoptimized.json | 301 + .../installed/F4-same-direct-optimized.json | 301 + .../installed/F4-same-direct-unoptimized.json | 301 + .../F4-same-no-dependency-optimized.json | 301 + .../F4-same-no-dependency-unoptimized.json | 301 + .../installed/F5-scene-alias-optimized.json | 301 + .../installed/F5-scene-alias-unoptimized.json | 301 + .../installed/F5-scene-optimized.json | 301 + .../F5-scene-positional-optimized.json | 301 + .../F5-scene-positional-unoptimized.json | 301 + .../installed/F5-scene-unoptimized.json | 301 + .../installed/F5-shopvisit-optimized.json | 301 + .../installed/F5-shopvisit-unoptimized.json | 301 + .../runtime-trap-control-optimized.json | 337 + .../runtime-trap-control-unoptimized.json | 337 + .../evidence/final/provenance.json | 255 + .../evidence/final/summary.json | 2497 ++++ .../evidence/focused-cases.json | 87 + .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1620 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 1620 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 1642 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1846 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 1846 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 1868 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1332 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 1332 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 1354 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1984 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 1984 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 2006 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1620 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 1620 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 1642 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1846 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 1846 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 1868 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1332 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 1332 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 1354 bytes .../optimized-public/manifest.json | 11 + .../optimized-public/program.pbx | Bin 0 -> 1984 bytes .../optimized/manifest.json | 11 + .../optimized/program.pbx | Bin 0 -> 1984 bytes .../unoptimized/manifest.json | 11 + .../unoptimized/program.pbx | Bin 0 -> 2006 bytes .../evidence/focused/checksums.json | 110 + ...contextual-overloads-optimized-public.json | 172 + .../contextual-overloads-optimized.json | 201 + .../contextual-overloads-unoptimized.json | 196 + .../private-global-optimized-public.json | 197 + .../checkout/private-global-optimized.json | 196 + .../checkout/private-global-unoptimized.json | 196 + .../private-overload-optimized-public.json | 151 + .../checkout/private-overload-optimized.json | 150 + .../private-overload-unoptimized.json | 150 + .../private-service-optimized-public.json | 286 + .../checkout/private-service-optimized.json | 285 + .../checkout/private-service-unoptimized.json | 285 + ...eiver-argument-order-optimized-public.json | 183 + .../receiver-argument-order-optimized.json | 212 + .../receiver-argument-order-unoptimized.json | 207 + ...hared-global-storage-optimized-public.json | 164 + .../shared-global-storage-optimized.json | 193 + .../shared-global-storage-unoptimized.json | 188 + ...ed-service-singleton-optimized-public.json | 149 + .../shared-service-singleton-optimized.json | 178 + .../shared-service-singleton-unoptimized.json | 173 + ...contextual-overloads-optimized-public.json | 172 + .../contextual-overloads-optimized.json | 201 + .../contextual-overloads-unoptimized.json | 196 + .../private-global-optimized-public.json | 197 + .../installed/private-global-optimized.json | 196 + .../installed/private-global-unoptimized.json | 196 + .../private-overload-optimized-public.json | 151 + .../installed/private-overload-optimized.json | 150 + .../private-overload-unoptimized.json | 150 + .../private-service-optimized-public.json | 286 + .../installed/private-service-optimized.json | 285 + .../private-service-unoptimized.json | 285 + ...eiver-argument-order-optimized-public.json | 183 + .../receiver-argument-order-optimized.json | 212 + .../receiver-argument-order-unoptimized.json | 207 + ...hared-global-storage-optimized-public.json | 164 + .../shared-global-storage-optimized.json | 193 + .../shared-global-storage-unoptimized.json | 188 + ...ed-service-singleton-optimized-public.json | 149 + .../shared-service-singleton-optimized.json | 178 + .../shared-service-singleton-unoptimized.json | 173 + .../contextual-overloads-optimized.json | 301 + .../contextual-overloads-unoptimized.json | 301 + .../receiver-argument-order-optimized.json | 301 + .../receiver-argument-order-unoptimized.json | 301 + .../shared-global-storage-optimized.json | 301 + .../shared-global-storage-unoptimized.json | 301 + .../shared-service-singleton-optimized.json | 301 + .../shared-service-singleton-unoptimized.json | 301 + .../contextual-overloads-optimized.json | 301 + .../contextual-overloads-unoptimized.json | 301 + .../receiver-argument-order-optimized.json | 301 + .../receiver-argument-order-unoptimized.json | 301 + .../shared-global-storage-optimized.json | 301 + .../shared-global-storage-unoptimized.json | 301 + .../shared-service-singleton-optimized.json | 301 + .../shared-service-singleton-unoptimized.json | 301 + .../evidence/focused/provenance.json | 255 + .../evidence/focused/summary.json | 535 + .../evidence/frontend-before.log | 82 + .../evidence/gradle-final.log | 109 + .../evidence/matrix-final.log | 169 + .../evidence/matrix-focused.log | 43 + .../evidence/nominal/after.json | 29 + .../evidence/nominal/before.json | 29 + .../evidence/qualification.json | 149 + .../evidence/studio/frozen-corpus-after.json | 4152 ++++++ ...app.StudioApplicationConfigurationTest.xml | 20 + ...tudio.app.StudioPackerEventAdapterTest.xml | 7 + ...app.animation.AnimationIntegrationTest.xml | 125 + ....compiler.CompilerProjectKnowledgeTest.xml | 14 + ...ler.CompilerProjectLanguageCatalogTest.xml | 7 + ...dio.app.compiler.ProjectReferencesTest.xml | 12 + ...tudio.app.lsp.AutomationLspQueriesTest.xml | 135 + ...io.app.lsp.LanguageFailureContractTest.xml | 39 + ...TEST-p.studio.app.lsp.LspDiscoveryTest.xml | 10 + ...ST-p.studio.app.mcp.LocalMcpServerTest.xml | 16 + ....studio.app.mcp.McpConnectionGuideTest.xml | 7 + .../TEST-p.studio.app.mcp.McpContractTest.xml | 13 + ...TEST-p.studio.app.mcp.McpTaskToolsTest.xml | 37 + ...app.mcp.ProjectConnectionPublisherTest.xml | 11 + ...p.StructuredDiagnosticsIntegrationTest.xml | 95 + ...dio.app.mcp.StudioAgentPreparationTest.xml | 8 + ...tudio.app.mcp.stdio.StudioMcpStdioTest.xml | 11 + ...peration.ExecutorOperationExecutorTest.xml | 10 + ...pp.runtime.DesktopMemcardSelectionTest.xml | 7 + ...app.runtime.HeadlessProcessSessionTest.xml | 18 + ...io.app.compiler.InstalledKnowledgeTest.xml | 8 + ...ices.ExternalSourceDevelopmentHostTest.xml | 9 + ...io.lsp.services.LspServerLifecycleTest.xml | 7 + ...iler.CompilerLanguageServiceBridgeTest.xml | 304 + ...es.compiler.ExternalSourceRegistryTest.xml | 11 + ...rotocol.DiagnosticAnalysisProtocolTest.xml | 11 + ...ces.protocol.ExternalWriteBoundaryTest.xml | 7 + ...es.protocol.PrometeuLanguageServerTest.xml | 8 + ...otocol.PrometeuTextDocumentServiceTest.xml | 7 + ....protocol.PrometeuWorkspaceServiceTest.xml | 7 + ...mapping.Lsp4jProtocolMessageMapperTest.xml | 14 + ...o.compiler.PBSFrontendDocumentLinkTest.xml | 7 + ...mpiler.PBSFrontendModuleCompletionTest.xml | 7 + ...tudio.compiler.PBSFrontendProviderTest.xml | 7 + ...piler.pbs.GenericDiagnosticContextTest.xml | 7 + ...udio.compiler.pbs.PbsCallHierarchyTest.xml | 8 + ...ompiler.pbs.PbsDiagnosticsContractTest.xml | 12 + ....compiler.pbs.PbsDocumentFormatterTest.xml | 8 + ...bsDocumentationTextBlockNormalizerTest.xml | 11 + ...o.compiler.pbs.PbsFrontendCompilerTest.xml | 36 + ...bs.PbsGateUSdkInterfaceConformanceTest.xml | 20 + ...compiler.pbs.PbsGateUStdlibCompileTest.xml | 7 + ...o.compiler.pbs.PbsGenericContractsTest.xml | 21 + ...dio.compiler.pbs.PbsGenericStructsTest.xml | 24 + ...io.compiler.pbs.PbsGoldenArtifactsTest.xml | 7 + ...p.studio.compiler.pbs.PbsMapKeyvalTest.xml | 9 + ...bs.PbsSemanticPresentationContractTest.xml | 13 + ...mpiler.pbs.PbsSemanticTokenOverlayTest.xml | 8 + ....studio.compiler.pbs.PbsStackQueueTest.xml | 9 + ...io.compiler.pbs.PbsStructureRangesTest.xml | 9 + ...pbs.documentation.PbsDocumentationTest.xml | 11 + ...studio.compiler.pbs.lexer.PbsLexerTest.xml | 16 + ...er.pbs.linking.PbsModuleVisibilityTest.xml | 20 + ...lowering.PbsNominalOwnerRegressionTest.xml | 7 + ...ompiler.pbs.parser.PbsBarrelParserTest.xml | 9 + ....compiler.pbs.parser.PbsExprParserTest.xml | 14 + ...ler.pbs.parser.PbsParserStatementsTest.xml | 11 + ...udio.compiler.pbs.parser.PbsParserTest.xml | 26 + ...mantics.PbsEditorialSupportServiceTest.xml | 29 + ...ntics.PbsGenericContractsEditorialTest.xml | 8 + ...mantics.PbsGenericStructsEditorialTest.xml | 8 + ...antics.PbsGlobalSemanticsValidatorTest.xml | 8 + ...semantics.PbsIgnoredValueSemanticsTest.xml | 8 + ...antics.PbsInterfaceModuleSemanticsTest.xml | 16 + ...s.semantics.PbsListCursorEditorialTest.xml | 9 + ...bs.semantics.PbsMapKeyvalEditorialTest.xml | 7 + ...pbs.semantics.PbsQuickFixCollectorTest.xml | 10 + ...antics.PbsSemanticsApplyResolutionTest.xml | 7 + ...s.semantics.PbsSemanticsAssignmentTest.xml | 10 + ...er.pbs.semantics.PbsSemanticsConstTest.xml | 10 + ....semantics.PbsSemanticsControlFlowTest.xml | 11 + ...semantics.PbsSemanticsDeclarationsTest.xml | 26 + ....semantics.PbsSemanticsFallthroughTest.xml | 11 + ...mantics.PbsSemanticsOptionalResultTest.xml | 7 + ...antics.PbsSemanticsResultFlowRulesTest.xml | 10 + ...s.semantics.PbsStackQueueEditorialTest.xml | 7 + ...r.pbs.stdlib.InterfaceModuleLoaderTest.xml | 9 + ...r.services.PBSFrontendPhaseServiceTest.xml | 40 + ...ervices.PbsGuestLifecycleSemanticsTest.xml | 10 + ...es.PbsProductionLoweringRegressionTest.xml | 42 + ...o.compiler.backend.GoldenArtifactsTest.xml | 7 + ...r.backend.bytecode.BytecodeEmitterTest.xml | 14 + ...code.BytecodeFunctionLayoutBuilderTest.xml | 9 + ...tecode.BytecodeLinkPrecheckServiceTest.xml | 10 + ...er.backend.bytecode.BytecodeModuleTest.xml | 9 + ...ode.BytecodePreloadVerifierServiceTest.xml | 11 + ...piler.backend.irvm.IRVMAttributionTest.xml | 14 + ...piler.backend.irvm.IRVMInstructionTest.xml | 7 + ....backend.irvm.IRVMIntrinsicProfileTest.xml | 9 + ...d.irvm.IRVMIntrinsicRegistryParityTest.xml | 11 + ....compiler.backend.irvm.IRVMProgramTest.xml | 10 + ...ompiler.backend.irvm.IRVMValidatorTest.xml | 16 + ...er.backend.irvm.LowerToIRVMServiceTest.xml | 27 + ...rvm.OptimizeIRVMEquivalenceHarnessTest.xml | 10 + ...r.backend.irvm.OptimizeIRVMServiceTest.xml | 16 + ...ackend.irvm.RuntimeCatalogPipelineTest.xml | 14 + ...backend.registry.ArrayCopyPipelineTest.xml | 7 + ...d.registry.IdentityHashingPipelineTest.xml | 9 + ...er.backend.registry.LinkedRegistryTest.xml | 11 + ...nd.registry.PbxRegistryConformanceTest.xml | 24 + ...egistry.StoragePublicationPipelineTest.xml | 9 + ...ckend.registry.TypedCommonPipelineTest.xml | 7 + ...ntegration.BackendGateIIntegrationTest.xml | 30 + ...ion.MainProjectPipelineIntegrationTest.xml | 18 + ...er.integration.PbsFacadeDiagnosticTest.xml | 12 + ....RuntimeBackedCompatibilityAdapterTest.xml | 10 + ...egration.SyntheticFrontendPipelineTest.xml | 13 + ...ifecycle.LifecycleAssemblerServiceTest.xml | 17 + ...mpiler.specs.BackendClaimScopeSpecTest.xml | 8 + ...specs.BackendConformanceMatrixSpecTest.xml | 12 + ...iler.specs.ConsoleAbiAuthoritySpecTest.xml | 9 + ...ler.specs.FrontendProviderBoundaryTest.xml | 7 + ...er.specs.NoModuleKeyRegressionSpecTest.xml | 7 + ...iler.specs.ValidationOwnershipSpecTest.xml | 8 + ...rkspaces.AssetSurfaceContextLoaderTest.xml | 8 + ...paces.BuilderPipelinePublicSurfaceTest.xml | 10 + ...spaces.BuilderPipelineServiceOrderTest.xml | 9 + ....workspaces.CompilerFailurePayloadTest.xml | 13 + ...ges.AssembleLifecyclePipelineStageTest.xml | 9 + ...kspaces.stages.BackendSafetyGateSUTest.xml | 10 + ...s.stages.EmitBytecodePipelineStageTest.xml | 10 + ...tages.FrontendDiagnosticProjectionTest.xml | 7 + ...s.stages.LinkBytecodePipelineStageTest.xml | 8 + ...es.stages.LowerToIRVMPipelineStageTest.xml | 12 + ...s.stages.OptimizeIRVMPipelineStageTest.xml | 10 + ...er.workspaces.stages.SourceCrawlerTest.xml | 10 + ...stages.VerifyBytecodePipelineStageTest.xml | 9 + ...WriteBytecodeArtifactPipelineStageTest.xml | 13 + ...ler-attribution-and-structured-failures.md | 223 + .../evidence/CompilerDiagnosticProbe.java | 124 + .../evidence/SHA256SUMS | 16 + .../evidence/qualification.json | 381 + .../evidence/regression.log | 114 + .../evidence/results/observations.json | 401 + .../evidence/results/provenance.json | 944 ++ .../evidence/run.py | 92 + ...ode.BytecodePreloadVerifierServiceTest.xml | 11 + ...piler.backend.irvm.IRVMAttributionTest.xml | 14 + ...er.integration.PbsFacadeDiagnosticTest.xml | 12 + ...egration.SyntheticFrontendPipelineTest.xml | 13 + ...e.diagnostics.StructuredDiagnosticTest.xml | 11 + ....workspaces.CompilerFailurePayloadTest.xml | 13 + ...tages.FrontendDiagnosticProjectionTest.xml | 7 + ...es.stages.LowerToIRVMPipelineStageTest.xml | 12 + ...stages.VerifyBytecodePipelineStageTest.xml | 9 + ...WriteBytecodeArtifactPipelineStageTest.xml | 13 + ...ed-diagnostics-from-producers-to-studio.md | 102 + .../evidence/README.md | 37 + .../evidence/controlled-backend.json | 731 + .../evidence/diagnostic-desktop.png | Bin 0 -> 32880 bytes .../evidence/frozen-corpus.json | 6809 +++++++++ .../evidence/provenance.json | 143 + .../evidence/qualification.json | 2199 +++ .../evidence/qualified.log | 130 + .../pbs/12. Diagnostics Specification.md | 21 + .../13. Lowering IRBackend Specification.md | 10 + .../pbs/4. Static Semantics Specification.md | 10 + ... Bytecode and PBX Mapping Specification.md | 20 + ...ication and Safety Checks Specification.md | 132 +- ...Backend Spec-to-Test Conformance Matrix.md | 46 + .../10. DEV and Automation Specification.md | 16 + ...CP Tools and Project Knowledge Contract.md | 34 +- ...roject-Local Studio State Specification.md | 23 + ... and Adapter Architecture Specification.md | 22 + .../compiler/CompilerBuildGatewayAdapter.java | 39 +- .../studio/app/lsp/AutomationLspQueries.java | 152 +- .../p/studio/app/lsp/LspLifecycleAdapter.java | 34 +- .../java/p/studio/app/mcp/McpTaskTools.java | 1 + .../operation/ExecutorOperationExecutor.java | 7 +- .../main/resources/mcp/studio-tools-v1.json | 416 +- .../java/p/studio/app/DevDesktopTest.java | 41 + .../fixture/ControlledIrFrontend.java | 36 + .../compiler/fixture/ControlledIrPhase.java | 95 + .../app/lsp/AutomationLspQueriesTest.java | 9 + .../app/lsp/LanguageFailureContractTest.java | 162 + .../p/studio/app/lsp/LspDiscoveryTest.java | 63 + .../p/studio/app/mcp/McpTaskToolsTest.java | 55 + .../StructuredDiagnosticsIntegrationTest.java | 161 + .../src/test/resources/diagnostics/cases.json | 451 + .../compiler/pbs/PbsDiagnosticFacts.java | 26 + .../compiler/pbs/PbsFrontendCompiler.java | 9 +- .../compiler/pbs/PbsGenericDiagnostics.java | 3 +- .../linking/PbsModuleVisibilityValidator.java | 18 + .../lowering/PbsExecutableBodyLowerer.java | 97 +- .../PbsExecutableCallableRegistryFactory.java | 8 +- .../PbsExecutableCallsiteEmitter.java | 11 +- .../PbsExecutableLoweringContext.java | 5 + .../lowering/PbsExecutableLoweringModels.java | 1 + .../PbsExecutableLoweringService.java | 10 +- .../PbsExecutableMetadataIndexFactory.java | 10 +- .../pbs/lowering/PbsImportedGlobalSlots.java | 17 + .../pbs/lowering/PbsRuntimeTypes.java | 26 +- .../semantics/PbsFlowAssignmentAnalyzer.java | 14 +- .../PbsFlowCallableResolutionAnalyzer.java | 15 +- .../services/PBSFrontendPhaseService.java | 17 +- .../services/PbsGlobalReferenceLinker.java | 40 + .../PbsImportedSemanticContextService.java | 47 +- .../compiler/services/PbsModuleAssembly.java | 4 +- .../services/PbsModuleAssemblyService.java | 4 +- .../pbs/GenericDiagnosticContextTest.java | 25 + .../PbsNominalOwnerRegressionTest.java | 58 + .../PbsProductionLoweringRegressionTest.java | 76 + .../production-regressions/cases.json | 451 + .../production-regressions/focused-cases.json | 87 + .../backend/bytecode/BytecodeEmitter.java | 36 +- .../bytecode/BytecodeMarshalingException.java | 15 + .../BytecodePreloadVerifierService.java | 14 +- .../backend/irvm/IRVMValidationException.java | 43 +- .../compiler/backend/irvm/IRVMValidator.java | 41 +- .../backend/irvm/LowerToIRVMService.java | 22 +- .../backend/irvm/OptimizeIRVMService.java | 22 +- .../workspaces/BuilderPipelineService.java | 40 +- .../stages/EmitBytecodePipelineStage.java | 4 + .../stages/FrontendPhasePipelineStage.java | 29 +- .../stages/LowerToIRVMPipelineStage.java | 24 +- .../stages/OptimizeIRVMPipelineStage.java | 16 +- .../stages/VerifyBytecodePipelineStage.java | 4 + .../WriteBytecodeArtifactPipelineStage.java | 5 + .../BytecodePreloadVerifierServiceTest.java | 13 + .../backend/irvm/IRVMAttributionTest.java | 139 + .../integration/PbsFacadeDiagnosticTest.java | 65 + .../SyntheticFrontendPipelineTest.java | 25 + .../synth/SyntheticFrontendPhaseService.java | 17 +- .../synth/SyntheticFrontendProvider.java | 6 +- .../CompilerFailurePayloadTest.java | 90 + .../FrontendDiagnosticProjectionTest.java | 34 + .../stages/LowerToIRVMPipelineStageTest.java | 27 + .../VerifyBytecodePipelineStageTest.java | 20 + ...riteBytecodeArtifactPipelineStageTest.java | 14 + .../F1-direct/prometeu.json | 8 + .../F1-direct/src/main.pbs | 4 + .../F1-direct/src/mod.barrel | 1 + .../F1-local/prometeu.json | 8 + .../F1-local/src/main.pbs | 4 + .../F1-local/src/mod.barrel | 1 + .../F3-file-private/prometeu.json | 8 + .../F3-file-private/src/helpers.pbs | 1 + .../F3-file-private/src/main.pbs | 1 + .../F3-file-private/src/mod.barrel | 1 + .../compiler/exceptions/BuildException.java | 30 +- .../compiler/messages/BuildingIssue.java | 63 +- .../compiler/messages/BuildingIssueSink.java | 4 + .../studio/compiler/models/SourceHandle.java | 28 +- .../CompilerDiagnosticProjection.java | 107 + .../source/diagnostics/Diagnostic.java | 18 + .../source/diagnostics/DiagnosticContext.java | 64 + .../diagnostics/DiagnosticDescriptions.java | 48 + .../source/diagnostics/FailureKind.java | 16 + .../source/diagnostics/RelatedSpan.java | 9 + .../source/diagnostics/SourceAttribution.java | 65 + .../source/diagnostics/SourceReference.java | 24 + .../diagnostics/VerificationContext.java | 10 + .../ConsumedSourceProjectionTest.java | 47 + .../diagnostics/StructuredDiagnosticTest.java | 102 + .../p/studio/compiler/models/IRBackend.java | 2 +- .../models/IRBackendExecutableFunction.java | 10 +- .../utilities/json/DiagnosticPayloads.java | 85 + .../studio/utilities/json/ImmutableJson.java | 31 + .../messages/BaselineDocumentAnalysis.java | 5 +- .../lsp/messages/BaselineDocumentIssue.java | 8 +- .../CompilerLanguageServiceBridge.java | 61 +- .../ExternalSourceLanguageServer.java | 5 + .../protocol/PrometeuLanguageServer.java | 20 + .../protocol/PrometeuTextDocumentService.java | 58 +- .../mapping/Lsp4jProtocolMessageMapper.java | 1 + .../ExternalSourceDevelopmentHostTest.java | 37 +- .../CompilerLanguageServiceBridgeTest.java | 24 +- .../DiagnosticAnalysisProtocolTest.java | 49 + prometeu-studio-api/build.gradle.kts | 2 +- .../api/automation/AutomationFailure.java | 8 +- .../api/automation/AutomationOutcome.java | 7 +- .../api/automation/AutomationSnapshot.java | 7 +- .../api/diagnostic/StudioDiagnostic.java | 23 +- .../api/shipper/ShipperPreparationStatus.java | 3 +- .../api/shipper/ShipperPrepareResult.java | 28 +- .../api/diagnostic/DiagnosticPayloadTest.java | 41 + .../core/language/LanguageQueryExecution.java | 71 + .../core/language/LanguageQueryPort.java | 4 + .../core/language/TaskLanguageQueries.java | 64 +- .../session/DefaultAutomationSession.java | 30 +- .../studio/core/session/DefaultTaskTools.java | 15 +- .../core/shipper/CompilerBuildFailure.java | 19 + .../core/shipper/CompilerBuildGateway.java | 9 +- .../core/shipper/StudioShipperService.java | 143 +- .../language/TaskLanguageQueriesTest.java | 5 +- .../session/DefaultAutomationSessionTest.java | 9 + .../core/shipper/StructuredShipperTest.java | 82 + .../diagnostics/DiagnosticNavigation.java | 40 + .../diagnostics/DiagnosticResultsPane.java | 80 + .../workspaces/builder/ShipperWorkspace.java | 10 +- .../javafx/workspaces/dev/DevWorkspace.java | 5 +- .../dev/DevWorkspaceProjection.java | 4 +- .../diagnostics/DiagnosticNavigationTest.java | 22 + .../PbsProductionCorpusProbe.java | 138 + tools/pbs-production-corpus/README.md | 23 + tools/pbs-production-corpus/run.py | 223 + tools/vscode-extension/.gitignore | 1 + tools/vscode-extension/README.md | 44 +- tools/vscode-extension/out/discovery.js | 38 + tools/vscode-extension/out/extension.js | 146 +- tools/vscode-extension/out/externalSources.js | 2 +- tools/vscode-extension/package.json | 9 + tools/vscode-extension/src/discovery.ts | 25 + tools/vscode-extension/src/extension.ts | 141 +- tools/vscode-extension/src/externalSources.ts | 2 +- tools/vscode-extension/src/test/discovery.ts | 38 + .../src/test/externalSources.ts | 27 +- 1216 files changed, 168017 insertions(+), 354 deletions(-) create mode 100644 discussion/lessons/DSC-0103-studio-lsp-discovery/LSN-0103-discover-project-services-through-session-metadata.md create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/README.md create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/SHA256SUMS create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline-preserved-sha256.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/Agd113Probe.java create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/SHA256SUMS create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/cases.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/execute.py create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/inventory.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/investigate.py create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/provenance.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-initial-handshake.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/summary.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/summary.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/summarize.py create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/candidate-source-sha256.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/cases.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-local/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-local/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-local/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-local/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-local/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-local/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-arguments/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-arguments/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-arguments/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-arguments/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-arguments/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-arguments/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global-local/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global-local/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global-local/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global-local/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global-local/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global-local/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-local/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-local/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-local/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-local/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-local/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-local/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-arguments/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-arguments/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-arguments/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-arguments/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-arguments/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-arguments/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global-local/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global-local/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global-local/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global-local/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global-local/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global-local/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/checksums.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-condition-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-condition-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-this-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-this-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-two-calls-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-two-calls-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-arguments-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-arguments-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-expression-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-expression-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-locals-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-locals-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-struct-method-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-struct-method-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-function-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-function-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-single-file-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-single-file-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-distinct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-distinct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-public-aliases-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-public-aliases-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-rename-a-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-rename-a-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-no-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-no-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-alias-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-alias-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-positional-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-positional-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-shopvisit-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-shopvisit-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/runtime-trap-control-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/runtime-trap-control-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-condition-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-condition-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-this-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-this-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-two-calls-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-two-calls-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-arguments-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-arguments-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-expression-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-expression-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-locals-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-locals-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-struct-method-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-struct-method-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-function-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-function-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-local-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-local-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-single-file-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-single-file-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-distinct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-distinct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-public-aliases-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-public-aliases-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-rename-a-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-rename-a-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-direct-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-direct-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-no-dependency-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-no-dependency-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-alias-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-alias-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-positional-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-positional-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-shopvisit-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-shopvisit-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/runtime-trap-control-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/runtime-trap-control-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/provenance.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/summary.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused-cases.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/optimized-public/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/optimized-public/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/optimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/optimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/unoptimized/manifest.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/unoptimized/program.pbx create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/checksums.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-optimized-public.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/contextual-overloads-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/contextual-overloads-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/receiver-argument-order-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/receiver-argument-order-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-global-storage-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-global-storage-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-service-singleton-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-service-singleton-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/contextual-overloads-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/contextual-overloads-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/receiver-argument-order-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/receiver-argument-order-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-global-storage-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-global-storage-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-service-singleton-optimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-service-singleton-unoptimized.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/provenance.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/summary.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/frontend-before.log create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/gradle-final.log create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/matrix-final.log create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/matrix-focused.log create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/nominal/after.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/nominal/before.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/qualification.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/studio/frozen-corpus-after.json create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.StudioApplicationConfigurationTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.StudioPackerEventAdapterTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.animation.AnimationIntegrationTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.CompilerProjectKnowledgeTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.CompilerProjectLanguageCatalogTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.ProjectReferencesTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.AutomationLspQueriesTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.LanguageFailureContractTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.LspDiscoveryTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.LocalMcpServerTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpConnectionGuideTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpContractTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpTaskToolsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.ProjectConnectionPublisherTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.StructuredDiagnosticsIntegrationTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.StudioAgentPreparationTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.stdio.StudioMcpStdioTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.operation.ExecutorOperationExecutorTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.runtime.DesktopMemcardSelectionTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.runtime.HeadlessProcessSessionTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/installedKnowledge/TEST-p.studio.app.compiler.InstalledKnowledgeTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.ExternalSourceDevelopmentHostTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.LspServerLifecycleTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.compiler.CompilerLanguageServiceBridgeTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.compiler.ExternalSourceRegistryTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.DiagnosticAnalysisProtocolTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.ExternalWriteBoundaryTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuLanguageServerTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuTextDocumentServiceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuWorkspaceServiceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.mapping.Lsp4jProtocolMessageMapperTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendDocumentLinkTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendModuleCompletionTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendProviderTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.GenericDiagnosticContextTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsCallHierarchyTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDiagnosticsContractTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentFormatterTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentationTextBlockNormalizerTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsFrontendCompilerTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUSdkInterfaceConformanceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUStdlibCompileTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericContractsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericStructsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGoldenArtifactsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsMapKeyvalTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticPresentationContractTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticTokenOverlayTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsStackQueueTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsStructureRangesTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.documentation.PbsDocumentationTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.lexer.PbsLexerTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.linking.PbsModuleVisibilityTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.lowering.PbsNominalOwnerRegressionTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsBarrelParserTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsExprParserTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserStatementsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsEditorialSupportServiceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericContractsEditorialTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericStructsEditorialTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGlobalSemanticsValidatorTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsIgnoredValueSemanticsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsInterfaceModuleSemanticsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsListCursorEditorialTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsMapKeyvalEditorialTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsQuickFixCollectorTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsApplyResolutionTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsAssignmentTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsConstTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsControlFlowTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsDeclarationsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsFallthroughTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsOptionalResultTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsResultFlowRulesTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsStackQueueEditorialTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.stdlib.InterfaceModuleLoaderTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PBSFrontendPhaseServiceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PbsGuestLifecycleSemanticsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PbsProductionLoweringRegressionTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.GoldenArtifactsTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeEmitterTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeFunctionLayoutBuilderTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeLinkPrecheckServiceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeModuleTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMInstructionTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicProfileTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicRegistryParityTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMProgramTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMValidatorTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.LowerToIRVMServiceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMEquivalenceHarnessTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMServiceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.RuntimeCatalogPipelineTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.ArrayCopyPipelineTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.IdentityHashingPipelineTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.LinkedRegistryTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.PbxRegistryConformanceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.StoragePublicationPipelineTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.TypedCommonPipelineTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.BackendGateIIntegrationTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.MainProjectPipelineIntegrationTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.RuntimeBackedCompatibilityAdapterTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.lifecycle.LifecycleAssemblerServiceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.BackendClaimScopeSpecTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.BackendConformanceMatrixSpecTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.ConsoleAbiAuthoritySpecTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.FrontendProviderBoundaryTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.NoModuleKeyRegressionSpecTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.ValidationOwnershipSpecTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.AssetSurfaceContextLoaderTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelinePublicSurfaceTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelineServiceOrderTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.AssembleLifecyclePipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.BackendSafetyGateSUTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.EmitBytecodePipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LinkBytecodePipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.OptimizeIRVMPipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.SourceCrawlerTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/LSN-0104-faithful-compiler-attribution-and-structured-failures.md create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/CompilerDiagnosticProbe.java create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/SHA256SUMS create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/qualification.json create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/regression.log create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/results/observations.json create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/results/provenance.json create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/run.py create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.source.diagnostics.StructuredDiagnosticTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml create mode 100644 discussion/lessons/DSC-0113-studio-ai-first-build-language-results/LSN-0105-explained-diagnostics-from-producers-to-studio.md create mode 100644 discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/README.md create mode 100644 discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/controlled-backend.json create mode 100644 discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/diagnostic-desktop.png create mode 100644 discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/frozen-corpus.json create mode 100644 discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/provenance.json create mode 100644 discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/qualification.json create mode 100644 discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/qualified.log create mode 100644 prometeu-app/src/test/java/p/studio/app/compiler/fixture/ControlledIrFrontend.java create mode 100644 prometeu-app/src/test/java/p/studio/app/compiler/fixture/ControlledIrPhase.java create mode 100644 prometeu-app/src/test/java/p/studio/app/lsp/LanguageFailureContractTest.java create mode 100644 prometeu-app/src/test/java/p/studio/app/lsp/LspDiscoveryTest.java create mode 100644 prometeu-app/src/test/java/p/studio/app/mcp/StructuredDiagnosticsIntegrationTest.java create mode 100644 prometeu-app/src/test/resources/diagnostics/cases.json create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsDiagnosticFacts.java create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsImportedGlobalSlots.java create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsGlobalReferenceLinker.java create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/GenericDiagnosticContextTest.java create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/lowering/PbsNominalOwnerRegressionTest.java create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsProductionLoweringRegressionTest.java create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/focused-cases.json create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/IRVMAttributionTest.java create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/PbsFacadeDiagnosticTest.java create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/CompilerFailurePayloadTest.java create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/FrontendDiagnosticProjectionTest.java create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/prometeu.json create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/main.pbs create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/mod.barrel create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/prometeu.json create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/main.pbs create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/mod.barrel create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/prometeu.json create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/helpers.pbs create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/main.pbs create mode 100644 prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/mod.barrel create mode 100644 prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/CompilerDiagnosticProjection.java create mode 100644 prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java create mode 100644 prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticDescriptions.java create mode 100644 prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/FailureKind.java create mode 100644 prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java create mode 100644 prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceReference.java create mode 100644 prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/VerificationContext.java create mode 100644 prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/ConsumedSourceProjectionTest.java create mode 100644 prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/StructuredDiagnosticTest.java create mode 100644 prometeu-infra/src/main/java/p/studio/utilities/json/DiagnosticPayloads.java create mode 100644 prometeu-infra/src/main/java/p/studio/utilities/json/ImmutableJson.java create mode 100644 prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/protocol/DiagnosticAnalysisProtocolTest.java create mode 100644 prometeu-studio-api/src/test/java/p/studio/api/diagnostic/DiagnosticPayloadTest.java create mode 100644 prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryExecution.java create mode 100644 prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildFailure.java create mode 100644 prometeu-studio-core/src/test/java/p/studio/core/shipper/StructuredShipperTest.java create mode 100644 prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticNavigation.java create mode 100644 prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticResultsPane.java create mode 100644 prometeu-studio-ui-javafx/src/test/java/p/studio/ui/javafx/diagnostics/DiagnosticNavigationTest.java create mode 100644 tools/pbs-production-corpus/PbsProductionCorpusProbe.java create mode 100644 tools/pbs-production-corpus/README.md create mode 100644 tools/pbs-production-corpus/run.py create mode 100644 tools/vscode-extension/out/discovery.js create mode 100644 tools/vscode-extension/src/discovery.ts create mode 100644 tools/vscode-extension/src/test/discovery.ts diff --git a/discussion/lessons/DSC-0103-studio-lsp-discovery/LSN-0103-discover-project-services-through-session-metadata.md b/discussion/lessons/DSC-0103-studio-lsp-discovery/LSN-0103-discover-project-services-through-session-metadata.md new file mode 100644 index 00000000..52b94b66 --- /dev/null +++ b/discussion/lessons/DSC-0103-studio-lsp-discovery/LSN-0103-discover-project-services-through-session-metadata.md @@ -0,0 +1,56 @@ +# Discover project services through session metadata + +Owner: studio. Completed through AGD-0105, DEC-0087 and PLN-0165. + +## Original problem +The app correctly assigned a loopback LSP port to each open project, but VS Code +still assumed 7775. Every refusal produced another attempt and error popup after +two seconds. Manually copying a port worked only until the next Studio session. + +## Consolidated decision and implementation +An ephemeral service needs a discoverable identity as well as an address. Studio +now atomically publishes `.studio/lsp.json` when the project server starts. The +record contains schema version, canonical project root, process identity, session +identity and actual loopback endpoint. Publication failure rolls back server boot; +shutdown removes only metadata matching the owning session. This non-secret file +is separate from automation credentials and grants. + +The extension defaults to discovery for one local project root. It rejects malformed, +misbound and non-loopback metadata and ignores dead-process records. Discovery +file and workspace/configuration changes trigger serialized reconnection. Missing +metadata means waiting for Studio. Backoff progresses through 2, 4, 8, 16 and 30 +seconds, resets on success, and is cancelled during shutdown. Status is visible +without recurring connection-error dialogs. Explicit manual mode preserves other +LSP hosting arrangements; automatic mode never guesses a fixed port. + +For example, open `zelda-1` in Studio and the same folder in VS Code. Reopening +Studio may change the port; VS Code reads the new discovery record automatically. +Older running binaries must be rebuilt and restarted before they can publish it. + +## Pitfalls +- A live process ID alone is not a project binding: validate the canonical root and + keep the LSP server's initialize-time root validation authoritative. +- A new server session invalidates old SDK consumer identities. Reset those before + reconnecting; retain old virtual-document text, and navigate again for fresh URIs. + Short socket reconnects to the same session can retain consumer identity. +- languageclient 9 may invoke stop while failed initialization is still Starting. + The adapter waits for start settlement before stopping, avoiding an unhandled + rejection during a failed handshake. +- A successful socket test does not prove file watching and editor recovery. Use a + real isolated Extension Development Host to exercise publication and replacement. + +## Validation and limits +97 application tests passed, including four new real ephemeral-server discovery +lifecycle tests. Two Node tests cover malformed/missing/stale/misbound metadata, +canonical symlink roots, replacement and capped backoff. TypeScript compilation +passed. The isolated real VS Code gate passed starting without discovery, file +creation, server replacement on a new port, continued project queries, manual mode, +SDK navigation and ordinary project editing. This gate uses a development-classpath +LSP host, not a packaged Studio installation or the user's active Zelda editor. +No runtime files were changed and no commits were created. + +## References +- [Project-local state specification](../../../docs/specs/studio/8.%20Project-Local%20Studio%20State%20Specification.md) +- [Extension operation](../../../tools/vscode-extension/README.md) +- `LspLifecycleAdapter`, `LspDiscoveryTest`, `discovery.ts` and + `ExternalSourceDevelopmentHostTest` contain the executable contract. diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md new file mode 100644 index 00000000..47e821d2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md @@ -0,0 +1,96 @@ +--- +id: LSN-0106 +ticket: pbs-production-reproductions-and-fixes +title: PBS Production Binding and Lowering Corrections +created: 2026-11-10 +tags: [compiler, pbs, bugfix, testing] +--- + +## Scope and outcome + +**Domain owner:** `compiler/pbs`. **Discussion:** DSC-0111. This lesson consolidates accepted DEC-0088 and completed PLN-0166. It covers all eight reproduced failures, the complete unchanged 28-case corpus, and the compiler-to-guest qualification. The [umbrella](../../workflow/agendas/AGD-0106-compiler-production-reliability-and-source-diagnostics.md) continues to coordinate the integrated result. + +All eight valid programs now compile and execute with their original source files, names, imports and module boundaries. The other 18 valid programs retain their behavior. File-private access remains a source rejection, and the deliberate runtime trap still faults. No language, visibility, initialization, ABI, PBX or runtime capability was added. + +The implementation started after the completed compiler and Studio diagnostic deliveries ([LSN-0104](../DSC-0112-compiler-verifier-source-diagnostics/LSN-0104-faithful-compiler-attribution-and-structured-failures.md) and [LSN-0105](../DSC-0113-studio-ai-first-build-language-results/LSN-0105-explained-diagnostics-from-producers-to-studio.md)). On 2026-11-10, the user accepted their submitted evidence and released the dependency gate by directing: “vamos impl o plan 166 dado que agora podemos.” That release was recorded in PLN-0166 and AGD-0106 before product edits. + +## Why these programs failed + +The production investigation reduced Zelda feedback to five families and 28 cases. Eight valid programs failed in the PBS frontend before IRVM. Equivalent controls passed when authors introduced locals, combined files or renamed a private type. Those transformations isolated defects; they were never accepted as required authoring conventions. + +| Group | Corrected cases | Demonstrated cause and correction | +| --- | --- | --- | +| PBS-EXPRESSION-CONTEXT | F1-direct, F1-two-calls, F1-service-this | An enclosing bool expectation constrained an int-valued comparison operand. Infer operands outside that enclosing expectation, then lower each using its inferred or contextually required operand type. | +| PBS-MODULE-PEER-SURFACE | F3-function, F3-global, F3-service | Sibling semantic context omitted admitted ordinary executable bindings. Carry declaration/signature admission from module assembly and bind calls, storage and singleton accessors to their definitions. | +| PBS-NOMINAL-DEPENDENCY | F4-same-dependency, F4-same-direct | Name-only owner lookup and an unscoped synthetic receiver lost declaration identity when a dependency supplied a private homonym. Resolve owners and imported callables by canonical declaration origin and retain definition scope on receivers. | + +The original [inventory](evidence/baseline/inventory.json) retains 168 compilation observations and 76 guest executions of the then-compilable programs. The [initial integrated regression](evidence/frontend-before.log) reproduced exactly eight failures among the 28 unchanged cases before these corrections. + +## Scope expected types to their expression + +For `return receiver.value() != 0`, the return expects bool because the comparison produces bool. The operand call still returns int. Propagating the outer bool into callable selection caused a false rejection. + +Comparison inference now temporarily clears the enclosing expectation, derives the operand types, and restores the context. Each operand is emitted with its own inferred type, using the opposite operand's known type where contextual selection needs it. Other expression boundaries retain legitimate expected-return overload selection. + +Inference does not execute an operand. Emission still evaluates receivers and explicit arguments exactly once in the existing order. The original F2 controls and an additional order-sensitive control check effects; a focused bool/int overload control prevents an unconditional removal of expected-return matching from masquerading as a fix. + +## Carry visibility and executable identity together + +Module assembly now obtains sibling declaration spans from the same signature/name/category interning keys used by barrel validation. Both `mod` and `pub` admit same-module access. Omission remains file-private. Admitting one overload does not admit every overload with the same spelling. + +`PbsImportedSemanticContextService` supplies ordinary sibling functions, globals and service methods/accessors with references to their defining module and declaration. Caller-visible names remain distinct from the private dependencies needed to compile a definition's body. An implementation declaration is propagated only when its owner belongs to the current scope or the admitted sibling surface. Otherwise unrelated private implementations could arrive without their private contract types; bundled examples caught that regression during implementation. + +Global references must resolve to one storage location. Lowering uses PBS-private temporary slot references for imported globals. After module aggregation, `PbsGlobalReferenceLinker` resolves them by defining file and global name to the original global slot, before publishing common IRBackend. It preserves the function metadata and semantic facts. It neither clones storage/initialization nor changes the common GET_GLOBAL/SET_GLOBAL contract. Own declarations retain normal shadowing. + +Service method and singleton references similarly retain their original owner/accessor. The focused guest controls mutate a sibling global and observe that mutation through the defining function, and compare the sibling service with its defining accessor by reference identity. Successful compilation alone would not prove either property. + +## Validate nominal identity before choosing a fix + +The [pre-correction trace](evidence/nominal/before.json) compared distinct names, homonyms without a dependency, homonyms with a dependency, and the local rename. In the dependency case, the declared receiver remained `src/a/data.pbs`, but a flat lookup selected `src/b/data.pbs`. The synthetic receiver key changed from `pbs:struct:file3:0` to `pbs:struct:file6:0`. The other three controls retained the local owner. This confirmed the localized name-index hypothesis before the nominal correction. + +The corrected path uses existing `PbsContractTypes.declaration(TypeRef)` and lexical binding data for struct/service ownership. Synthetic receiver types retain their defining function's span. Imported callable surfaces carry the owner declaration span so exact callable matching can distinguish owners with otherwise identical method shapes. Aliases keep the original declaration identity. + +The [post-correction trace](evidence/nominal/after.json) shows the synthetic receiver and declared receiver sharing the local key. Its auxiliary raw flat-map observation still demonstrates the collision; the corrected owner lookup no longer uses that map as authority for a resolved nominal declaration. The regression separately asserts canonical owner equality. Numeric keys illustrate this single observation and are not stable IDs required across builds. + +## Qualification through production boundaries + +The [structured qualification](evidence/qualification.json) and [evidence guide](evidence/README.md) contain the commands, input hashes, reports and limits. + +| Gate | Result | +| --- | --- | +| Frozen input | 28 cases; SHA-256 `0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87`; all 181 baseline files retained unchanged. | +| Complete compilation matrix | 168 correctly classified observations: 28 cases × two compiler/SDK origins × three paths. | +| Source-negative control | F3-file-private rejected as a source error in all six configurations. | +| Complete guest matrix | 108 executions: 104 normal three-frame successes and four deliberate faults. Every worker terminated. | +| Additional behavioral/privacy matrix | Seven cases, 42 compilation observations and 16 successful guest executions, including three negative privacy cases. | +| Required Gradle suites | 724 tests recorded, 711 passed, 13 skipped, zero failures/errors. | +| Producer-to-consumer integration | Real project LSP and authenticated HTTP MCP: the eight corrected programs plus F1-local succeed; F3-file-private retains structured rejection, facts, revisions and canonical projection. | + +Compilation paths are optimized production stages, an investigation-only unoptimized stage sequence, and the public optimized facade. Each observation uses a fresh JVM and scratch project. The unoptimized variant omits `OptimizeIRVMPipelineStage` and passes original IRVM to emission; it is not a public compiler option. Guest runs cover both stage variants and both origins. + +Installed probes run outside the checkout with only the candidate distribution's product JARs/resources. The runner checks product classes against those JARs and records actual frontend/pipeline/SDK origins, Java version, JAR hashes and source/PBX/manifest hashes. Git HEAD alone would be insufficient because this candidate includes uncommitted work; worktree state and [source hashes](evidence/candidate-source-sha256.json) accompany the artifact provenance. + +The existing debug headless executable is identified by SHA-256 `a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6`. It reports runtime 0.1.0 and protocol 1.1. The harness negotiates only supported boot/advance/state/fault/shutdown capabilities, checks completed frames and faults, then waits for termination. No runtime source, game workspace or user memcard was written, and no commit was created. + +## Retain diagnostics while removing false rejection + +The earlier diagnostic delivery intentionally recorded all eight rejections. Its evidence remains historical and unchanged. Current regression expectations now reflect the corrected valid programs. `PbsFacadeDiagnosticTest` uses the unchanged F3-file-private program for an actual source-negative result. `StructuredDiagnosticsIntegrationTest` verifies positive build/analysis results and the negative control through existing public services. + +Diagnostic ownership, stable detector IDs, source attribution and failure classifications remain those of the preceding deliveries. Shipper remains internal. AI consumers continue using the specialized public automation/MCP services and the same result projected by the FE. A correctness fix does not require another public diagnostic schema or treating missing/failed analysis as an empty successful result. + +## Limits and recurring pitfalls + +- The historical `MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT` and `Unsupported PBS runtime type: Scene` failures remain not reproduced in their original failing forms. Passing F2/F5 controls does not establish a general correction of those reports. +- Installed compiler/SDK proof with this existing headless executable does not qualify an installed runtime distribution. The corpus matrix itself does not establish a live Studio/LSP/MCP session; the separate repository integration test supplies the stated consumer evidence. +- This execution did not repeat an interactive desktop session. The first delivery's JavaFX proof and its explicit pack/assets/configuration-revision limits remain in LSN-0105. +- Never fix a contextual-type bug by deleting all contextual resolution, a visibility bug by admitting all same-name overloads, or a nominal bug by requiring globally unique author names. +- Do not copy sibling globals or singleton initialization to make names visible. Preserve the defining storage/accessor and verify identity through observable behavior. +- Keep private dependency context separate from caller-visible names. Unconditionally injecting unrelated private implementation declarations can break otherwise valid modules. +- A loader failure, timeout or partial frame count is neither successful guest execution nor the required source rejection. Keep the deliberately faulting control and check cleanup on every path. +- Archive before/after evidence separately. The baseline's fixed-output research scripts are retained as historical artifacts; use the maintained runner with a new output directory for subsequent qualification. + +## Maintenance references + +Normative obligations are propagated to PBS [4 — Static Semantics](../../../docs/specs/compiler-languages/pbs/4.%20Static%20Semantics%20Specification.md), [12 — Diagnostics](../../../docs/specs/compiler-languages/pbs/12.%20Diagnostics%20Specification.md), and [13 — Lowering IRBackend](../../../docs/specs/compiler-languages/pbs/13.%20Lowering%20IRBackend%20Specification.md). Existing PBS [3 — Core Syntax](../../../docs/specs/compiler-languages/pbs/3.%20Core%20Syntax%20Specification.md), [5 — Resolution](../../../docs/specs/compiler-languages/pbs/5.%20Manifest%2C%20Stdlib%2C%20and%20SDK%20Resolution%20Specification.md), and [9 — Dynamic Semantics](../../../docs/specs/compiler-languages/pbs/9.%20Dynamic%20Semantics%20Specification.md) remain authoritative for the unchanged language contracts. + +Durable regressions live in [PbsProductionLoweringRegressionTest](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsProductionLoweringRegressionTest.java), [PbsNominalOwnerRegressionTest](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/lowering/PbsNominalOwnerRegressionTest.java), and the [unchanged corpus resource](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json). The maintained [runner guide](../../../tools/pbs-production-corpus/README.md) describes reproduction. DEC-0088 and PLN-0166 are completed control artifacts consolidated here; their workflow files are removed by CLI housekeeping. diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/README.md b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/README.md new file mode 100644 index 00000000..8f488c2a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/README.md @@ -0,0 +1,32 @@ +# PBS production correction evidence + +Owner: compiler/pbs; DSC-0111; accepted DEC-0088; completed PLN-0166; candidate observed on 2026-11-10. Start with [qualification.json](qualification.json). + +| Location | Meaning | +| --- | --- | +| baseline/ | All 181 original AGD-0113 evidence files, moved byte-for-byte before housekeeping. The inventory records 168 compile observations and 76 pre-fix guest executions. | +| baseline-preserved-sha256.json | Full file hashes captured before product changes and verified after archival. The baseline's original SHA256SUMS is also unchanged. | +| cases.json | Exact original 28-case input; matches the maintained frontend test resource and baseline hash. | +| frontend-before.log | The newly integrated regression initially reproduced eight failures among 28 cases. This expected pre-fix test failure is historical evidence. | +| nominal/before.json, nominal/after.json | Four-context trace captured immediately before the nominal correction and after it. The before trace follows the earlier F1/F3 work; it is not a claim that the entire frontend was untouched at that point. | +| final/summary.json | Complete post-fix 168-compilation/108-execution matrix; no failed expectations. | +| final/provenance.json | Candidate JAR hashes/class freshness, actual runtime hash, Java version, worktree/source/tooling provenance and scratch isolation. | +| final/compilation/, final/execution/ | Per-case/configuration structured diagnostics, phase results, source/artifact correlation, runtime protocol transcripts and process termination. | +| final/artifacts/ | Retained emitted PBX and minimal cartridge manifests. Original scratch paths remain in the factual reports; these copies preserve the same bytes. | +| final/checksums.json | Relative hashes of final matrix inputs/results/artifacts, verified after archival. | +| focused/, focused-cases.json | Supplemental overload/order/storage/singleton/privacy matrix: 42 compilations and 16 normal guest runs. | +| tests/, gradle-final.log | JUnit XML and successful log for all required Gradle tasks: 724 recorded, 711 passed, 13 skipped, zero failures/errors. | +| studio/frozen-corpus-after.json | Ten observations through authenticated HTTP MCP and real project LSP: nine valid programs and one source-negative control. Previous first-delivery reports remain in LSN-0105 unchanged. | +| candidate-source-sha256.json | Candidate product source/resource/build and maintained tooling hashes, complementing dirty-worktree and emitted JAR provenance. | + +The runtime executable is the existing debug `prometeu-headless`, SHA-256 `a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6`. The compiler/SDK candidate was built by the required Gradle gate. Each installed observation ran outside the checkout with only candidate product JARs/resources. Normal cases completed three frames without faults; all four trap-control runs faulted as intended. Every worker was terminated and waited for. + +The full corpus command was: + +```bash +python3 tools/pbs-production-corpus/run.py --corpus prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json --distribution prometeu-app/build/install/prometeu-app --runtime-headless /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless --output build/pbs-production-corpus/pln166-final-v2-20261110 +``` + +The focused run used `focused-cases.json` and `build/pbs-production-corpus/pln166-focused-v2-20261110`. Failed preflight attempts with earlier output directories never produced a qualifying matrix and are not counted. Use a fresh directory on rerun; never rerun the baseline's fixed-output research scripts. Those scripts retain their historical path assumptions as part of the unchanged baseline. + +The investigation-only unoptimized variant is not a public compiler flag. This compiler matrix does not qualify an installed runtime distribution or a live Studio session. The separate integration test supplies the stated MCP/LSP evidence. No new interactive desktop run was performed. Historical BAD_RET/Scene failures remain not reproduced, and LSN-0105's explicit revision-coverage limits remain applicable. No runtime/game/memcard writes or commits occurred. diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/SHA256SUMS b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/SHA256SUMS new file mode 100644 index 00000000..5a611553 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/SHA256SUMS @@ -0,0 +1,1034 @@ +343ad7f9d894cdd83762aad13e7ea645b14ecaa1bd3ba13bcc6e34d0f60ad2d4 README.md +b2db1d97dd675f0ba656ab05f431d694e652c6d63cf288b1bd636790063d17a0 baseline-preserved-sha256.json +af8f1f8621ef33ef341d6d13748dff003108fff30124c083b7cb5744eb56e309 baseline/Agd113Probe.java +70c8225e346d0b73adf8ed0c5c2b1c46264c55dc24dbf76e32268a58a48afa51 baseline/SHA256SUMS +0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87 baseline/cases.json +3cba903588aeba2b3615058d06102e9b2b0d84a4738f1d7e33f41e16428a930f baseline/execute.py +d56838a9083394197a447dc1ca3bf723bd071c1d4ff215b473d535f6799f7b8a baseline/inventory.json +fe281b67cd942290d1fdcf44da471f17303335fea59ce75449f64e415763787c baseline/investigate.py +8f4e7bb1f3813f7bd4b25309629f39b0a44c57fae6e9f492d80c6746a4740450 baseline/provenance.json +cedd3a4fee41e3fae8ca6cfafecb017f136eb0b2d97519426ccc5a71e3dc4f72 baseline/reports/checkout/F1-condition-optimized-public.json +ed41f4cce9d1ca153bdadcd9bff00824723f3108023b8007b77949028b29a281 baseline/reports/checkout/F1-condition-optimized.json +e2585e9bb47fa36a2591716a9d24e030b3e0df1045175c48321a3f9303d0ebde baseline/reports/checkout/F1-condition-unoptimized.json +b4284de76faf9cb0e6aa7b526832192c65a08becb2f00be573ac6963970aa8a7 baseline/reports/checkout/F1-direct-optimized-public.json +920a8be8ffff2277537bb7880fe5a8a0c8ee0713a7fe954855a713f1efbeff82 baseline/reports/checkout/F1-direct-optimized.json +2ea2c174d66d56de0c84d89c859723c7a08aae953c008988a059b81701eabce3 baseline/reports/checkout/F1-direct-unoptimized.json +505d6f8d6513cc6a6255cb04f47a0a4005e41076bfa7bef8b78828416dfd03da baseline/reports/checkout/F1-local-optimized-public.json +6aa1ba9458301d726618ffb8859b8ef4d7f93011830f1486e5b6cae507a73037 baseline/reports/checkout/F1-local-optimized.json +103e5d8427a9a1d79906c2918896a9ef7f7a048ab5668b4c8fc471bbf694f453 baseline/reports/checkout/F1-local-unoptimized.json +317fc4c92a6797d2b2277f7d67422a6288e2880d63b8e47ae58cbd9e94d534c6 baseline/reports/checkout/F1-service-local-optimized-public.json +96f9e435ae954959d3c28da5601fc39c4646b173de559543cec8890ce2e0a036 baseline/reports/checkout/F1-service-local-optimized.json +2b291762465fca0a006d35f50551e4d4cb2a156ff30f215e1adb101f28ebcc9f baseline/reports/checkout/F1-service-local-unoptimized.json +18f89a1ef43176e90c3b73fb84252d67e9ad7ea9232aff9235cd4d144b9fff1e baseline/reports/checkout/F1-service-this-optimized-public.json +ab773a10fa569b62545a1926396173d96d65f3868c1f7a129080c5ab0adf3ff0 baseline/reports/checkout/F1-service-this-optimized.json +aca7356a8d12038fc024d9e6490339f3c7101a347c8864fa2f43458effcee47c baseline/reports/checkout/F1-service-this-unoptimized.json +10ff6b00173e5eeaa41a614515fe61e4a9d23bb21a347c11c04d0102d434d4c5 baseline/reports/checkout/F1-two-calls-optimized-public.json +efa10923db0bdc3ef3e1542438aa70cb842352c8880da23224c5bb43cc711372 baseline/reports/checkout/F1-two-calls-optimized.json +e61747e1942c26fcd41399543f49aa81b1b55b27eac437bc402b50c52dff120f baseline/reports/checkout/F1-two-calls-unoptimized.json +7962da1e17131066356fbc427c4e3222800f92d64c2daea4ca290263fde7f33d baseline/reports/checkout/F2-arguments-optimized-public.json +176d8608dbee6b3e810a7877bc050335405c471c26a70e06f4a3d89542f680c5 baseline/reports/checkout/F2-arguments-optimized.json +68b4f5658b4eea648ef5e8111fadb00c610e44338c130926c7064dde233b5254 baseline/reports/checkout/F2-arguments-unoptimized.json +1f5b2023bf61036ab07baff0333af8448a584fa77d4bb1afcc78dd254c012a1b baseline/reports/checkout/F2-expression-optimized-public.json +0ad1dc045de85dd7342482097a8afa8cc152ed96ed63b5b5d70f0500b4394e5b baseline/reports/checkout/F2-expression-optimized.json +1c6f59574d057de7d735042734d06bf027b165da7bca8c4052bf831abc9d897b baseline/reports/checkout/F2-expression-unoptimized.json +b789ff627c28c5d7034101494c22c7e032f765453332408b7d5b9fe809952a9d baseline/reports/checkout/F2-locals-optimized-public.json +102214812939f713581fd3fef313ff013c3d8e5e0192e2a8464405cf6a29ce41 baseline/reports/checkout/F2-locals-optimized.json +49eb0331c8c01cda7646e536378a97eef67dff30b1c4921e3cd88a1daad92434 baseline/reports/checkout/F2-locals-unoptimized.json +c9227fb66a2951c3c3b97d30af3ab3bd4f4b521ca2b872523d366f70c9327985 baseline/reports/checkout/F2-struct-method-optimized-public.json +4b0695cdcaf2a9790e9e452a94cd944745b43bc36c2a9b285b3c7b248b72d9af baseline/reports/checkout/F2-struct-method-optimized.json +c620d4faed2fab468299f189b6d4d12a9d2bfb1aa51f4e240facedc68ab0b685 baseline/reports/checkout/F2-struct-method-unoptimized.json +2ac2b85b6c67b3745eac29218a856a7fe703a3f1dbcb49b458fbcd2f2bbc2033 baseline/reports/checkout/F3-file-private-optimized-public.json +bddba2d4ccb3d0b9102ef35a0513f997410838e210d9bab0b1311bea8111f37f baseline/reports/checkout/F3-file-private-optimized.json +ae667cb198e37d013161c1566f28e748dff64a3fe8d55cb7da359de4486dce23 baseline/reports/checkout/F3-file-private-unoptimized.json +b90f93a857d581805a01b0a70f4ab763e2f6d90167f94eb3a2f641f5bfeb85d2 baseline/reports/checkout/F3-function-optimized-public.json +435c178660785d98d03f9b4d65dcd7d81bc96696a98e61edc61b2f977bee9456 baseline/reports/checkout/F3-function-optimized.json +64e6de7b86c55abf407082a7229292ff50f6804ca28acfb3e6c7424fc143145e baseline/reports/checkout/F3-function-unoptimized.json +9d08f6da3526bb1d12d3bc9530880eb7524059a2d31a663f4ad1907e3c6558df baseline/reports/checkout/F3-global-local-optimized-public.json +057924e0ecf5b2fab67152b9d03d1056ac22c806749884eb1bd6754346dbb69d baseline/reports/checkout/F3-global-local-optimized.json +ca346d5e9ae745e09a2cd97971379391c9cb38ae2ddd779f97e80b3755d99f07 baseline/reports/checkout/F3-global-local-unoptimized.json +2173e30084cf5741e15d6ebf140467a3e26ed2834fcef778f573aabab356880f baseline/reports/checkout/F3-global-optimized-public.json +bf2d212af3ec56c175ef7fc8f9f0e0219ccde18ce0b9a71f660d8549c93e2dd6 baseline/reports/checkout/F3-global-optimized.json +400763686b2aa7c03a247cbc4e46766559d817c894d47388bdf847a5a4ab194c baseline/reports/checkout/F3-global-unoptimized.json +d9c7a893f61942965de31cb2436a8d71c952ac1903199d513a7a68c7afe4a118 baseline/reports/checkout/F3-service-local-optimized-public.json +da793046ada92a5f23fa87a592fa26274dbab9a1593798f5abe3c45efe76a313 baseline/reports/checkout/F3-service-local-optimized.json +397692fd20299301dd23e95688579778942282f14a3dacf76a8d791955039661 baseline/reports/checkout/F3-service-local-unoptimized.json +660b7998bdc363713271b14286a692e693c7f8275b8a670f5a6d441a5e08af55 baseline/reports/checkout/F3-service-optimized-public.json +b3d6ae4ffa5d624da1ce7a7bd6c9022e67abd8aca09ebd9c4735db517ea2b685 baseline/reports/checkout/F3-service-optimized.json +86fdff33d4a698301fbecc1f6fdaf3593a64ef4fb48943259fe2c51e674b9196 baseline/reports/checkout/F3-service-unoptimized.json +360e34ddd6ce5f968bff9e60e8fb43c10a9a74d3f17ada017af779fb848268d6 baseline/reports/checkout/F3-single-file-optimized-public.json +b7a5f4703b09eff8ad54104f5b234391a6e3b1a51382dae4af75fe39c0489cc4 baseline/reports/checkout/F3-single-file-optimized.json +0cd9d3ff8b23a3314eae48edbd61ffcfe3b2bfa52b0bfa74ec19ecbeabaf6e06 baseline/reports/checkout/F3-single-file-unoptimized.json +6f73bce5e1e9c5e43bab9ee39e9c42bcd938c9bd870abf368ad19bc0d90cf8a2 baseline/reports/checkout/F4-distinct-optimized-public.json +74d8d5ed8fca23d3b4e85c96adea5f1ccfe97718484618037bd98e352cfd5062 baseline/reports/checkout/F4-distinct-optimized.json +872be60d90d610269245afc70c41a002530228e0f191f43dd71f6cf3e9a2b408 baseline/reports/checkout/F4-distinct-unoptimized.json +bf25ff29b831dea99fe844914f785655ac07bd612be5aca536d0f91db7a4e1d4 baseline/reports/checkout/F4-public-aliases-optimized-public.json +eb1605676719e503440029891065456cb870fb506895f471ba19932104eb3b95 baseline/reports/checkout/F4-public-aliases-optimized.json +938af1d55ec13be6f2c6b9effdd48a6971cfb2abed6a5c363cc29dbacf709137 baseline/reports/checkout/F4-public-aliases-unoptimized.json +8bdd1b2e0fe3e7da4501a545da5e59bed01d7e5bcb635f64d237840c9a619c97 baseline/reports/checkout/F4-rename-a-optimized-public.json +a6fb35eb68c0c99d24179731cb3f89d4b54b95723f72a10d1f47ea8586e323a9 baseline/reports/checkout/F4-rename-a-optimized.json +352812f18295e3f10d3140b7fc82a041719be547df26b11196299e527074fa89 baseline/reports/checkout/F4-rename-a-unoptimized.json +5b96fa1d29243f15da7ba47c2a057e9c135b82886d301873ce26ce66e2227d20 baseline/reports/checkout/F4-same-dependency-optimized-public.json +662fade4441344915b11e4ff4dc6390068d46d925b15321bfb50399589260f39 baseline/reports/checkout/F4-same-dependency-optimized.json +b0b0347a6cc19bf53f84a21c82b566a6ab22ed79da554bc90dcb0a423c863281 baseline/reports/checkout/F4-same-dependency-unoptimized.json +57f8b30e08f5c54747e619d75fd3c5059688ed51389d8af5b4b28710fa6dde3b baseline/reports/checkout/F4-same-direct-optimized-public.json +e8dd28cb98e7f9f7bd6f8d3b1b8162d0089d85abcc9427d7c4230cf0757a7f41 baseline/reports/checkout/F4-same-direct-optimized.json +82ed66e07c912049538fecf740827886c6424aaa9efcd45b485d052a4aa6768d baseline/reports/checkout/F4-same-direct-unoptimized.json +b929fdce1bb2adc171cda77f3c5d00d10064038ff31bb9e67a4fa919291342c3 baseline/reports/checkout/F4-same-no-dependency-optimized-public.json +3b8a3efba8db5345b0a13615a08ad5a3ad474ee4a02fba5db4acc4cff48f162f baseline/reports/checkout/F4-same-no-dependency-optimized.json +23ef1ae540a19deb0aeca1b80d7511caaa5ab6fbdd08dc561c83f194cf342057 baseline/reports/checkout/F4-same-no-dependency-unoptimized.json +1cd29e27f06c6ae439ba3395894e0491dc3863c74978cfec346b4f51e0d8e3a6 baseline/reports/checkout/F5-scene-alias-optimized-public.json +3ff0ea60bac3dd66afd7cdd101cfd93552f3e2a782078cd629daaf7c7eb4a61a baseline/reports/checkout/F5-scene-alias-optimized.json +98363fb941edab045b444c2175eecfe3a28dd1f25a2cfbd2b2ec03338c67d32b baseline/reports/checkout/F5-scene-alias-unoptimized.json +14e5e25778a293e0702fc185fafea6b52e0904b81b74150dfb07d20dc966772a baseline/reports/checkout/F5-scene-optimized-public.json +b757da19f950882d7cf02ccb24d1c47d2abce6d6501303535894d743f0985c28 baseline/reports/checkout/F5-scene-optimized.json +d76779ea0cc78df721bca18385749fa88c93ea8113b1716e710163e42e74a90f baseline/reports/checkout/F5-scene-positional-optimized-public.json +e03557490642f2ecf373a4a0ce64cac047721eafc6c23efaa238149b5eaa8e12 baseline/reports/checkout/F5-scene-positional-optimized.json +8205daf41fd1fec91f7eb4a4fb3a32716ca7cb12c0d69ff69de52298dcf6de57 baseline/reports/checkout/F5-scene-positional-unoptimized.json +2fc680a289da1ee9f814471d2f075c92793c910b9f1b86c890defafcba48b0b6 baseline/reports/checkout/F5-scene-unoptimized.json +0eca1c05d959aaefcee4aea6cc442a20149741f83ca8f0523f7be1262af7c917 baseline/reports/checkout/F5-shopvisit-optimized-public.json +abeb3f2f53340d870fd249db1b1e0b7ceffa4ceb001a35d884db7d2c047febe3 baseline/reports/checkout/F5-shopvisit-optimized.json +f01bf3edb5298450bd5f6e67b84a9d7016a8dda6cd71e2780e45c4f00f5573af baseline/reports/checkout/F5-shopvisit-unoptimized.json +669d0a982cbeb933b115adeb9b3f71347e36ab6bc755705321d62113b9b2d728 baseline/reports/checkout/runtime-initial-handshake.json +0a43c7628c5c4aefdaf1065a7423da6a0193dc38155c0ed0d7669b5acf72a6fa baseline/reports/checkout/runtime-trap-control-optimized-public.json +2830b850d4f7b53feb533bb1e5de5f5fd634a7225df7c6a5d90bfd78419ce311 baseline/reports/checkout/runtime-trap-control-optimized.json +75f43f76eb1c1ed0a7db59abae547fcab8c0a902abb8d7c4910e2df01aff9d32 baseline/reports/checkout/runtime-trap-control-unoptimized.json +84c1ab043d2cd87a01e199852954462cb0c40c5eb95ecca7a32496156bed3061 baseline/reports/checkout/runtime.json +2cfd0a6d35c6a8b1a7a4e8535802bd9c780128a861d17572cb3ab7aedf805fa5 baseline/reports/checkout/summary.json +100808d1ea68e381465d3decfa6522f7441c70e98651e1080908a80f7537857e baseline/reports/installed/F1-condition-optimized-public.json +469f804f373dc836723cc1a3819ebe887d949f68662df02712fca59432d64281 baseline/reports/installed/F1-condition-optimized.json +76b545a80eb73145679f92519b208851a77a52dc393d677f95feeada6bbc098f baseline/reports/installed/F1-condition-unoptimized.json +940ea6f79bcd75fdc8bee32b136bc8a35a49f9ec96478d6740f3b094e74b4e73 baseline/reports/installed/F1-direct-optimized-public.json +886cdff925114dfae3c5bb7e8dd390eb966d866b776fdbc7f358b1842bf37c48 baseline/reports/installed/F1-direct-optimized.json +e1c1e3300d337886bf19e8d898fe99c041b080d23553b976ff0376e851c8463b baseline/reports/installed/F1-direct-unoptimized.json +c2513667963a8a67070b1cc10ba08efe68ef8af719ae664e6e4b6554ce0e01ac baseline/reports/installed/F1-local-optimized-public.json +f85554cde597855a4aa9851fb58e6663a5860737607f21cc660db6d7e6689143 baseline/reports/installed/F1-local-optimized.json +a394ce2946175e8defb4dfea63a4317e2e7a938cf5056eabc742e56229c045e3 baseline/reports/installed/F1-local-unoptimized.json +f87301a43d1da6189a05e1615292f7bb3f736c09260db952c7bdfac68731fdd6 baseline/reports/installed/F1-service-local-optimized-public.json +327480aa7a9f38cfea84b2f203f0c73b7db65dad618e8771758e87f51f96e70d baseline/reports/installed/F1-service-local-optimized.json +b40707baea181926efac541755a6606d5d714116cd10e713a6d8f7f78f1438b7 baseline/reports/installed/F1-service-local-unoptimized.json +aed97548ad25fe49cf3fd8325262c5aecc3e61922523f4b11304f80f05c9dfaf baseline/reports/installed/F1-service-this-optimized-public.json +63704de93235b32d9b1d8c0ce7d9d23f0cd55f1139155faabaf01d61feed15fa baseline/reports/installed/F1-service-this-optimized.json +535682fbb82e6d63a77935d525d5742369d311a0179a2028082b78521503f599 baseline/reports/installed/F1-service-this-unoptimized.json +3c13ff6c444abb13ec91dbc2d3cb9f672815f6194cda32a15f655aa9941ed907 baseline/reports/installed/F1-two-calls-optimized-public.json +22a09e04b5cb8d6282e6a05ef2ca4eaa105afcbb33a4a085aeb83681e95f40e0 baseline/reports/installed/F1-two-calls-optimized.json +ab0219ef9e1ee1f7ffaa7b412fbc1f9c012b15627178ecf5befe0efda6affbb8 baseline/reports/installed/F1-two-calls-unoptimized.json +feb21410cb1ec1a06622e92637f0362d6364175745904ab651234a2b41f87040 baseline/reports/installed/F2-arguments-optimized-public.json +a84cfdbd07d153fa4c2bd5215e6c73e7b3f23cf9368ee595307f5e27d390df91 baseline/reports/installed/F2-arguments-optimized.json +a3efe914c7d380a1048bbee6c27ef54f29e52df0db81e271c720198ac1212680 baseline/reports/installed/F2-arguments-unoptimized.json +9af9025a55eea1abe6a15c0c5e48ee6cf7046b3179d909efe48ae1d7b99a4c26 baseline/reports/installed/F2-expression-optimized-public.json +68c9e518d9618758e0f4ac56fb9b90e6cb980f202c7ef59491b2403c0b35c1bf baseline/reports/installed/F2-expression-optimized.json +c7be8a43b1a751f89f363259dc55496c47229984b85e6324dffc1e4dd3d87601 baseline/reports/installed/F2-expression-unoptimized.json +78c8f1e93daaef9eca253da562491c97c8313c351e5471495246d5325d46079d baseline/reports/installed/F2-locals-optimized-public.json +59f81ac09ed1dfce7c010b07ed7266a6269eaef3258c61c30f8ed5ad71328b77 baseline/reports/installed/F2-locals-optimized.json +35d6057c2d06fb579ac7cfda017cee3ad4d195541970ba6e083d1498fbdf2670 baseline/reports/installed/F2-locals-unoptimized.json +3795228c5d28454e6003edb046d495e3834065f5f2b8205a4aae3691850db101 baseline/reports/installed/F2-struct-method-optimized-public.json +6478d644c1ef0411d46e868048559c91af1b2991dee293bfa5d17f5df1817c55 baseline/reports/installed/F2-struct-method-optimized.json +f7c5f05ea2f7039f1a7a4b58e78f22873ccd995bf5368e8181c0278c6e2632fc baseline/reports/installed/F2-struct-method-unoptimized.json +6832d99b8ea7e979a1c368fe022ac29595c68546697fbfa76499f4a74371027e baseline/reports/installed/F3-file-private-optimized-public.json +56f11754501835fbebe8eaa07d77fff75d5fc44da469788b851b3e5428c410fa baseline/reports/installed/F3-file-private-optimized.json +aee05b230a89fa80bd63fe994cb8be3159d77e22213b39344072595943dcec27 baseline/reports/installed/F3-file-private-unoptimized.json +fa8602e15f6c39b76b178960aa7a5f9a18c8c1d287170f83361e4805478e9134 baseline/reports/installed/F3-function-optimized-public.json +83115007570081c0c608b9f3896fd4bb6a2b8ec4abc950fddf6207dcf9a19dab baseline/reports/installed/F3-function-optimized.json +b909651d53273a5b1679dadbd7eb907c57c63a9d5ec066b1d086ee145fef97e5 baseline/reports/installed/F3-function-unoptimized.json +2bf6e162cc5c124f7226137e26287b867c6856cc4080528904540e773f74a45b baseline/reports/installed/F3-global-local-optimized-public.json +7aef5c854de418b7a74bfe2a64a99f0769c82862ceb31c8402b43121ba9103dd baseline/reports/installed/F3-global-local-optimized.json +39d075d8acd637052c039aaf443710607b897060ecd4dcf4de0606c6525e19b3 baseline/reports/installed/F3-global-local-unoptimized.json +6c54ebaa699b648af9e13042010dc8fcaf03b07f85981a71a5e55f9c203b0dd5 baseline/reports/installed/F3-global-optimized-public.json +dabbd7673f094d416cde03d949a8a671013200b6126b1202cae7827e61ed4f85 baseline/reports/installed/F3-global-optimized.json +fdae63aa0bac5994cbacc15aa5499acd42c19d0fdb77292bfe73ce2cc3937d38 baseline/reports/installed/F3-global-unoptimized.json +5ea34cb5f32828c94cb22592cf29c8f018dc60c1a899e14b7995d8d5b50e3347 baseline/reports/installed/F3-service-local-optimized-public.json +073f9da774e8f1fae31ca8502660f0952a0c8c69953915e751315ab124264f52 baseline/reports/installed/F3-service-local-optimized.json +b502718a9c5fd1617c29858ac790a3eb60c1150ac0aabcf4a4bc9fa7a8e4cf89 baseline/reports/installed/F3-service-local-unoptimized.json +b51efdaa8fe8dd1466da235765579c436507f44d880d5e375a4d94a6e57bb32d baseline/reports/installed/F3-service-optimized-public.json +6f354bfa25b6a4b8087dda58162ef9ed4b94a24b116398bf011a4e52374e2aa7 baseline/reports/installed/F3-service-optimized.json +5ea12eaabe8e7fa52589981d7af270f4cbe94e8891c2e4c5a84fe8a59b88cf39 baseline/reports/installed/F3-service-unoptimized.json +060c004531a9e0d17350e76758c7ceebeab3d1d45e27e4fd71ee2edb297a685d baseline/reports/installed/F3-single-file-optimized-public.json +d1f4e1ba3eb4add3967bf3f8f3cd4d85ebb36f3207fe35db3dfc53ee815292b6 baseline/reports/installed/F3-single-file-optimized.json +ac02aeb7dc426c9f271c314cfb8b67dd5bb7053ddd5aebebef7cab7eb253060e baseline/reports/installed/F3-single-file-unoptimized.json +74b134569c412f3d883879d2c9fc46c36290d25bea74b275f379e42ad73cd22f baseline/reports/installed/F4-distinct-optimized-public.json +39fbba16eb57fa255314703d30cd50468ba0485161024b2620e5758e4cd6b82e baseline/reports/installed/F4-distinct-optimized.json +e087bdeee22535e90d9fac072d24fd14ef32c1850d32ee25f66f2894cefd32e3 baseline/reports/installed/F4-distinct-unoptimized.json +b0354d3f005a4411f7dfe216628dfd3aa6d9a3098a0d73e0acb9c67737b18cc7 baseline/reports/installed/F4-public-aliases-optimized-public.json +c146756e6bc640d0c303a30a44b2e3227a56a92a28458341f5d3b3ee830c289a baseline/reports/installed/F4-public-aliases-optimized.json +557f86fe0522db15bd23f60de6a3852a5a2350e880a6e3152b36f30153f26877 baseline/reports/installed/F4-public-aliases-unoptimized.json +2d5a8a4856f0317e6e30f9a25d0215687446323c5b7ed1c06cd9c19843c593d1 baseline/reports/installed/F4-rename-a-optimized-public.json +6049003c167951da2b09b292a511c049f38fbf7e0cee70dae54fe3ba429501ae baseline/reports/installed/F4-rename-a-optimized.json +097162402ca387a7a328f951f5beafd5679c3ae22ac56b5e67ee239d375a9171 baseline/reports/installed/F4-rename-a-unoptimized.json +56c08b4740fec55da814113af821a016203e81f04523e512ac0ac5b2eb7cbc2d baseline/reports/installed/F4-same-dependency-optimized-public.json +b23771bdeb63b8b57f3d61bae5cc490c6b21db026bd080c7271f5827702c5a28 baseline/reports/installed/F4-same-dependency-optimized.json +5ea243ea90d0a645b2a77b372a9c175e25a5ff88e9a607d9b73304d7fcf7699e baseline/reports/installed/F4-same-dependency-unoptimized.json +151906886bd63c0ea527e9e5ade1de04f61d664482928b6cbd6c2382f94bcdc4 baseline/reports/installed/F4-same-direct-optimized-public.json +63cfe8f2117c0d7d4e4862c1757d60bf575483f95b9f4d26117257a77dbb194c baseline/reports/installed/F4-same-direct-optimized.json +d4f77e9e881cfe05c7d97a0aa4d7bfbf9dbb81c037481803f9048ec9c7ecf20f baseline/reports/installed/F4-same-direct-unoptimized.json +9fdaf41b8a8c493a5660e1b4fbf6c480cbf6af9f324017ec855fc23cb0b1b69e baseline/reports/installed/F4-same-no-dependency-optimized-public.json +424d84c46f387d174f375412aa2e5aeff80e1cbb94ce754734588ca080fffa4f baseline/reports/installed/F4-same-no-dependency-optimized.json +16b73210ab56edcc9f8085cfcd3178f2f75dab82f3e7454a2eb47e477e069d71 baseline/reports/installed/F4-same-no-dependency-unoptimized.json +7b1885628b3493403170b54342abc388a50442d7fa120a18a04aa22dc60ef31b baseline/reports/installed/F5-scene-alias-optimized-public.json +9fde0cbe08ac1a7289bce315e641d9538f6a551894d434cc265f30dbd4b86cb9 baseline/reports/installed/F5-scene-alias-optimized.json +bc5daab68bb2277bd27e2033701bc2af3152121bd0a98d94140ccaf79c253054 baseline/reports/installed/F5-scene-alias-unoptimized.json +90e54e732893942b9bcf8d89fbc489b0e26aeeb1b7b533b5d68993714c0aa72e baseline/reports/installed/F5-scene-optimized-public.json +799850e92bcb8131ece497ad6ae3483f24393f763c7cc45602865e444343d4b5 baseline/reports/installed/F5-scene-optimized.json +83d97898eda3a9c4229dbd2b03f63da0a8995c0cb5549cc079097a3f1db391cf baseline/reports/installed/F5-scene-positional-optimized-public.json +563908675229d594cb84868f13991386347f49a10186712e3615d9a528870acb baseline/reports/installed/F5-scene-positional-optimized.json +5a43c1f448791d82d0915cad5f276d7c43c8ca862535bd9984c8a07ec4c94975 baseline/reports/installed/F5-scene-positional-unoptimized.json +efd5a110e9e045e4dacaa8460b1ef0836ac28f93beccdabdbdd46187c487cf06 baseline/reports/installed/F5-scene-unoptimized.json +017ff972876aaac0ffa88ae7278a4807ce78718e301daf7db6fb2cf615d71833 baseline/reports/installed/F5-shopvisit-optimized-public.json +e2a6b92a411fcc7bd773f722ed01e19dc05fdf79ace2ed9817b44900690ec25b baseline/reports/installed/F5-shopvisit-optimized.json +5ada64b78c6bbd2edf6e8fdb3bdd3f2636e65f83433be1a416f29fc321ced246 baseline/reports/installed/F5-shopvisit-unoptimized.json +85f48d8419ed67df2012374bde725b1384770c4af09e359565ffae64b4d39d42 baseline/reports/installed/runtime-trap-control-optimized-public.json +adf1ed574b9b6efc24e96f30345481306b11cde436ef8089e61e92917c0197a6 baseline/reports/installed/runtime-trap-control-optimized.json +4717b4e67e8833c1ff97a5f8b2f889ec2a5257ac4da2ab3e9f911f7347e301ab baseline/reports/installed/runtime-trap-control-unoptimized.json +f4fa2254c59287e612ad15def09923d1b06bb99ebaf9ed963c772e3c6bef6ac0 baseline/reports/installed/runtime.json +ccda50babb0435b71a8be61cfb917a61d2fcfb40b9175726934061b7ca345a83 baseline/reports/installed/summary.json +f58d64158242408961f707fed7c3d2b7b1715e3b9e74e5344f1bcb2bedab5508 baseline/summarize.py +e1bb20c887f70f3b67954094aeec6ff8da866111f94919b38ae84337409ddbba candidate-source-sha256.json +0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87 cases.json +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-condition/optimized-public/manifest.json +209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe final/artifacts/checkout/F1-condition/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-condition/optimized/manifest.json +209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe final/artifacts/checkout/F1-condition/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-condition/unoptimized/manifest.json +0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2 final/artifacts/checkout/F1-condition/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-direct/optimized-public/manifest.json +a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960 final/artifacts/checkout/F1-direct/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-direct/optimized/manifest.json +a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960 final/artifacts/checkout/F1-direct/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-direct/unoptimized/manifest.json +d709189473a3cc1c9ff1bb4a0887bd51bafddabf129a02d876a02e37056ff566 final/artifacts/checkout/F1-direct/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-local/optimized-public/manifest.json +8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b final/artifacts/checkout/F1-local/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-local/optimized/manifest.json +8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b final/artifacts/checkout/F1-local/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-local/unoptimized/manifest.json +bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148 final/artifacts/checkout/F1-local/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-service-local/optimized-public/manifest.json +87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1 final/artifacts/checkout/F1-service-local/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-service-local/optimized/manifest.json +87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1 final/artifacts/checkout/F1-service-local/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-service-local/unoptimized/manifest.json +27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb final/artifacts/checkout/F1-service-local/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-service-this/optimized-public/manifest.json +43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063 final/artifacts/checkout/F1-service-this/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-service-this/optimized/manifest.json +43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063 final/artifacts/checkout/F1-service-this/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-service-this/unoptimized/manifest.json +8341bab19d4943a8d414b3c2ef7ba4552bd05c7a93c9b0d8af555ee3bfbf9b39 final/artifacts/checkout/F1-service-this/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-two-calls/optimized-public/manifest.json +228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5 final/artifacts/checkout/F1-two-calls/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-two-calls/optimized/manifest.json +228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5 final/artifacts/checkout/F1-two-calls/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F1-two-calls/unoptimized/manifest.json +f910c0f6e31276cd7d4bff2cde54900820bc354e61759eb518e79b5ffccd3ec9 final/artifacts/checkout/F1-two-calls/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-arguments/optimized-public/manifest.json +192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12 final/artifacts/checkout/F2-arguments/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-arguments/optimized/manifest.json +192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12 final/artifacts/checkout/F2-arguments/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-arguments/unoptimized/manifest.json +043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0 final/artifacts/checkout/F2-arguments/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-expression/optimized-public/manifest.json +41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940 final/artifacts/checkout/F2-expression/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-expression/optimized/manifest.json +41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940 final/artifacts/checkout/F2-expression/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-expression/unoptimized/manifest.json +1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231 final/artifacts/checkout/F2-expression/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-locals/optimized-public/manifest.json +3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b final/artifacts/checkout/F2-locals/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-locals/optimized/manifest.json +3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b final/artifacts/checkout/F2-locals/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-locals/unoptimized/manifest.json +2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4 final/artifacts/checkout/F2-locals/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-struct-method/optimized-public/manifest.json +7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7 final/artifacts/checkout/F2-struct-method/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-struct-method/optimized/manifest.json +7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7 final/artifacts/checkout/F2-struct-method/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F2-struct-method/unoptimized/manifest.json +a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4 final/artifacts/checkout/F2-struct-method/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-function/optimized-public/manifest.json +fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b final/artifacts/checkout/F3-function/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-function/optimized/manifest.json +fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b final/artifacts/checkout/F3-function/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-function/unoptimized/manifest.json +c098719dae70b95ba847e7813e5fa7c005f99337946d6e06f5e5fc4381051f79 final/artifacts/checkout/F3-function/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-global-local/optimized-public/manifest.json +7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c final/artifacts/checkout/F3-global-local/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-global-local/optimized/manifest.json +7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c final/artifacts/checkout/F3-global-local/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-global-local/unoptimized/manifest.json +aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209 final/artifacts/checkout/F3-global-local/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-global/optimized-public/manifest.json +e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46 final/artifacts/checkout/F3-global/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-global/optimized/manifest.json +e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46 final/artifacts/checkout/F3-global/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-global/unoptimized/manifest.json +8ffa05f45c4a33784ca0bb524d4a6b7dfb527781c8ebb40b5d08df4fa7a6a22c final/artifacts/checkout/F3-global/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-service-local/optimized-public/manifest.json +e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6 final/artifacts/checkout/F3-service-local/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-service-local/optimized/manifest.json +e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6 final/artifacts/checkout/F3-service-local/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-service-local/unoptimized/manifest.json +c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a final/artifacts/checkout/F3-service-local/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-service/optimized-public/manifest.json +9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b final/artifacts/checkout/F3-service/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-service/optimized/manifest.json +9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b final/artifacts/checkout/F3-service/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-service/unoptimized/manifest.json +c568447b582b4839b65e1e7368f0d07b61bfaa038ba28d984434c8db6df7c64f final/artifacts/checkout/F3-service/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-single-file/optimized-public/manifest.json +c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524 final/artifacts/checkout/F3-single-file/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-single-file/optimized/manifest.json +c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524 final/artifacts/checkout/F3-single-file/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F3-single-file/unoptimized/manifest.json +f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b final/artifacts/checkout/F3-single-file/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-distinct/optimized-public/manifest.json +7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f final/artifacts/checkout/F4-distinct/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-distinct/optimized/manifest.json +7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f final/artifacts/checkout/F4-distinct/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-distinct/unoptimized/manifest.json +c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573 final/artifacts/checkout/F4-distinct/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-public-aliases/optimized-public/manifest.json +adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705 final/artifacts/checkout/F4-public-aliases/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-public-aliases/optimized/manifest.json +adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705 final/artifacts/checkout/F4-public-aliases/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-public-aliases/unoptimized/manifest.json +e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b final/artifacts/checkout/F4-public-aliases/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-rename-a/optimized-public/manifest.json +9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624 final/artifacts/checkout/F4-rename-a/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-rename-a/optimized/manifest.json +9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624 final/artifacts/checkout/F4-rename-a/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-rename-a/unoptimized/manifest.json +083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab final/artifacts/checkout/F4-rename-a/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-same-dependency/optimized-public/manifest.json +ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d final/artifacts/checkout/F4-same-dependency/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-same-dependency/optimized/manifest.json +ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d final/artifacts/checkout/F4-same-dependency/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-same-dependency/unoptimized/manifest.json +af13fe4f09ef762fb916c055924c250f045d895f739a5b55f40ee0c30a3dc379 final/artifacts/checkout/F4-same-dependency/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-same-direct/optimized-public/manifest.json +1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e final/artifacts/checkout/F4-same-direct/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-same-direct/optimized/manifest.json +1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e final/artifacts/checkout/F4-same-direct/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-same-direct/unoptimized/manifest.json +a39fb9b13b1fb0e4ff5222ca00b1cb27fb35dd464af1e76170d6241bc2fb8a0f final/artifacts/checkout/F4-same-direct/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-same-no-dependency/optimized-public/manifest.json +bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde final/artifacts/checkout/F4-same-no-dependency/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-same-no-dependency/optimized/manifest.json +bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde final/artifacts/checkout/F4-same-no-dependency/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F4-same-no-dependency/unoptimized/manifest.json +5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f final/artifacts/checkout/F4-same-no-dependency/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-scene-alias/optimized-public/manifest.json +b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c final/artifacts/checkout/F5-scene-alias/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-scene-alias/optimized/manifest.json +b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c final/artifacts/checkout/F5-scene-alias/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-scene-alias/unoptimized/manifest.json +c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772 final/artifacts/checkout/F5-scene-alias/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-scene-positional/optimized-public/manifest.json +d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6 final/artifacts/checkout/F5-scene-positional/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-scene-positional/optimized/manifest.json +d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6 final/artifacts/checkout/F5-scene-positional/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-scene-positional/unoptimized/manifest.json +d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a final/artifacts/checkout/F5-scene-positional/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-scene/optimized-public/manifest.json +1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e final/artifacts/checkout/F5-scene/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-scene/optimized/manifest.json +1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e final/artifacts/checkout/F5-scene/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-scene/unoptimized/manifest.json +bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8 final/artifacts/checkout/F5-scene/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-shopvisit/optimized-public/manifest.json +9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3 final/artifacts/checkout/F5-shopvisit/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-shopvisit/optimized/manifest.json +9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3 final/artifacts/checkout/F5-shopvisit/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/F5-shopvisit/unoptimized/manifest.json +1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff final/artifacts/checkout/F5-shopvisit/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/runtime-trap-control/optimized-public/manifest.json +8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d final/artifacts/checkout/runtime-trap-control/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/runtime-trap-control/optimized/manifest.json +8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d final/artifacts/checkout/runtime-trap-control/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/checkout/runtime-trap-control/unoptimized/manifest.json +8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d final/artifacts/checkout/runtime-trap-control/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-condition/optimized-public/manifest.json +209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe final/artifacts/installed/F1-condition/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-condition/optimized/manifest.json +209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe final/artifacts/installed/F1-condition/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-condition/unoptimized/manifest.json +0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2 final/artifacts/installed/F1-condition/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-direct/optimized-public/manifest.json +a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960 final/artifacts/installed/F1-direct/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-direct/optimized/manifest.json +a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960 final/artifacts/installed/F1-direct/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-direct/unoptimized/manifest.json +d709189473a3cc1c9ff1bb4a0887bd51bafddabf129a02d876a02e37056ff566 final/artifacts/installed/F1-direct/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-local/optimized-public/manifest.json +8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b final/artifacts/installed/F1-local/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-local/optimized/manifest.json +8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b final/artifacts/installed/F1-local/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-local/unoptimized/manifest.json +bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148 final/artifacts/installed/F1-local/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-service-local/optimized-public/manifest.json +87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1 final/artifacts/installed/F1-service-local/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-service-local/optimized/manifest.json +87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1 final/artifacts/installed/F1-service-local/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-service-local/unoptimized/manifest.json +27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb final/artifacts/installed/F1-service-local/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-service-this/optimized-public/manifest.json +43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063 final/artifacts/installed/F1-service-this/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-service-this/optimized/manifest.json +43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063 final/artifacts/installed/F1-service-this/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-service-this/unoptimized/manifest.json +8341bab19d4943a8d414b3c2ef7ba4552bd05c7a93c9b0d8af555ee3bfbf9b39 final/artifacts/installed/F1-service-this/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-two-calls/optimized-public/manifest.json +228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5 final/artifacts/installed/F1-two-calls/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-two-calls/optimized/manifest.json +228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5 final/artifacts/installed/F1-two-calls/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F1-two-calls/unoptimized/manifest.json +f910c0f6e31276cd7d4bff2cde54900820bc354e61759eb518e79b5ffccd3ec9 final/artifacts/installed/F1-two-calls/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-arguments/optimized-public/manifest.json +192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12 final/artifacts/installed/F2-arguments/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-arguments/optimized/manifest.json +192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12 final/artifacts/installed/F2-arguments/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-arguments/unoptimized/manifest.json +043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0 final/artifacts/installed/F2-arguments/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-expression/optimized-public/manifest.json +41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940 final/artifacts/installed/F2-expression/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-expression/optimized/manifest.json +41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940 final/artifacts/installed/F2-expression/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-expression/unoptimized/manifest.json +1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231 final/artifacts/installed/F2-expression/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-locals/optimized-public/manifest.json +3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b final/artifacts/installed/F2-locals/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-locals/optimized/manifest.json +3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b final/artifacts/installed/F2-locals/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-locals/unoptimized/manifest.json +2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4 final/artifacts/installed/F2-locals/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-struct-method/optimized-public/manifest.json +7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7 final/artifacts/installed/F2-struct-method/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-struct-method/optimized/manifest.json +7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7 final/artifacts/installed/F2-struct-method/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F2-struct-method/unoptimized/manifest.json +a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4 final/artifacts/installed/F2-struct-method/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-function/optimized-public/manifest.json +fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b final/artifacts/installed/F3-function/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-function/optimized/manifest.json +fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b final/artifacts/installed/F3-function/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-function/unoptimized/manifest.json +c098719dae70b95ba847e7813e5fa7c005f99337946d6e06f5e5fc4381051f79 final/artifacts/installed/F3-function/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-global-local/optimized-public/manifest.json +7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c final/artifacts/installed/F3-global-local/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-global-local/optimized/manifest.json +7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c final/artifacts/installed/F3-global-local/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-global-local/unoptimized/manifest.json +aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209 final/artifacts/installed/F3-global-local/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-global/optimized-public/manifest.json +e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46 final/artifacts/installed/F3-global/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-global/optimized/manifest.json +e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46 final/artifacts/installed/F3-global/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-global/unoptimized/manifest.json +8ffa05f45c4a33784ca0bb524d4a6b7dfb527781c8ebb40b5d08df4fa7a6a22c final/artifacts/installed/F3-global/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-service-local/optimized-public/manifest.json +e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6 final/artifacts/installed/F3-service-local/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-service-local/optimized/manifest.json +e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6 final/artifacts/installed/F3-service-local/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-service-local/unoptimized/manifest.json +c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a final/artifacts/installed/F3-service-local/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-service/optimized-public/manifest.json +9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b final/artifacts/installed/F3-service/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-service/optimized/manifest.json +9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b final/artifacts/installed/F3-service/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-service/unoptimized/manifest.json +c568447b582b4839b65e1e7368f0d07b61bfaa038ba28d984434c8db6df7c64f final/artifacts/installed/F3-service/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-single-file/optimized-public/manifest.json +c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524 final/artifacts/installed/F3-single-file/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-single-file/optimized/manifest.json +c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524 final/artifacts/installed/F3-single-file/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F3-single-file/unoptimized/manifest.json +f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b final/artifacts/installed/F3-single-file/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-distinct/optimized-public/manifest.json +7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f final/artifacts/installed/F4-distinct/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-distinct/optimized/manifest.json +7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f final/artifacts/installed/F4-distinct/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-distinct/unoptimized/manifest.json +c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573 final/artifacts/installed/F4-distinct/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-public-aliases/optimized-public/manifest.json +adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705 final/artifacts/installed/F4-public-aliases/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-public-aliases/optimized/manifest.json +adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705 final/artifacts/installed/F4-public-aliases/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-public-aliases/unoptimized/manifest.json +e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b final/artifacts/installed/F4-public-aliases/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-rename-a/optimized-public/manifest.json +9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624 final/artifacts/installed/F4-rename-a/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-rename-a/optimized/manifest.json +9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624 final/artifacts/installed/F4-rename-a/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-rename-a/unoptimized/manifest.json +083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab final/artifacts/installed/F4-rename-a/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-same-dependency/optimized-public/manifest.json +ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d final/artifacts/installed/F4-same-dependency/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-same-dependency/optimized/manifest.json +ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d final/artifacts/installed/F4-same-dependency/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-same-dependency/unoptimized/manifest.json +af13fe4f09ef762fb916c055924c250f045d895f739a5b55f40ee0c30a3dc379 final/artifacts/installed/F4-same-dependency/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-same-direct/optimized-public/manifest.json +1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e final/artifacts/installed/F4-same-direct/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-same-direct/optimized/manifest.json +1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e final/artifacts/installed/F4-same-direct/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-same-direct/unoptimized/manifest.json +a39fb9b13b1fb0e4ff5222ca00b1cb27fb35dd464af1e76170d6241bc2fb8a0f final/artifacts/installed/F4-same-direct/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-same-no-dependency/optimized-public/manifest.json +bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde final/artifacts/installed/F4-same-no-dependency/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-same-no-dependency/optimized/manifest.json +bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde final/artifacts/installed/F4-same-no-dependency/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F4-same-no-dependency/unoptimized/manifest.json +5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f final/artifacts/installed/F4-same-no-dependency/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-scene-alias/optimized-public/manifest.json +b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c final/artifacts/installed/F5-scene-alias/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-scene-alias/optimized/manifest.json +b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c final/artifacts/installed/F5-scene-alias/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-scene-alias/unoptimized/manifest.json +c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772 final/artifacts/installed/F5-scene-alias/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-scene-positional/optimized-public/manifest.json +d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6 final/artifacts/installed/F5-scene-positional/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-scene-positional/optimized/manifest.json +d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6 final/artifacts/installed/F5-scene-positional/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-scene-positional/unoptimized/manifest.json +d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a final/artifacts/installed/F5-scene-positional/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-scene/optimized-public/manifest.json +1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e final/artifacts/installed/F5-scene/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-scene/optimized/manifest.json +1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e final/artifacts/installed/F5-scene/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-scene/unoptimized/manifest.json +bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8 final/artifacts/installed/F5-scene/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-shopvisit/optimized-public/manifest.json +9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3 final/artifacts/installed/F5-shopvisit/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-shopvisit/optimized/manifest.json +9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3 final/artifacts/installed/F5-shopvisit/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/F5-shopvisit/unoptimized/manifest.json +1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff final/artifacts/installed/F5-shopvisit/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/runtime-trap-control/optimized-public/manifest.json +8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d final/artifacts/installed/runtime-trap-control/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/runtime-trap-control/optimized/manifest.json +8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d final/artifacts/installed/runtime-trap-control/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 final/artifacts/installed/runtime-trap-control/unoptimized/manifest.json +8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d final/artifacts/installed/runtime-trap-control/unoptimized/program.pbx +5fe8011c79e8a3a5592ab88756bfa840180fbaecae7271983ce2b53af878de92 final/checksums.json +e3975867b9733f53effb3f24d31a647f3383eb2e07e91287889332997abe34fc final/compilation/checkout/F1-condition-optimized-public.json +4e04b33819ec6f9a604f0f74fcf8d9d623788ca60d0c415400879f096a6efad9 final/compilation/checkout/F1-condition-optimized.json +821d8ed7d71aea5c323b4033ddb4de56403d402023376c9295dee920a11fd791 final/compilation/checkout/F1-condition-unoptimized.json +bef45d00d4a7e794104234fa12d6f0bc99262b8d0b460367ebb98c8d24abc4d8 final/compilation/checkout/F1-direct-optimized-public.json +fbb8f9eb5e6bfd94d95dfdc7fe4633875429d0d903a1e78a0b32f1bab5aaac09 final/compilation/checkout/F1-direct-optimized.json +12a36beb8a2b47b80b724194d014f64cdc2ed345e8136751b7c8ecede79c7541 final/compilation/checkout/F1-direct-unoptimized.json +570e7b7702e378fd6a94d3c359cede3720bf7fa7f0d0aafb1321b8a5256841ac final/compilation/checkout/F1-local-optimized-public.json +30ea020b5b76430460ea0ab40cae6e9225b41e596d984e5a67b8b92f3126d71b final/compilation/checkout/F1-local-optimized.json +9800c0f12587bdd1766d28142176bd12395d10694e77d4799113f5e1d579a098 final/compilation/checkout/F1-local-unoptimized.json +165652eb32c9031e79c6c09daac98bec40f033974fd46ce0eda2a1fa6a81f732 final/compilation/checkout/F1-service-local-optimized-public.json +45688ca7865389d1424af3ec7cef4d06375b171d9b4dd227349b4f5f3bbf4aee final/compilation/checkout/F1-service-local-optimized.json +aba8fc7e954e065921d2feb54dff5fa8c59fc611949fcd28c8951ffa6b7374ba final/compilation/checkout/F1-service-local-unoptimized.json +7c9b8c2b6ea88959623ee38a50a2787d984d8d29850a84f49fb94a8e15a47005 final/compilation/checkout/F1-service-this-optimized-public.json +2100ab4f5241561dea6e7c23eacc87590e332a651e5298d0af522e9fd2010c55 final/compilation/checkout/F1-service-this-optimized.json +3aff0549da17dd0bdc8bac9bb8ad9066f184314bcd74f8e8594cb06a93c30821 final/compilation/checkout/F1-service-this-unoptimized.json +75da952592cfe045c30550b18388dd3fe381f5b09e2d1705010c699ad9608e80 final/compilation/checkout/F1-two-calls-optimized-public.json +8359ca61ee619d4132628faa7ba4f0f1a98635869c233112dc7360a42ff38e2e final/compilation/checkout/F1-two-calls-optimized.json +e9a2c7bac5069acf047e13fed5ebf9f489ed0c5171f7cc129e78bc718e34f01b final/compilation/checkout/F1-two-calls-unoptimized.json +5908eda9435622ca2b6c6529c4e1b18e4d71e9ab749e268b7ec06c1e2e4f63b0 final/compilation/checkout/F2-arguments-optimized-public.json +04ad91e32b23e46f00ef7f5803b228f73d7e594029db0b53551e2f76681dee53 final/compilation/checkout/F2-arguments-optimized.json +f4bca5dbd203fa4848a5fde8c10d3aeee8267c3571371e637cfa22ba8193d0c6 final/compilation/checkout/F2-arguments-unoptimized.json +2e791402e317b38fb6eac8c675b6bd54cfde17e79619ba5b166b27801d6f3f5b final/compilation/checkout/F2-expression-optimized-public.json +591432e48d3db5e4e8d76772ad3fc943788f9e5fa8e6e3f0c345b9817958e5ca final/compilation/checkout/F2-expression-optimized.json +644495135b438292c591eb8570f1b99f286bf8d15ef1ce0e8e36f5c8075c634c final/compilation/checkout/F2-expression-unoptimized.json +598644e83f869e76578986f8f07395e28f75a0d4fc75ffab592062509225bbca final/compilation/checkout/F2-locals-optimized-public.json +ae52aac9e5c18920b80af79f86a338a5b078e035988fd661a8c363eb736db9d2 final/compilation/checkout/F2-locals-optimized.json +ca80bfc26a9e9c2c68434644b2795e327c9477e66d2ab405e81b9d3c9630961b final/compilation/checkout/F2-locals-unoptimized.json +a29db2315d1d1fcd6f93fc5568bd6f4f165d08b59a58738b1cc8e674f3b55e82 final/compilation/checkout/F2-struct-method-optimized-public.json +c13c1927c28f7d59d32c0a4ebb6ee06ca443f19e715e3286e5b0733920e882b2 final/compilation/checkout/F2-struct-method-optimized.json +dcc066a1d772959ddac4fcfc72cd54c9a04e3e570c6e03888d6602d2e0f0982d final/compilation/checkout/F2-struct-method-unoptimized.json +b10f3657d00e8704666fdeeb13136b7de9833c6453fd4da1bc54e14e6d0ba908 final/compilation/checkout/F3-file-private-optimized-public.json +e75fbfcc1da75139ef3710925692625d13a93b3e20720d245aa0339fafca5ef3 final/compilation/checkout/F3-file-private-optimized.json +608e82a16183341be53426839642726df5c7eab3408d2b87aed6d9c13e3b040b final/compilation/checkout/F3-file-private-unoptimized.json +afb7561656d693bff3090b98da5f8aaada73c1b0342b8bf14527d2d1d9be3550 final/compilation/checkout/F3-function-optimized-public.json +2ac7755aaab464ac5a3c32ed866fccba799238b2c7f138ab0dca62cb018b423c final/compilation/checkout/F3-function-optimized.json +c120c7f44642b1dbe4a79d70a1a521d6419b8469415d92e51ea7d9b4e1900708 final/compilation/checkout/F3-function-unoptimized.json +b6a3b1d69b99785d49a2435b1c2c2eb39ea74dd30bf7d0cfce62f8a4774b1a15 final/compilation/checkout/F3-global-local-optimized-public.json +82df11e9b9f585744186929b8c742a6971fa3596cb09fb0ddc30f2c984d0ebc9 final/compilation/checkout/F3-global-local-optimized.json +4a8912e508717b4b8c2dde455c7d146d2b2fb43a7fc45be2bd3e93b5ca3366bb final/compilation/checkout/F3-global-local-unoptimized.json +9b6e5f28fd604aa9ea3ac641ab30e1543b65a0da7da6a624386009b67129b63a final/compilation/checkout/F3-global-optimized-public.json +80c6dfafa17ca583cf18f7bffe50484295a6a29545fd0080905495ea80a31c30 final/compilation/checkout/F3-global-optimized.json +a68436ce9f3f4e2ca36465aec04ef11de26a53db092746fcc826cc6a35e8cb65 final/compilation/checkout/F3-global-unoptimized.json +85b9e168e54d2f97778c713a2173201b52656245a014c40341fe8423a496f639 final/compilation/checkout/F3-service-local-optimized-public.json +e0db24d81f4520517f157a8613917917e3460ae173647d82ba4921402db4150d final/compilation/checkout/F3-service-local-optimized.json +e5c55f78dce6028df9636de37c25e793e4d8968e2a5af03b7c9d58e4bb69f1b4 final/compilation/checkout/F3-service-local-unoptimized.json +2d5290d7ae3080f7818310ab17d29b168c7461710e497d6191826e231345dea9 final/compilation/checkout/F3-service-optimized-public.json +2f4bfd18a922bd150f30fc02fb3b2e044017c2e7a807015fd6c542888fad2139 final/compilation/checkout/F3-service-optimized.json +48fd21d9b77c2168d627936ff228be67626a258ebf431463d68e94cab1b06cdd final/compilation/checkout/F3-service-unoptimized.json +bc7291c7dbb4662b615a0490a7bc3c7f0609bcf15d48353898695f8ae04786bd final/compilation/checkout/F3-single-file-optimized-public.json +f35cf499340f8c0acb173f4d465efe77660c1f36880257786e1bf1b13591cf21 final/compilation/checkout/F3-single-file-optimized.json +42136b3e187b8723c288377443bbba3da9f38a5a7f10003c1fa6596f8d46bf7f final/compilation/checkout/F3-single-file-unoptimized.json +82691196a1ee0da59b76980503080720da7bfe25c2887ddd09abff257c0a0e11 final/compilation/checkout/F4-distinct-optimized-public.json +6e735084fa03f2b0d53497507e31a734b0f550a28870ae85e3599ce102a104d1 final/compilation/checkout/F4-distinct-optimized.json +e14adbe8e7c226986e13ea023a827343b78b8a7d48e01efeb41cb7c2124885fc final/compilation/checkout/F4-distinct-unoptimized.json +740c13b3f03b501408ca7f08c0437d5806dea93c2153785a269f3fdf1205e378 final/compilation/checkout/F4-public-aliases-optimized-public.json +e3aafd7d3c8bf9fc97f4f23d50316c8f0a1196793a5f7b8430adc82a2c941140 final/compilation/checkout/F4-public-aliases-optimized.json +695662fb124619a71ed71846c01aca2ffc90b2eaffc914a604c304e9c39ba580 final/compilation/checkout/F4-public-aliases-unoptimized.json +a89fc96378020ea000fafa1d67fb4bc0accd404b7b35728dccea1972b805421a final/compilation/checkout/F4-rename-a-optimized-public.json +e78c1ceffa86123af6502e84e9c77989f31b95faa3f324aaaa8771721b1b2715 final/compilation/checkout/F4-rename-a-optimized.json +b176159ebfd3add4eec501660e14632f9e4df96eeb185d6b9fd78a7755f37533 final/compilation/checkout/F4-rename-a-unoptimized.json +c3c0ad3b4fda42b21a2633ad15953c4053d18471ba2d9a29a14251fd27998c90 final/compilation/checkout/F4-same-dependency-optimized-public.json +f464706024e14f8f2445d53dedf21e3c34b84440f1fc6dc6f70c80857f4cb0b2 final/compilation/checkout/F4-same-dependency-optimized.json +bc68336a7bd3de006f09ea2e883cac7cdf5bdebb933ba106b7a8c8045ca387f1 final/compilation/checkout/F4-same-dependency-unoptimized.json +a7c2f0ec23c708ff8db4ef1df66e140c65c3dd93b16d15fa2ae4a500415568ce final/compilation/checkout/F4-same-direct-optimized-public.json +eebab2f46f8aaa71d16b429b9c7d8443c3535ebfd9fad1ed026dca3a224bd2f5 final/compilation/checkout/F4-same-direct-optimized.json +1a8363084a23abf44b1a602c7edcb702946c219e8c34de01d8dcfb447827f461 final/compilation/checkout/F4-same-direct-unoptimized.json +cacf0969df963a866217773abaad54117372b39cf11b61105e6bcb5433944e29 final/compilation/checkout/F4-same-no-dependency-optimized-public.json +73a14b00188e55a4601eb7b66cb6272b24fadd853b77b8f44f4dba562e83dc95 final/compilation/checkout/F4-same-no-dependency-optimized.json +63b450943f9c49ba3551cb7c78d0e93704795c16ae60177804dbb8db7e8b3e87 final/compilation/checkout/F4-same-no-dependency-unoptimized.json +5c2ac3c3b3eaaf77e7e98f89acb28a20ca9ac19a14132a92b09a384d00877f01 final/compilation/checkout/F5-scene-alias-optimized-public.json +d69db9fd47b23109d2b7138c1c47bac65332c8f19ceb0106fc61432a17d8346e final/compilation/checkout/F5-scene-alias-optimized.json +7026640e0aae05f2fac74703d3785779e1f9c2cf3f654b3ecc8d50bc766d4913 final/compilation/checkout/F5-scene-alias-unoptimized.json +9f175852db284b6818d6678d9fcb2bc36af109db3f968e10f08dfc95028c6287 final/compilation/checkout/F5-scene-optimized-public.json +16ec26183c0f6ba1caf710e7660761d37d994871aabd92a59758de1f446954da final/compilation/checkout/F5-scene-optimized.json +1cb46410ff59b06d57d49ba76b132061d8dc7cfda732da9e3d2ffb089cfc6e29 final/compilation/checkout/F5-scene-positional-optimized-public.json +955064b12a41455db8538c1c8f4c4d0fde18cea67fb4e146f2f20c0be12422bf final/compilation/checkout/F5-scene-positional-optimized.json +7cbe5f2193376aa29c6502eb0eda1560420d587e45f5b45b2959305de04874c6 final/compilation/checkout/F5-scene-positional-unoptimized.json +7757aca3e7616384fd64ff92751ea0f7ce57126e458fdcb1a8a7dc0cbc89c17d final/compilation/checkout/F5-scene-unoptimized.json +b3ba55464be8cf03b789c2a790817347a0ceb36063e4311478b9a905aa19dbcf final/compilation/checkout/F5-shopvisit-optimized-public.json +e198532f7f7e1cf5c5bedbcf2c5173d94680195776c1f748e008abe5825249ea final/compilation/checkout/F5-shopvisit-optimized.json +fba10f4e0ebcc37b4dd1cf9173da93fac3b311940889c3b73423feaafd4016a7 final/compilation/checkout/F5-shopvisit-unoptimized.json +dafcff53d88b0c50ac36e7eafee3713b8806894428cf3ca4e9226323710dd4c2 final/compilation/checkout/runtime-trap-control-optimized-public.json +6555f85ec79eec2f184e1b8addf3f9778999c3605cafbf99dc809922e9508f64 final/compilation/checkout/runtime-trap-control-optimized.json +90fa9e8dad14053bd4681a5155dc351c2b0e017e388c7167b70a17a087a06d8b final/compilation/checkout/runtime-trap-control-unoptimized.json +2a3c10fcdca0bca53cc15bd1d4d81c5265d09d8850b5c07404d8eb933bc038ca final/compilation/installed/F1-condition-optimized-public.json +fe0c0729e27f14dcf50f0f79a06591641470a13fae33fbb9e3cf6d520764c7d4 final/compilation/installed/F1-condition-optimized.json +04ead9227339942b2842d8d12d229594b59cafda8347ef10b6486c9b2316a337 final/compilation/installed/F1-condition-unoptimized.json +e5f4120f199dca288964f13c9a3b7e6751ac51bcc82d97866f4c7ab511720cb0 final/compilation/installed/F1-direct-optimized-public.json +29daf1b1bce84c04de5e6251721a48133689123160ed37d7de34f9f62a19964d final/compilation/installed/F1-direct-optimized.json +0b24e33b75294cb53e7aa447654dd168eb72363ad39df058bf44b31fb423fba2 final/compilation/installed/F1-direct-unoptimized.json +65a087a4af40609071f45b558674877df0364440ffb19cca3870dea6a2e16d1d final/compilation/installed/F1-local-optimized-public.json +26432433f49d0f348959c40c58d98967b6120cbef2b55a4b20882a83e5121e1f final/compilation/installed/F1-local-optimized.json +8016ba09f76219c3e571919c28438afc7843eaf4e4bd0752fe56403a14e90b73 final/compilation/installed/F1-local-unoptimized.json +a99b171ae2c6a3b34708d7340daeb25c15d8a67f1149d0dc6616d3f7911e845c final/compilation/installed/F1-service-local-optimized-public.json +74c6226b6d645db8c0966a275989920d618971d404a261d921e1f50307f20db7 final/compilation/installed/F1-service-local-optimized.json +b23af4427d85d28f4a30cde09e9b2c39010e9c622aa04a7a34663fd747ee30bf final/compilation/installed/F1-service-local-unoptimized.json +53884e9b550db1ad3bfc84363a0b602da0a487fe98089fd1046dd4421555f3b9 final/compilation/installed/F1-service-this-optimized-public.json +b1efcf587bf0b808e6a7e12537f214d835ac2b585d94cf646aecb68dc235dce3 final/compilation/installed/F1-service-this-optimized.json +b1cc320e1414149a05f30aef7f01deac5e9ef79261a5e8676e2105f86a1536af final/compilation/installed/F1-service-this-unoptimized.json +02ee55c5669a3e93ab28cd66cde0bc517626ffa17c80e01f2a372c0e53db6fa9 final/compilation/installed/F1-two-calls-optimized-public.json +b81ae333c966b0cded905289ed1e946d992b3c6911d5f9226a19c39c67d33151 final/compilation/installed/F1-two-calls-optimized.json +c8022ec700d1aab96bb8cbbd6b90c26f179ba29abf0935006363dfcd6c46f565 final/compilation/installed/F1-two-calls-unoptimized.json +44cffc2444397ee9d6ee440eeffef2cd86dbab19b034a9f4c6965bce55f726ac final/compilation/installed/F2-arguments-optimized-public.json +ff24943481b5fab0177d091ea6c44a55a895abb248fedbc0faa3489e0674586f final/compilation/installed/F2-arguments-optimized.json +8c7916f6dcaeda7116f32605edc6cc8e87141354617f911b96255bb6c3218e72 final/compilation/installed/F2-arguments-unoptimized.json +7e2bae3cd3ffae642c4f2db80893fe2c2958a712d47ed01a446c909ae2daf357 final/compilation/installed/F2-expression-optimized-public.json +6952b62ee3318d9f4aaa8b60b0132c5286e1aedbdce84853a61a007593991a84 final/compilation/installed/F2-expression-optimized.json +bb77517a0ca5b44d65d93b20cf8ea97d12e1733e59b0ddd21e093660cc9b0b7b final/compilation/installed/F2-expression-unoptimized.json +c258fdc1569f5c4dfe45fdb822f5ca42171db03c75c2ee4da8a567587caed987 final/compilation/installed/F2-locals-optimized-public.json +662780ee19c3af0a995608a27d16c243c215ff13caa47f40601f08c4fc102c9f final/compilation/installed/F2-locals-optimized.json +56762f9f1ddef6f02045606321e5f2d46406fe2e305de19368ed85f6e7396383 final/compilation/installed/F2-locals-unoptimized.json +211a3cf5d7e4f5510fd94e771320766906a40b060075430248e047b668f8bea9 final/compilation/installed/F2-struct-method-optimized-public.json +b4a537bdff7479fa00cefb5a547ab0dba57649a3c011a9f08c59f5ca6eb097bf final/compilation/installed/F2-struct-method-optimized.json +02d7f2969fa9836af0bb16bae26a930b88d55c6deb256d61f563aa1ecb986623 final/compilation/installed/F2-struct-method-unoptimized.json +28088b71ffab5043155ba4734099adc4cb6185098401d2ab922ed51444dfc4d0 final/compilation/installed/F3-file-private-optimized-public.json +be22c8bc51df85ddb549bf951ed23a5038f1911b57d0ef4ab01ec81244ef76f2 final/compilation/installed/F3-file-private-optimized.json +9f78df7b03248c5d8109c20a48489f4a2ddb79b8f57be2967f604eea1962dc2d final/compilation/installed/F3-file-private-unoptimized.json +4eafc0c40be3aed6ee38aceaa10a99fc5b557823c7c69b66ff5aa5a6d08b07e3 final/compilation/installed/F3-function-optimized-public.json +62240d16115c995f361aa2e70042f9918d94839ec062accd5ba0f92336f0f247 final/compilation/installed/F3-function-optimized.json +0d8af7d731c3edc48082378ab63799378e15cfbd524a3e51508d8a9e3cb084f0 final/compilation/installed/F3-function-unoptimized.json +75bd02890eabad638f53be570111b56c54233ec97e29d5254820a0cd573fbc72 final/compilation/installed/F3-global-local-optimized-public.json +d8922e91bc9833030892262b2b26f0a0852c4dc1ffa53604674d844daa02a936 final/compilation/installed/F3-global-local-optimized.json +1b80db12ddf52628fcec2a10c60a744ca0972df8b5d4107bdfe52f28ee1d5784 final/compilation/installed/F3-global-local-unoptimized.json +18d722dfc5c174f887dea39bdbf2b9088f59db002eb1d46e5838240e4da5c105 final/compilation/installed/F3-global-optimized-public.json +eec1c28f9f8d81a0ca5c2f261bd47c36d86a607470f7ec0f13c71f7a25d4bcb9 final/compilation/installed/F3-global-optimized.json +8bc462422b1b5b8aef467e59693bd16346575c19ddaed141047fc773270c1d7a final/compilation/installed/F3-global-unoptimized.json +0e991852810528fbea44159d43025a757554e8516cefeb36365c6de51de576e0 final/compilation/installed/F3-service-local-optimized-public.json +ec5335a5829a23840c697e4875f254b30cac645c4bef82a76d790e6318ec7f07 final/compilation/installed/F3-service-local-optimized.json +535592db545b83edcaab392923a0057ca19608fdcdf39f0e3c4c197a3b5346ab final/compilation/installed/F3-service-local-unoptimized.json +0a976b700c38078b0440f6e5a74e24a130623da6f2e1319a35b01a4d93cb8306 final/compilation/installed/F3-service-optimized-public.json +fd75e566a8f76514b55988510791637eb484ddb8e9b961363555e136bb340043 final/compilation/installed/F3-service-optimized.json +78795bb7d7257aea3b7ef49055a2d66c8330d64277a699af54e25c82ae31c16c final/compilation/installed/F3-service-unoptimized.json +202e7fbd848db4d771bec7e42bdbc2baae7a8cef9acf87df92d51c1e09f5204e final/compilation/installed/F3-single-file-optimized-public.json +99b0136a521e6bfb399bf6851f905af9498a61f8faf00df84f50e064715a2c0c final/compilation/installed/F3-single-file-optimized.json +f0f759ba6ac7d0708093185f08f3bc67cb551c8468a8fdfee8f110c74d3b6726 final/compilation/installed/F3-single-file-unoptimized.json +9bb3588173516ce856aae72cdf3646d9873a2c361c12eea69863be3aab926949 final/compilation/installed/F4-distinct-optimized-public.json +f3a54677f23275ccf9c297d3e8075749c1e625b84d4e23717e1f21cc4bec08ca final/compilation/installed/F4-distinct-optimized.json +3936dbad075ec8a0fa6f8cbdcba7394cd7315d37cdf2f3198d14c0360b8b9793 final/compilation/installed/F4-distinct-unoptimized.json +1f38614f0d9e35ffcf7796db7e4cf20ee18d3d99d606900fda01e66703791436 final/compilation/installed/F4-public-aliases-optimized-public.json +7724cb856ee14b647dacda21ad36e82a9c80baf08cb512ff2b06aa7ada36132e final/compilation/installed/F4-public-aliases-optimized.json +0bf7f4c2f013d46263a638bb9e1af0e049c966cb54d7ef2490820551b762cea5 final/compilation/installed/F4-public-aliases-unoptimized.json +96ee7820ec151a5cfe9436b9d706a8618c65c3037baec2c35d4c7d6a500f7955 final/compilation/installed/F4-rename-a-optimized-public.json +b4ffed50464566651b49cc1087dfaa2e6c302aaca73dcd77c92d96137ea1af3c final/compilation/installed/F4-rename-a-optimized.json +23b062abdaa29aa5027288be62a371cbee9df0ea3e9e157574f1f8defe3b04f6 final/compilation/installed/F4-rename-a-unoptimized.json +7a8f0a0f96a0e0a9bd7e91886424ab0614f14a0dabb8eaecaa6645f16cc99556 final/compilation/installed/F4-same-dependency-optimized-public.json +e120632d23aba938b241e85439961717f3e7c9abcbd89dc4e3dc226bf071c35f final/compilation/installed/F4-same-dependency-optimized.json +c136ffd0005889b3421139944f387a8e52dce611ff10a5096fb56ada840c4407 final/compilation/installed/F4-same-dependency-unoptimized.json +94ec65f210bb8bb6e577ece3b834191fbe92026b57e0d09cf59061930811e4ca final/compilation/installed/F4-same-direct-optimized-public.json +0424354235f2168e41c4321ce562ac40f6ef225315d595b16426768d5b8d37d5 final/compilation/installed/F4-same-direct-optimized.json +42df78af8b3b7a429f45985951cf65b8b83f88cb9ac2358ac2b0dfdc842bb4cd final/compilation/installed/F4-same-direct-unoptimized.json +901f3825d90bf04cb96a2767ee5ba965a5dfc59c4cd162e00b466015202e2ef1 final/compilation/installed/F4-same-no-dependency-optimized-public.json +4f05f8226e00cd95a953736b3ac611ffccc21eb82364a961dddcabae4e19e4cd final/compilation/installed/F4-same-no-dependency-optimized.json +7d98612dbd0a2a571c9be361baa84d298ee4544b466cf5660c3a40bcc2205b1e final/compilation/installed/F4-same-no-dependency-unoptimized.json +764744755853769364a74c30fc103d04d68363f18fb71e22b2003eb7fdde1ab9 final/compilation/installed/F5-scene-alias-optimized-public.json +ebedc9a4fba7479cdcfa13872a8ace0639163a5994a31e049456b115eb77b76e final/compilation/installed/F5-scene-alias-optimized.json +745be031060808d7e631bd34dbdd01625d6b0deee5ede55b27fda28febee430f final/compilation/installed/F5-scene-alias-unoptimized.json +4a182a965326e187b0528e6512c0ce512babe7b7728810e73b06cac2df9ac99e final/compilation/installed/F5-scene-optimized-public.json +0276b9d4f805603b6505b2d9462c2925b6b366332418c2a6d280d01ef0bbc8db final/compilation/installed/F5-scene-optimized.json +d78a95f7fe4c5c8f3ff2b366596497901432c384b04cb32733e07ea5f2e787f9 final/compilation/installed/F5-scene-positional-optimized-public.json +e5569642f034a748fe09a1fb2bafadc916204a99e0a7845f8d1bbd861c5b516c final/compilation/installed/F5-scene-positional-optimized.json +4ddd54d8b27cf37d5710e5fb74ae9a528673b94bef9df9f94d7c7a56ab0330b1 final/compilation/installed/F5-scene-positional-unoptimized.json +54f031b472a8c203d3e28f6c317d1988560f44f881cf172ffc07a177ca63f4ba final/compilation/installed/F5-scene-unoptimized.json +97b6a9a31ec96992402cbff809e97ece777e94636e379fd5f95a3396e7574546 final/compilation/installed/F5-shopvisit-optimized-public.json +597156ccf838dedb5db7497f9fe2942420edce9c277a6af78d589cbc6313058e final/compilation/installed/F5-shopvisit-optimized.json +caf98826455069a676616c662ac32b8c05691b5a6b1be0badbc442130b4a9618 final/compilation/installed/F5-shopvisit-unoptimized.json +8c9e2be4fea37f99b1feef8907d0cd2ca25f3ead35e895132127cd76e0b651b7 final/compilation/installed/runtime-trap-control-optimized-public.json +c3fdae3e6ebe8fbff7f27bcb1c58b6af440c935df0be537322954268cd6e6ee5 final/compilation/installed/runtime-trap-control-optimized.json +9ad6b613ed7cb75510920dd4a5a13b2d151adba17ed845d919779f908bd96c83 final/compilation/installed/runtime-trap-control-unoptimized.json +ad98fce5befb0cbbef7ae9278fdbe0b4e52a65ac9611d6cf08cb2c914b5c9160 final/execution/checkout/F1-condition-optimized.json +61e0669e39eca8b5ab24224bb90cc4d8e058ea685f95b841d7d5aac27cc34ba6 final/execution/checkout/F1-condition-unoptimized.json +7bea6d7d275d89ac4357d9433a7bcf856d23377b6eba6562bf04e93bef5efe8f final/execution/checkout/F1-direct-optimized.json +6906def3a716fccb3b7219b6b4a576434829e42825bf46f79936f94b7e1a6852 final/execution/checkout/F1-direct-unoptimized.json +c1ad8e40c2c54d9492a14a5f01f940aac64950ef2462d15ee5b81bc9ad8b4067 final/execution/checkout/F1-local-optimized.json +570cffa9202cdd575545a671f18a4e55c85f2ceca9bb363155d09ec0e1dce319 final/execution/checkout/F1-local-unoptimized.json +7c443d510cc8e0109383f331f1033ba9e35d86280a9cfbcc407ab61a21d41265 final/execution/checkout/F1-service-local-optimized.json +2f25c574b7940a405f920659fcbc2e08fcb96f85b605c142d2673218c3f8173c final/execution/checkout/F1-service-local-unoptimized.json +ecbfcf96b205ded7b00558bb7e4a7ad5413d365e1fff2e87d19f02b59510cb40 final/execution/checkout/F1-service-this-optimized.json +e38abab1fe7df8424f7b2637269872a87bc701d1704dde5331f8d565f93a283c final/execution/checkout/F1-service-this-unoptimized.json +0f85b0e225c09a17486486d1ae55b1eff0642e8e79f63d7c461b7ceb21667a95 final/execution/checkout/F1-two-calls-optimized.json +92fc7c3638ad2ac1b23dac55e80c4f3d9f5ca724f70a597ebde086aee89a79f3 final/execution/checkout/F1-two-calls-unoptimized.json +61e3f6f9f4aa3209182e5db3fb97811c038692c0e66b0a3920cdfe73f05a2890 final/execution/checkout/F2-arguments-optimized.json +01c3e15a7fca6572e2a9089b3a80097f2d73f75f28d1e08e959b3932bbc8f202 final/execution/checkout/F2-arguments-unoptimized.json +502b0bca836aee74897a605698ac6afdc942f396f9d78ca2ac9bf783139db44c final/execution/checkout/F2-expression-optimized.json +2fbe98860bdb8bde5c346f06b41165837badc39b21b6bf2b9e6f799692f866d3 final/execution/checkout/F2-expression-unoptimized.json +5143d0822a1e21e20c037a5908ccc4692d28065a9c75061d6d2c8ae00f7dbc28 final/execution/checkout/F2-locals-optimized.json +fc04b3aa21df7a425bd1e6cdc7f7968771acd881a9d70309a13f908464c0d289 final/execution/checkout/F2-locals-unoptimized.json +19775cd09529dac452105b6ca6a3ac65d11f81f1becc85fe3d03ecbab5cd8983 final/execution/checkout/F2-struct-method-optimized.json +36e97505470199230a2186ddf79e5e28ec8de86051a98d09b064fcda86cb43fe final/execution/checkout/F2-struct-method-unoptimized.json +f8e6446b489bd2505ccc411aaca2baa0d8413fe23b05764ed8d070e8b37f5cf8 final/execution/checkout/F3-function-optimized.json +b06d1da88645daf4c0d6107cc9ca6caaf50ce0d221266cd6688dc2af04eebd96 final/execution/checkout/F3-function-unoptimized.json +978fc1f05371c839285d0a594c9855c080cd22bf0053926408056811702ea6e4 final/execution/checkout/F3-global-local-optimized.json +7b8f23e998783e445767e04c9bf632df279bd5b2c27918a96c029123d3796b08 final/execution/checkout/F3-global-local-unoptimized.json +09d226a140ad26f217ad6c836ef2427d7c1a59d921fa8d75be483bdff79bf297 final/execution/checkout/F3-global-optimized.json +a96a5e7742422a9d7c103eb455ab217d4c8bc3c236de86bb384dcd5f8eafb996 final/execution/checkout/F3-global-unoptimized.json +51210bd85919d61487187641a1218d50f893fe6dc3540c8f6754f708fe657ff6 final/execution/checkout/F3-service-local-optimized.json +c50fba923bf474ff99b98c8f6fb410b70d7327472e296f017a7d0ae9f0438c6c final/execution/checkout/F3-service-local-unoptimized.json +7ea8b1d2ba77c8ef99b00a0427b873ac6523d970bae4d18e389034a09133ef71 final/execution/checkout/F3-service-optimized.json +258104d7e6c475d6d11678ff856936647f350d2d9e0f01df2e5fbb6083d157a3 final/execution/checkout/F3-service-unoptimized.json +d8a80b62072b8e6ce4b977cb7780b4505eca920c241351a567620939e88e1cf4 final/execution/checkout/F3-single-file-optimized.json +e5c8f9c21da265dae1670bd1bd828674e40b405525612a52aab07592c31b8ac5 final/execution/checkout/F3-single-file-unoptimized.json +ea10a8ff3cfb830d898b1173c81ea59abe74349ca8fc42192c09d0ffe70f4aeb final/execution/checkout/F4-distinct-optimized.json +00be4f51871cfa4e4818093766f329e6fafa1b4b3f9878f20bdab3e8819af8d0 final/execution/checkout/F4-distinct-unoptimized.json +c4e235683b22b0b1ce65666fd9d7f833fdfc82f99b19fbc989d9e915456cd38d final/execution/checkout/F4-public-aliases-optimized.json +e88e43f142e3ce7d98d53c6dac295b30b0a1f4e1bc5ea197df4e047187f0cc36 final/execution/checkout/F4-public-aliases-unoptimized.json +50238453c4b1c5ac076242ed07ddd414eb951d6df09207ea948e841d22ea2fec final/execution/checkout/F4-rename-a-optimized.json +578f4d8cff5435dca2d03aed2c8edd4a79a8a76989ac2910aa978c04507af36b final/execution/checkout/F4-rename-a-unoptimized.json +dcad951cf6c80b84ea6289c5bedbf72083a83379e96f4a9d60b8ae832486b926 final/execution/checkout/F4-same-dependency-optimized.json +90612e4d6815b374dbe1490509e18b8963584ed3d2c3f16e1fad3bbfa04a46bc final/execution/checkout/F4-same-dependency-unoptimized.json +cc646e9ac216544d1795e3d2e52f1f104bbe08b9fea7c8ff98c242b67e75373f final/execution/checkout/F4-same-direct-optimized.json +c0c6ea3db6a82ebc2799315193d040e0cfdc697fb1e7d5e14be15559f43b91d5 final/execution/checkout/F4-same-direct-unoptimized.json +16b86a8c2c2b79eaf154209732ef896190acdae74333ecdc2467bfd13f5f880f final/execution/checkout/F4-same-no-dependency-optimized.json +5d5e8e10a8663649b5b9a16ce54742df18e3b1e0850853061bb4a318d9bddc13 final/execution/checkout/F4-same-no-dependency-unoptimized.json +c033c84bf7d1647ec52eba9ef4043f3a05203c7777d99d9557a259b03b0a474d final/execution/checkout/F5-scene-alias-optimized.json +749cd435ef892876b2adae7ace9cd224db80e8f264edd978bc61f9195d64dcbf final/execution/checkout/F5-scene-alias-unoptimized.json +fb5bdb9ca96782a0c7901e0189ca65118b87ac95729c12f2a3806ea94ca2df4b final/execution/checkout/F5-scene-optimized.json +f7c7e4345bb51562e5a1add1cdb259287e56d3c1d63d4aaed4a083ee95ee31ed final/execution/checkout/F5-scene-positional-optimized.json +175fc784bf90fb560cb4a2487d5f74005bcb816e95397945f96fdd96fd62f81e final/execution/checkout/F5-scene-positional-unoptimized.json +40724083cf1fc326d91634bddee6d8a7f7754a98f916a5bc21c4577d6dbfde5d final/execution/checkout/F5-scene-unoptimized.json +7d15a8663b9b109ff576956bb5b3c4a0dece8a912dcd2b86e5635c4d1d87e1b0 final/execution/checkout/F5-shopvisit-optimized.json +d182fbb88e70acc31bb2180424e1e3dac500b2841863da502d9f95cddacbfd67 final/execution/checkout/F5-shopvisit-unoptimized.json +c17685962669811507da7d86e2c8f7c3492dccfdd711497821222cdbe7743fb6 final/execution/checkout/runtime-trap-control-optimized.json +63f2c37ea686d80e2164d5466110c08c3660dbafc3caa370a3ce008ede9a917a final/execution/checkout/runtime-trap-control-unoptimized.json +91e3839387d6d25395199728b936ba1040947d30bfeb236904675914f0cb4051 final/execution/installed/F1-condition-optimized.json +7cd113f8db10d317f6b5f5dea5b232e89ca6e8dd991ebf7ef9b98a9a53a5ccc2 final/execution/installed/F1-condition-unoptimized.json +372e5a7c9f70d1d0b485b0d2db2a5704f9576db50619a1f4bf689fd796eae437 final/execution/installed/F1-direct-optimized.json +58807b905641cd1eaf5f181fc780413c3f9c528002bfa32994ec3eac15dcc385 final/execution/installed/F1-direct-unoptimized.json +3286bf97a339bcbf62de33bbac86b30e32b55595cc788a11b4dcaf0de3597f7b final/execution/installed/F1-local-optimized.json +411677cda64f58a313ba728518ecadabe01b015850caf9e77424b1f60eff78f7 final/execution/installed/F1-local-unoptimized.json +462b476cd91daf583c9eeb75708a9957a42a258463af5127ddfdaac4004edc55 final/execution/installed/F1-service-local-optimized.json +0aa652ff9dc5779c4e47fe9bacf2cf9601c5fe5208a5edbe765e13c682ec8e8a final/execution/installed/F1-service-local-unoptimized.json +9fc6abeb5cbc03765d596f9a6fcc3c0588215ad0bdb3b4a0eba369dc4bef2587 final/execution/installed/F1-service-this-optimized.json +7351ed7dd3924eef15abe37e74b9a08a5df0ec51191225a086495983545d90af final/execution/installed/F1-service-this-unoptimized.json +0415fdf6635bb382f67885496812821b2254a2ea331345ab7d54bd9a89df1245 final/execution/installed/F1-two-calls-optimized.json +02f744f26148f95afe00c374e97a6061988e841267f54ec2bdf5964a62ffec25 final/execution/installed/F1-two-calls-unoptimized.json +0ca9badd0bb18d04ccd772801327474652e5119c5d7084c2847720c4c8081a4c final/execution/installed/F2-arguments-optimized.json +02f84f640ef1baa3836909afae0b14f3e4c1d9eae9a48dd6773b0a276cbbe465 final/execution/installed/F2-arguments-unoptimized.json +91c4ef001a5d43094e40cc22dd6b0f6f8851d5077bf60e836a23d0704c494a25 final/execution/installed/F2-expression-optimized.json +e336f7b83707ac1ac65639897def695b54376e0bdce56221e74e28ab5f766e5e final/execution/installed/F2-expression-unoptimized.json +9a903a5bc860b6010c8228d99615a7081c5027cc3bfc4c4112878f7238ec1fe0 final/execution/installed/F2-locals-optimized.json +dacc97b4d674274e03c7b14f2070d05d93b83c9146594e24ed6e66bcbb7eabf7 final/execution/installed/F2-locals-unoptimized.json +df5410a35c6493327b754f12654bbe2cff68fa552a10f21489a30e2ed8e78e04 final/execution/installed/F2-struct-method-optimized.json +b47e3f70c6d68a8d8bcab058b8c6f2bbe183f22e58c26d5528ae1d103b6f6a56 final/execution/installed/F2-struct-method-unoptimized.json +8d51a01a59442feda718d62bbedbf7f505a7a729a8c999c8ccc676b2e06a4be6 final/execution/installed/F3-function-optimized.json +cef0dbcee029a3604301107e95ad2f1fc685b8a3f78de9932c9407873eded50b final/execution/installed/F3-function-unoptimized.json +3b0d77328e665a12d976cd0eadf541b023a84cb0f9c5b0349238a380c15709ae final/execution/installed/F3-global-local-optimized.json +c3d5a96dc1afc8784a117e6f6a2ea45f164d63d478c5a17a0100ab3da7c04316 final/execution/installed/F3-global-local-unoptimized.json +b0cdc8ab3f60009d472028118a8bdcbb2cdcd27b97e7605c7772fc8e7b2eceea final/execution/installed/F3-global-optimized.json +c567769ec8d6355a0db23b99223e58871ce7e058e6d317f948ec222b6c38009e final/execution/installed/F3-global-unoptimized.json +eb58ef25e11ea84ba27e222435e36c955fc49f24ca3ba3c6336ae4f39cc09966 final/execution/installed/F3-service-local-optimized.json +efe1214f9ce073bd67407889f36ff99115ed73d2c6f56a354ba9528cbb204e8f final/execution/installed/F3-service-local-unoptimized.json +fb4fcc163f2db4dab596a8c37338259d6007e1a6125790ca27103c571a028fe2 final/execution/installed/F3-service-optimized.json +063ffbaa2fa53fb7dbbd40aa1773fd844f28eb19f566b5d8920a1f15368a021a final/execution/installed/F3-service-unoptimized.json +bea883fa45ee86b4b9d20b505228bf5e4c76e8c25eb126c2daa9521143d6e0c7 final/execution/installed/F3-single-file-optimized.json +c1cf4db175f139cd2824a5e13c5826ffe19fc6f48aeb0acfcc4ba4241346ba53 final/execution/installed/F3-single-file-unoptimized.json +7cb8ef345b5d45e027f0c205eeb0479b1cc8e4a6a282a12dd529c1a8f817a9f4 final/execution/installed/F4-distinct-optimized.json +0dcad62cb244c5d6e650f28469c0bfc10b41f809758eb9c9d2eefc2b687751ff final/execution/installed/F4-distinct-unoptimized.json +80d6e7feb3887f4ff4d38128a32194356b05c886220d06f61f86656556c2e93e final/execution/installed/F4-public-aliases-optimized.json +8f577dc945e451ebad0d18b1b1ae5df201da1804c11111ea142ceb493f3563bd final/execution/installed/F4-public-aliases-unoptimized.json +14d436f9a98784e1da2694efdb13c8b5f253c43fb26d1068a88c6936720ce814 final/execution/installed/F4-rename-a-optimized.json +480545aee39e3ee62551c5663889cf578af11a69e2d25ab147a9e74899dd2ac9 final/execution/installed/F4-rename-a-unoptimized.json +650b04b7a2fa2f451cb27caa2455aa20c707059a57d06eeb88280ab74c959653 final/execution/installed/F4-same-dependency-optimized.json +7fc2f3ad44e3e415062d422bce653bcacae9252c01a1038461f4d816ac4455d4 final/execution/installed/F4-same-dependency-unoptimized.json +4291cdba918cf75f114f38727dde0c0cef7b9d7cbf1fb92dc879714791dac66e final/execution/installed/F4-same-direct-optimized.json +38ddf54ed56beddb01feda622105c6b1e46ea1414dc412ca4b957c7d4b17a447 final/execution/installed/F4-same-direct-unoptimized.json +f7deb777cb54cc6d7331d3a930af7849df3b7a58e8294b73f92a3983a5cd509c final/execution/installed/F4-same-no-dependency-optimized.json +3f0ab82aee65106d2ae999b7b6ce2aaf401d30d5aca6d8db7a16f570b092a75e final/execution/installed/F4-same-no-dependency-unoptimized.json +1ca44437f198aa70b5b38ef6ed630ca0de1e87ede10822768813381a809cc7d8 final/execution/installed/F5-scene-alias-optimized.json +9493813070e8ae8fb6fb20db7574b96d3ee5e7ad9345fd66b73afce57d044203 final/execution/installed/F5-scene-alias-unoptimized.json +8959df14fd35e235cea311d7292f66433d2cccf3ca59bd14f963f61b2963ca7d final/execution/installed/F5-scene-optimized.json +9fee1716c697a0da475fa4596dcb077d5399661331bfa8497ed835c1e429904a final/execution/installed/F5-scene-positional-optimized.json +0ac7f5d59c66aae439191e3b7c10ec5334afd984d3675c77cc16e5f71eaa839f final/execution/installed/F5-scene-positional-unoptimized.json +38869dbe49422bf2dde52eaf11bc8d481dc782088b5f7d295d9de09484ef3245 final/execution/installed/F5-scene-unoptimized.json +10d92455f976273c7bbf7cf8ad7b1d47a73ada8f04956a4fb3f6204c4992e3eb final/execution/installed/F5-shopvisit-optimized.json +68062e8208bc09ddbd8ba78d16add1877a61c8af043963ff165e8d9fceea9f52 final/execution/installed/F5-shopvisit-unoptimized.json +2871fc23fb997f8d367a6408cb30849983cfdbf3cc14e04363aa88edaa5da239 final/execution/installed/runtime-trap-control-optimized.json +d8a90d91099afd43d88a8ed5049a1461f4858bacca83c299e28a74b5332ecf68 final/execution/installed/runtime-trap-control-unoptimized.json +a3cacf2045563148d717ca48a6d4a9b8d24d0afd4ac71eadd1dee5f0c7518c6c final/provenance.json +89012dab6f92785fe816c0d101dd56fa5cf5e59ad097d39f14cebb22191e32fc final/summary.json +63ca2405f3e39c1a04186bd5ccc09775374f9e07e1f0c342587278600c5ec19e focused-cases.json +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/contextual-overloads/optimized-public/manifest.json +ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0 focused/artifacts/checkout/contextual-overloads/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/contextual-overloads/optimized/manifest.json +ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0 focused/artifacts/checkout/contextual-overloads/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/contextual-overloads/unoptimized/manifest.json +311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4 focused/artifacts/checkout/contextual-overloads/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/receiver-argument-order/optimized-public/manifest.json +182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5 focused/artifacts/checkout/receiver-argument-order/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/receiver-argument-order/optimized/manifest.json +182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5 focused/artifacts/checkout/receiver-argument-order/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/receiver-argument-order/unoptimized/manifest.json +25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598 focused/artifacts/checkout/receiver-argument-order/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/shared-global-storage/optimized-public/manifest.json +9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2 focused/artifacts/checkout/shared-global-storage/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/shared-global-storage/optimized/manifest.json +9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2 focused/artifacts/checkout/shared-global-storage/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/shared-global-storage/unoptimized/manifest.json +0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df focused/artifacts/checkout/shared-global-storage/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/shared-service-singleton/optimized-public/manifest.json +4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d focused/artifacts/checkout/shared-service-singleton/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/shared-service-singleton/optimized/manifest.json +4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d focused/artifacts/checkout/shared-service-singleton/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/checkout/shared-service-singleton/unoptimized/manifest.json +9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c focused/artifacts/checkout/shared-service-singleton/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/contextual-overloads/optimized-public/manifest.json +ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0 focused/artifacts/installed/contextual-overloads/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/contextual-overloads/optimized/manifest.json +ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0 focused/artifacts/installed/contextual-overloads/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/contextual-overloads/unoptimized/manifest.json +311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4 focused/artifacts/installed/contextual-overloads/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/receiver-argument-order/optimized-public/manifest.json +182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5 focused/artifacts/installed/receiver-argument-order/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/receiver-argument-order/optimized/manifest.json +182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5 focused/artifacts/installed/receiver-argument-order/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/receiver-argument-order/unoptimized/manifest.json +25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598 focused/artifacts/installed/receiver-argument-order/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/shared-global-storage/optimized-public/manifest.json +9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2 focused/artifacts/installed/shared-global-storage/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/shared-global-storage/optimized/manifest.json +9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2 focused/artifacts/installed/shared-global-storage/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/shared-global-storage/unoptimized/manifest.json +0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df focused/artifacts/installed/shared-global-storage/unoptimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/shared-service-singleton/optimized-public/manifest.json +4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d focused/artifacts/installed/shared-service-singleton/optimized-public/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/shared-service-singleton/optimized/manifest.json +4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d focused/artifacts/installed/shared-service-singleton/optimized/program.pbx +8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63 focused/artifacts/installed/shared-service-singleton/unoptimized/manifest.json +9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c focused/artifacts/installed/shared-service-singleton/unoptimized/program.pbx +dc1312dba6e009b6e834090547d8c701edcb49fc444fa50a588b8146b4dd6a64 focused/checksums.json +a05c14b5d92d31b5977fa2c4660590396b2375c099f9a9bb4fee9a516f8c5530 focused/compilation/checkout/contextual-overloads-optimized-public.json +e1fece79a4b96178de3cddbe5182704fbea99b1513f1f00616578ffc77b87a7e focused/compilation/checkout/contextual-overloads-optimized.json +763a52305267614d8f7eb5558d35c871d2c4ed7cd248ff33dadba12c9a2eec22 focused/compilation/checkout/contextual-overloads-unoptimized.json +b6b3ce543b69e53a4e4ba09b66dc7c9d8b2ee4aaf205d47a622348d97e6a5a9e focused/compilation/checkout/private-global-optimized-public.json +1f30a20356821803e849f3dd9e95d99f729fc733a3dfc8960b1ee7667d77f652 focused/compilation/checkout/private-global-optimized.json +1f1cc4c14d42be77e5e320476dbf3b24ae37ec9acf83362d04cfed78ab79acef focused/compilation/checkout/private-global-unoptimized.json +584ef888138de0cd02a5e8535e739719e985df45645109bbd1577288a5be3eae focused/compilation/checkout/private-overload-optimized-public.json +93eaaee04c6b2355b7710265ddcc169f4959d6490473a913d04c453212457c77 focused/compilation/checkout/private-overload-optimized.json +0771ba79def1845faa6eb234f0588fe935a52a165f0b0837b3dba57e98432438 focused/compilation/checkout/private-overload-unoptimized.json +59996ebf1babfbeb2fff4438ef5485d0b4bf212fcf3da9d16361edde477090ea focused/compilation/checkout/private-service-optimized-public.json +fd5e11ec557d2f4b0852f8c14d50d051027b79d053c834cb5b07a9f91d01594a focused/compilation/checkout/private-service-optimized.json +ce532d51ebd1fb75c35f74f1ee088472db008c3acd9b221be96548fdd658bad5 focused/compilation/checkout/private-service-unoptimized.json +64ce82629926eefbdf56d0a54f3761f14795ba5d0da1cefad8e140d54f424f48 focused/compilation/checkout/receiver-argument-order-optimized-public.json +56f7c2d81c8cff0d9b75437e557bd41a582fcfc46031887a74fb9e4704fb3ffa focused/compilation/checkout/receiver-argument-order-optimized.json +f2133c891ac9672ff07a9b9df02709ea816bc7dafde04e7dded0783a782975e3 focused/compilation/checkout/receiver-argument-order-unoptimized.json +c2c1703e1b83b0971410f8b20c9b1bdd5a1bac36f324608a66c4ea2bec972a6e focused/compilation/checkout/shared-global-storage-optimized-public.json +4cbe0b4ed56dcf29820baf7ef2242b7af4a4885d7f8a20f90d40a379ebb26ce8 focused/compilation/checkout/shared-global-storage-optimized.json +8264e49c72a12d73a548d56e91ddb3930e4564541d36e24b9591145ea5891a0e focused/compilation/checkout/shared-global-storage-unoptimized.json +c9fb529e86055292bf42b3ab44a6e80df7e64868fb0d651aa2a1a515fa223867 focused/compilation/checkout/shared-service-singleton-optimized-public.json +44affad094f6e3ab5eb371950e81d046e1348bedff2672dead37050323a81b11 focused/compilation/checkout/shared-service-singleton-optimized.json +2f497619fd2b8e925cf74df55165b4848db8ebe3a2d70888b1a6c83ce07d4e04 focused/compilation/checkout/shared-service-singleton-unoptimized.json +01fbb5411e0465ac6c84e8017054b017b110d080e3e5c2f218a9068fc6aea8c3 focused/compilation/installed/contextual-overloads-optimized-public.json +ab20e6c66fab2c3d9696757d3e11025b44077c9f74e96b0b181add0eb2392a32 focused/compilation/installed/contextual-overloads-optimized.json +72251346b3f1566916d221ed9c9c12e8dd7206400ba8b1f5c55379a306ad4924 focused/compilation/installed/contextual-overloads-unoptimized.json +c8544e77aec7a6d8a623fa243b270b91b25c41ee89ff41ca4238a12477852180 focused/compilation/installed/private-global-optimized-public.json +2b1d168dd0d6e7c3d58e70c6bad9f1831b09f66a38b75cc05d951cb571dd8984 focused/compilation/installed/private-global-optimized.json +44b08dd60a2e63338ca21f1932a37a9dba5bdff93427118d433f00017bec3512 focused/compilation/installed/private-global-unoptimized.json +f149f38f7582b17b7b8fa76b10b1db0d99225195cd212aecd80894b39d4a46ad focused/compilation/installed/private-overload-optimized-public.json +285d314b7e9196680abe963aa82c1d8586b10b1789338f73a7a39cfa8c7c6e55 focused/compilation/installed/private-overload-optimized.json +d9682a912b19eade8f38a8afb8ea4df5a8ec985cdec2c85325e34f189330013f focused/compilation/installed/private-overload-unoptimized.json +e904b2cec02b08be3923133bec92631c089918768a4639ff01467b8ad76d875f focused/compilation/installed/private-service-optimized-public.json +95070f0a7522849206c40cf060a67b55295752c0916ceb99ff69146c0b309ad2 focused/compilation/installed/private-service-optimized.json +c50d46d7e1e22249bb4b3412e2c89e54afb049ee8112b0c7784e169190f528ad focused/compilation/installed/private-service-unoptimized.json +8116e2a472db8494ba0aa4f051fc717fa22958893d22b3ee2fdb65118576ce5f focused/compilation/installed/receiver-argument-order-optimized-public.json +2a66aa6a8406d75628c6b894cc84a1a02b960b480119496b770febda86151b12 focused/compilation/installed/receiver-argument-order-optimized.json +ad9ac9b96e4dd8cc65887ef000f84c4a9dab6ffdd066ec0d9cda178f611df633 focused/compilation/installed/receiver-argument-order-unoptimized.json +6241f4dd183dba403b4d1259b7cd6d6cef10acce6006c7f33dfb60f51ccd7969 focused/compilation/installed/shared-global-storage-optimized-public.json +b0b63ccb759c749d6a71582e53d26249d11bb82e1c21cd6c8062cedf7b69d443 focused/compilation/installed/shared-global-storage-optimized.json +a8d782f3d4de1b54cca1450f2524e188261debf79f1eaf9ca7c5fd32f8cb6f32 focused/compilation/installed/shared-global-storage-unoptimized.json +316d2c7549d897f9965b593a9f810d2256f166137d57e45f71a2e40bf157bf72 focused/compilation/installed/shared-service-singleton-optimized-public.json +9d952e15784d2269c6a83ab6ffd3aeaf73a276eb7ce08f5e8d7f6c514ab9f1f8 focused/compilation/installed/shared-service-singleton-optimized.json +14a79fe41d3aa2694ddabebcc09a2071728e29a1ff8c36d4cef2a392c1f3c3d0 focused/compilation/installed/shared-service-singleton-unoptimized.json +24913db50c65d44c33e1c15bcd5502bd977e948c6d63fd86b785848707d353cb focused/execution/checkout/contextual-overloads-optimized.json +9d3156c8961e105a4e6b320eccc6746348a33a502a2aaa3b403b117ae07a98e7 focused/execution/checkout/contextual-overloads-unoptimized.json +f986de7509f18923b89ae889585fd6ce4912a1329521d73282924999a8f15067 focused/execution/checkout/receiver-argument-order-optimized.json +689faf482ff8a365952d68d97a7effca1334e2a9a8fa848771d09f226af26847 focused/execution/checkout/receiver-argument-order-unoptimized.json +43ea745b477f6088a76350354bdc850e72261670705e329e0054b12f93a3db2f focused/execution/checkout/shared-global-storage-optimized.json +6f440c48e602e123331bd23347c84f6be1e3cf4f2c8477b86771f2d9c080de62 focused/execution/checkout/shared-global-storage-unoptimized.json +821da039c3d2f9eb010abf6396172bf1eeeadb358b68968f5edf614ce1e0175e focused/execution/checkout/shared-service-singleton-optimized.json +0d06f91bedac62ab34d6355ca68158f611e764eff88c85752acf7f986fa4f15e focused/execution/checkout/shared-service-singleton-unoptimized.json +4e756fc1d7fe19bfe9cf65ef819976508513d4c6d0a2bcf1dc31d1ee177ccb08 focused/execution/installed/contextual-overloads-optimized.json +55c0f55aa6b877475826f2060440f1659b866cd8bbcef8d21bb803bf57477095 focused/execution/installed/contextual-overloads-unoptimized.json +c7f62ac273a08b6d7b4d5a096091c724fb3cfa1f3eadab95847fd1ec7ca0ba99 focused/execution/installed/receiver-argument-order-optimized.json +f37de1f2f5e54b20ba9a6a4e13208e4e2869c78d0925ea26d4d0fa67e3c37311 focused/execution/installed/receiver-argument-order-unoptimized.json +64bd01c940e76bf8e9eb5c08d9e747e3669784af29140b41c71839b1d2881640 focused/execution/installed/shared-global-storage-optimized.json +028c2a5a293a80dc08c0c99ca2ec79593e54aea8f475c218fa5e68da6b73246e focused/execution/installed/shared-global-storage-unoptimized.json +8007e663e33f10776c6f6c4a8601987505f05edf2c78b568d9b8e4403a79c433 focused/execution/installed/shared-service-singleton-optimized.json +57164ab2d8f84d29652123612959119a76b8d8892e8ebf029c29b871bfc6928c focused/execution/installed/shared-service-singleton-unoptimized.json +ef0cc70e2b775b01dbbf96feaddeddeb25d6271dac973ab4889ec22d1b12a840 focused/provenance.json +e7175f264f3a483e3f28a966343684f1ede01a0b1e97960422f8803c8e08568c focused/summary.json +85ed6e48ebfbad9ddfb93983da9ce77c45c409b7277cb9e474917e8ac7512762 frontend-before.log +023d9bebc00f64c413cf25cb40b6e13dabb68fb9c7b536911733f8da17381a23 gradle-final.log +9222bf31fda7b1e03fb0a33d6fc36dd63c962d6533d647966345b359ec97eb95 matrix-final.log +b42163080cf7444b612f8c794ec7b062b015283b5c9ded5bfbada3041bda9873 matrix-focused.log +a40e50611eea334616774b5fdaf5ac693a388143cf41340b37c545cf5c32b5df nominal/after.json +fd656ebf39ceda97b36d10a96a875667b236f3c947779a9c3454d7893f8c9a2d nominal/before.json +183d167d16a416112ce40bfb7b3016313a49dca3bae88828f7353110791d1507 qualification.json +2d21fadc04c7e2abe4fe3c63fed6ba801cbc0080d2791ad46d9da13de8974452 studio/frozen-corpus-after.json +29c0ea6f8fe883d453565739da96168a69da97548e5d0bccdf8922b5a1b2d62c tests/app/TEST-p.studio.app.StudioApplicationConfigurationTest.xml +31cd706be9a4847a6a5ae6dad9ef584c8bc8fdf7605b60500eda94f9a91e654c tests/app/TEST-p.studio.app.StudioPackerEventAdapterTest.xml +893e10ed70a14668ad44625f2d0b179a5854ed10cf03327a54715815bdd318da tests/app/TEST-p.studio.app.animation.AnimationIntegrationTest.xml +b539e26496f97cb4ba6ca8a4851096a97a8d66d63bb9cabe0b6facd239b6d4fb tests/app/TEST-p.studio.app.compiler.CompilerProjectKnowledgeTest.xml +f83da30e9d16279255b032d372f0d993e9e3bc9f56ea24004f9e0d30d5ea000c tests/app/TEST-p.studio.app.compiler.CompilerProjectLanguageCatalogTest.xml +ac3b54179e81615c060e3fe7283e3d81d90bba894571d38dc682ee8555889a1e tests/app/TEST-p.studio.app.compiler.ProjectReferencesTest.xml +f1f60527a53769cd71ce0758785e2bc239635445efbec3caec7689b8709f7248 tests/app/TEST-p.studio.app.lsp.AutomationLspQueriesTest.xml +5177ee16eec2304439c39dee7f85ad8f88bdc169e6daebe11f41e79462793556 tests/app/TEST-p.studio.app.lsp.LanguageFailureContractTest.xml +0e7c04a0ddb770ae3b14748286424ebc3bf4d2c58d00b2f452ab94871d463879 tests/app/TEST-p.studio.app.lsp.LspDiscoveryTest.xml +3a2ee31c1dbfda38f87207993fc06da1ac8c5f282d1038e5b51a69d68de5a13d tests/app/TEST-p.studio.app.mcp.LocalMcpServerTest.xml +e99446b4585a0c60980855dfd92adf6e77a8a7b5b2f9a4023f4235e348f72d36 tests/app/TEST-p.studio.app.mcp.McpConnectionGuideTest.xml +68f017661da238371078b40bf539f84f7b13b6c223cc12844ac41bffc9284fcf tests/app/TEST-p.studio.app.mcp.McpContractTest.xml +06caa01c0422d7ca901bb037a71a63e135e59bb31a7db5a08c29408aa03b0966 tests/app/TEST-p.studio.app.mcp.McpTaskToolsTest.xml +e81105b37c1a675cd670f00522d4ae208ba1f3933d7be217fd78d9a4214c9014 tests/app/TEST-p.studio.app.mcp.ProjectConnectionPublisherTest.xml +26b86efafc8e7751c8699cc36b8c2d005fe13c4b696ace4fbf6977ca17ca6db1 tests/app/TEST-p.studio.app.mcp.StructuredDiagnosticsIntegrationTest.xml +9691af86aa074b95af19e596aaac145c48477e2ae0e0e794367e4e402c3aff89 tests/app/TEST-p.studio.app.mcp.StudioAgentPreparationTest.xml +5f581aada6b47663108c6b84e6d2fd2966ea032131fd0cd5973b92d7f1929ef3 tests/app/TEST-p.studio.app.mcp.stdio.StudioMcpStdioTest.xml +4ae2ca061f6599ad4e03149c09f166618db6b28a5d8274ac21e673dffe69c1fd tests/app/TEST-p.studio.app.operation.ExecutorOperationExecutorTest.xml +01b2f878ced358d3db47b1025cf43c0c938b092466a847e5d170fa74d5439ad5 tests/app/TEST-p.studio.app.runtime.DesktopMemcardSelectionTest.xml +416c0c468dddb57c847db86cd1759a790d97bd4974802ea613bcb57e16ad5d6d tests/app/TEST-p.studio.app.runtime.HeadlessProcessSessionTest.xml +e595ce99b881f35a12fc7fe7c6046d93e0d661f9bb4147563bcce81fb8c892f4 tests/installedKnowledge/TEST-p.studio.app.compiler.InstalledKnowledgeTest.xml +d05849e85c189e82350fb072cf007d897448e12d22b85ce0c6a6cf8c6bc76111 tests/lsp/TEST-p.studio.lsp.services.ExternalSourceDevelopmentHostTest.xml +4dbbb432fe168f6f810ee6cfa555e92a12656bc09b935203ee5678fcfd42b349 tests/lsp/TEST-p.studio.lsp.services.LspServerLifecycleTest.xml +e66b4a61e714f2fecb345310c60adafad140a23b17b4a6665c3f5123aa339ea2 tests/lsp/TEST-p.studio.lsp.services.compiler.CompilerLanguageServiceBridgeTest.xml +7b9efae017d58d545a681c5bd014a8be4f7a472f24776267c7b960b48cb46bef tests/lsp/TEST-p.studio.lsp.services.compiler.ExternalSourceRegistryTest.xml +d80cfd76a5cb87fb157120722d09b2b6cf5c0c7f3652d500133327d3607d3048 tests/lsp/TEST-p.studio.lsp.services.protocol.DiagnosticAnalysisProtocolTest.xml +9783ebf5a1bcf9579c8b52a9233a35f513c2f4d47a46013dd3e5918a67237ca6 tests/lsp/TEST-p.studio.lsp.services.protocol.ExternalWriteBoundaryTest.xml +67a0a73c3da4216ac2b90f4d41f3ffc16fc394e54c6c4800db20344a39ad6dfa tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuLanguageServerTest.xml +ed5f88bd90e1eaa381c11ffb209304490be01291789a16c1a99c0b1d168eebc7 tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuTextDocumentServiceTest.xml +1da7b210fafc5c9e6652c68f639a5e2854f89651be5c7a005f745a4361d0ea9c tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuWorkspaceServiceTest.xml +e629740c5a9a7892a0c6100f85a807470643b9c456353ac93419f0bd6a1157b3 tests/lsp/TEST-p.studio.lsp.services.protocol.mapping.Lsp4jProtocolMessageMapperTest.xml +4a7be25483130ed60b2e1a0ce35f6b68543f99e1eee9752f53c55c02132feef9 tests/pbs/TEST-p.studio.compiler.PBSFrontendDocumentLinkTest.xml +68ed0fc08f8c9c1fc8f5bbf0183a59205ed426d6034be057a7fec5686d5b16f0 tests/pbs/TEST-p.studio.compiler.PBSFrontendModuleCompletionTest.xml +a36d8bc30850ea807308a93ee9b98ba502009a12c92ab9428caca0bc37f4d9fd tests/pbs/TEST-p.studio.compiler.PBSFrontendProviderTest.xml +1a3d8bab2458a0e9f473557e09c8c4f49ce913a9623ae7700ff404989d7e6f54 tests/pbs/TEST-p.studio.compiler.pbs.GenericDiagnosticContextTest.xml +ffc942955cd4b10a20e3d23cb4e019a25d8ac7b2dd26d2447781fdcd2412c861 tests/pbs/TEST-p.studio.compiler.pbs.PbsCallHierarchyTest.xml +bbb11e6192c350ee1cb8ed4fdc25cc075d5ca3c50bd42b8fc0f817d2800d1323 tests/pbs/TEST-p.studio.compiler.pbs.PbsDiagnosticsContractTest.xml +08fc690e3169f8d8665a7d6583d86dcbdca4378c932a9d00aa480bee8ccff35d tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentFormatterTest.xml +5eeded9b63a0547b69e8fb5d1c4f6789f5af3b83bccad0aaa1112fe7ace822cb tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentationTextBlockNormalizerTest.xml +89d2a1edf44248aa82d81c3efcdda429b68dc0d5d3e773e63ec10090f55adf30 tests/pbs/TEST-p.studio.compiler.pbs.PbsFrontendCompilerTest.xml +4dec3f4c09ce7e0c8e754e508554fbbcf29ecfe95cfdb32e441507d458746144 tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUSdkInterfaceConformanceTest.xml +919afe210c33de0ed86de6d7fcac6bf2279026dd9fa91c8e667d96da9308b60b tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUStdlibCompileTest.xml +d14c4ee24f9611419466eafc8302991f67b2f3868bdfe292cd131ff1aea4c792 tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericContractsTest.xml +0ba3419ab52160257d2b1630861cf53a28a5ee73cafb5162815c3983c64ecb75 tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericStructsTest.xml +add9e902c6c814147412daf076c312ecab02679fa41c73375dd72c148a25e3ce tests/pbs/TEST-p.studio.compiler.pbs.PbsGoldenArtifactsTest.xml +6ed97be264da2079da5346a45ea5e060a4018e85021c56030d614e0a3a164c0b tests/pbs/TEST-p.studio.compiler.pbs.PbsMapKeyvalTest.xml +456d8bef491f242294e3e594261ea7bbfa6bf463be2e6764af342f36a607e818 tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticPresentationContractTest.xml +8479f4620454ecf1db31e137a526afca988447b2e6c9c2288ad5358d32f2ee28 tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticTokenOverlayTest.xml +8b5315b04d801852ff72489eb65fd324ccc031590d8e0f9f4de4820f74eb9167 tests/pbs/TEST-p.studio.compiler.pbs.PbsStackQueueTest.xml +29a40eedf4e1617065c90b382ffb47bfb0c4723ec15275327582253e39d5cfab tests/pbs/TEST-p.studio.compiler.pbs.PbsStructureRangesTest.xml +664e795235f070f4993c05d690545bb9c190a1e6d0b9de91a230074eda4770d2 tests/pbs/TEST-p.studio.compiler.pbs.documentation.PbsDocumentationTest.xml +c1161e3be663fa27099b3d6f0e9323abd998cb1527cdaf75416d5a896a2a25ae tests/pbs/TEST-p.studio.compiler.pbs.lexer.PbsLexerTest.xml +ad83576aaf8b4411bb38fdaa1dd1a98a4751a818c0a630ce1a180d6c34f0f7c1 tests/pbs/TEST-p.studio.compiler.pbs.linking.PbsModuleVisibilityTest.xml +cd1e459dffae947ea1c0cd0bd1d0b766406a7ced7ce72302eecf72b234fa81af tests/pbs/TEST-p.studio.compiler.pbs.lowering.PbsNominalOwnerRegressionTest.xml +af96f72668eb75f6fbbcd4c4bec9ac4bcc3ea4dc6105597010f49b2a648be505 tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsBarrelParserTest.xml +45010fe45cf825d5a14f0124c324d66f86f319dba3b70768baec4d8669de14cd tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsExprParserTest.xml +51c0206912485b4354b2ee541269ddbc6f126db1b6081ffd64dfc536d95dc3b8 tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserStatementsTest.xml +b6ed26251ce72f4f8c456dfa2bfcb0140074f2cea3043910174126ec1dedbc07 tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserTest.xml +78bbf1b19264fb34fecd83af53be9654f293c3cfe0578684a0fb7a55d29f1a60 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsEditorialSupportServiceTest.xml +cdcea7c0e833339ee2b32c26706fc58d9f6e93ca419144365e0f715d98c6f154 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericContractsEditorialTest.xml +aacaa54b0e9f9612109fe088cdc533e8ba88ff86d2adfba0b11a56a7eedef71d tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericStructsEditorialTest.xml +c13a7270c6de1729e67abf6bb5cce227be05fe25e4cdd519a1a3f1c71eda6463 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGlobalSemanticsValidatorTest.xml +c72d6fcb818ff5595668174e81e5c7caec0eee51368b8b40226a1764f3bcc86d tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsIgnoredValueSemanticsTest.xml +dbbe3348049795bbd1039ebf467a0d9b77cf58337d063f0bab896654c5f69dce tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsInterfaceModuleSemanticsTest.xml +54bfb4ba94487ee7589177971533b2d30c25323767f6945e9a023b31b7c1c2d3 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsListCursorEditorialTest.xml +4ae2b3fd815e3b76c82ed87caa4c7b6e0b942d6e0925e9602bad096ef8a2d355 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsMapKeyvalEditorialTest.xml +9b7da9d32f3dedfee42c21c0ac0cf361e0c2763e89af14210e3726467b53cc49 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsQuickFixCollectorTest.xml +a6905588c19d66e6c7e41aed658617bf0ed1885abc4e196f042c6bdf76357c6f tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsApplyResolutionTest.xml +fe3d9c6792d3aae4a0e2854c67978c02c8a030b32c0c7b856aecf4d68751a532 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsAssignmentTest.xml +454ff92cc03ef632037e517f08116fe3bd07cc3800a4fab522d3be5be4dd7b22 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsConstTest.xml +aa665d5fbbd94f5d5d33b7116b70d20e1d1178445a6a11ac922d3fb64a3ab7c7 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsControlFlowTest.xml +6e8af202619d28ffe90c0d8956995da70980e82ec352fbecec1b0b55889c123a tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsDeclarationsTest.xml +b43f754c4f2edae2a56e3829d824466a4f0d3bddfa83de0359179fe303a68bb2 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsFallthroughTest.xml +6377d8d100ee2840d0e36ceff359c8c2b31c8c3469f81c89fda9d42a762d0ecf tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsOptionalResultTest.xml +0a426383f5acf770360348ae75a04ee04cadaf85e04e22f7c684e77d1c9abd15 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsResultFlowRulesTest.xml +372b30a65dc3e2b3dbdadadb3ca0ee413f524cfdd147d364cbda572887a39a39 tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsStackQueueEditorialTest.xml +3ae233c5691b11f70a23784a8838116cb79edc9932bff666ff076e22c4c8578b tests/pbs/TEST-p.studio.compiler.pbs.stdlib.InterfaceModuleLoaderTest.xml +84cd4f96230570d107843cac2a88458573bff5db59d3364b2e7b9b6c2f206ac7 tests/pbs/TEST-p.studio.compiler.services.PBSFrontendPhaseServiceTest.xml +6d4231df2f33f891861acc761c775ea3e24bd4dbe292f1d78b1fa46f9619fec1 tests/pbs/TEST-p.studio.compiler.services.PbsGuestLifecycleSemanticsTest.xml +0e5de346f9dcf3a7028facf602b9f7a42b9783b43af80097d071b5e5acc4bf93 tests/pbs/TEST-p.studio.compiler.services.PbsProductionLoweringRegressionTest.xml +7fe5c9adaf177d1b839584833c009c017d93203e0e5a5cb9d06af6c64cf2ef9e tests/pipeline/TEST-p.studio.compiler.backend.GoldenArtifactsTest.xml +2e54b1e71e850b8d4c8a8e17f3e36e99365cb46a435a7f1188c244c4f53ac9f9 tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeEmitterTest.xml +9ba715ba3567764ee043d3b14b0080cc4c5be59e02ef3828e9d66d34ee194042 tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeFunctionLayoutBuilderTest.xml +09d21f68eb9e8615cd46dda2eb0969d86e2ad96dc9ab86de1c7a3cd402a31e15 tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeLinkPrecheckServiceTest.xml +d44f7f7df6568ab5c95c0b152cdc78236bd03967d367c6b3d301ea9ffba2cbd9 tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeModuleTest.xml +83ecdd0306188d29e484f877cdf366002f47295e1355940401819c2456079e01 tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml +f7d66cf414ca4ef10e2377c1316eb066a47841c0188e60084e359b71576ae7bf tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml +57c4897f299425c982f8d3884475805e3ad95415e6655e32484394b4f6427e42 tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMInstructionTest.xml +6980f708b2de402dd6d69f613384b327407d52ced03c443e7d29d497bbd61a01 tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicProfileTest.xml +919157dcbe3178f6b036d527cbc461edd2c6831dec8710ef48a33feed2c7de21 tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicRegistryParityTest.xml +049135dc6ef072fd5cf22c32052f4bbbc6a8e2cb6ee7f06c8837f6cbd1ba26cc tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMProgramTest.xml +fb40f088fbf29d6847960ec71b3999b6cc3fc3b9ee95e5961b4705088a3b6743 tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMValidatorTest.xml +ac503b4272a1d53739dfe7f60a6836c55b67da62c6651d3e729b775feb5d948e tests/pipeline/TEST-p.studio.compiler.backend.irvm.LowerToIRVMServiceTest.xml +dd697ea05092bedd09a34fbd9bd9e8ec0931f17ba7dd200d7fbc800512851875 tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMEquivalenceHarnessTest.xml +882a55bfbf27b1152225f3f6dddbcb63672137158730a8ca675c457295ac0033 tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMServiceTest.xml +c2f24f99504efb7f3ad541765f1f1410afbab25b3aa69b8b07d7020301fbab0f tests/pipeline/TEST-p.studio.compiler.backend.irvm.RuntimeCatalogPipelineTest.xml +2768a811506ee8247c94e946e747c673ecdf2d4eaed95c227d9c844a7f77d334 tests/pipeline/TEST-p.studio.compiler.backend.registry.ArrayCopyPipelineTest.xml +fdcaa5d439b35ee1b7f19ed652cab376b7692df75f612cb0ad153fb8c68564f8 tests/pipeline/TEST-p.studio.compiler.backend.registry.IdentityHashingPipelineTest.xml +77a1ee0a768dc3038c3d42cc722b9b946f61ec82b91dcbe37e3a202b37a8442c tests/pipeline/TEST-p.studio.compiler.backend.registry.LinkedRegistryTest.xml +68c1ed1a8736d9d3825d1bc191b5ff73017220a471da7ae91be3534468789776 tests/pipeline/TEST-p.studio.compiler.backend.registry.PbxRegistryConformanceTest.xml +b0c310ba1b54ca2e4aa134e3766106acccca1d7a0b542cbffe6463cb56d0cca4 tests/pipeline/TEST-p.studio.compiler.backend.registry.StoragePublicationPipelineTest.xml +d3fb86de8cc0c751f554da327b1aa02966ff69036a405e9303093ff39e8bab06 tests/pipeline/TEST-p.studio.compiler.backend.registry.TypedCommonPipelineTest.xml +0bac09fdb6276c509617f39e140146f2d38b5d434bb0353af427b8a92418f99b tests/pipeline/TEST-p.studio.compiler.integration.BackendGateIIntegrationTest.xml +c7b3cf5d9f4fe0961a86f70b121e1e51bec8a04939012d0f91464922f1656145 tests/pipeline/TEST-p.studio.compiler.integration.MainProjectPipelineIntegrationTest.xml +34a2bfe2871c0139e5522b10e8a77de0a3e0b8c2b4c01f12cedf9cedabd92f1c tests/pipeline/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml +700ae8990726ec972ecfd7c65e1faac1b180b1db872d77d116ef1decab6b0ec6 tests/pipeline/TEST-p.studio.compiler.integration.RuntimeBackedCompatibilityAdapterTest.xml +d713acc56e0a4eb7c76d26bfe26ff8868fa7106587fb5d9f1697840010beb27d tests/pipeline/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml +12871b92bbe444a4cfd98afc72957cdb28b3e53895de0b45e6ec553014155e5e tests/pipeline/TEST-p.studio.compiler.lifecycle.LifecycleAssemblerServiceTest.xml +3d09734e67c8f49ba4987eba1e401161fc31199dd07f0b6a44512e2373b93aee tests/pipeline/TEST-p.studio.compiler.specs.BackendClaimScopeSpecTest.xml +62822b717e5a9c1595e11c410449dc6e2846db26cbd0ef1628af674824143413 tests/pipeline/TEST-p.studio.compiler.specs.BackendConformanceMatrixSpecTest.xml +d611eb380d5c6f3daa9c2f3bee5861717b1458ff042983ef4dc2e2594f104761 tests/pipeline/TEST-p.studio.compiler.specs.ConsoleAbiAuthoritySpecTest.xml +04ba24fe9e5e9a7e3b0f304793fdf95b300b0192181736fd5196fbc620c1341b tests/pipeline/TEST-p.studio.compiler.specs.FrontendProviderBoundaryTest.xml +82ca3a91da6f0a5213d0f0c2c58ecff99fd10944550c2a959b5315c6685df36a tests/pipeline/TEST-p.studio.compiler.specs.NoModuleKeyRegressionSpecTest.xml +9eef61a34c76307f826a23cfd0bf60370d947756d1441c588ec92b8a55a874ae tests/pipeline/TEST-p.studio.compiler.specs.ValidationOwnershipSpecTest.xml +afe079af6cc0f3b1bbc3a7276f6d275df36d872cb2c17126d41fa15d21f0ad10 tests/pipeline/TEST-p.studio.compiler.workspaces.AssetSurfaceContextLoaderTest.xml +0ac56938ced3d53663e18e5cd5c2181379036b4190ef6a258ccefd9959df2e42 tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelinePublicSurfaceTest.xml +a16c1752f051283c2278810b87d80b769f0882f545d522284f558cbe8183d250 tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelineServiceOrderTest.xml +767497a3b3250110ad6cf8073bd44cdaea8f4daba860108bfce2ed2fcfb34e2c tests/pipeline/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml +0e37704668b54e9bb78349b2b4aa20163ebea76e4c35cbb7e70a6196271a1c56 tests/pipeline/TEST-p.studio.compiler.workspaces.stages.AssembleLifecyclePipelineStageTest.xml +6a8e34364c396804b0ead6eb84d93185e088782c703b9f0c5b379ec895daaf39 tests/pipeline/TEST-p.studio.compiler.workspaces.stages.BackendSafetyGateSUTest.xml +849ad7bb32ae534daf105c9da5e1923112051f9f0d6b84a330bd557a22fa5ef3 tests/pipeline/TEST-p.studio.compiler.workspaces.stages.EmitBytecodePipelineStageTest.xml +e8e638c3cc6db93b3cacdf8a4f7a86ca2dd786564994f47aaede1b457d819e21 tests/pipeline/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml +56b011f01131d3ff92e7284c5f1ec6c7bf7cf1dd9625391126e6a8267e6920c0 tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LinkBytecodePipelineStageTest.xml +b7c43984b096282e309301c47b7605629e7c5982ebfec38122e044a33d048a6f tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml +131185aeed38a0243207b5600d8dca040d4b6e0291513c3565d1b31f35276f6f tests/pipeline/TEST-p.studio.compiler.workspaces.stages.OptimizeIRVMPipelineStageTest.xml +a03e5b653eb5305670ac2cc0ebf8b39dcecdb8984825e786bdf51367c73ff958 tests/pipeline/TEST-p.studio.compiler.workspaces.stages.SourceCrawlerTest.xml +696252b4000f9c98a05eff0f57db1e17fac631271f9da0eefa803ae062ccd64d tests/pipeline/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml +45c88716656eccb71b144cae837044607f609c530c18d0a65fa77ec5dc0f4dc4 tests/pipeline/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline-preserved-sha256.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline-preserved-sha256.json new file mode 100644 index 00000000..f1ec7f84 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline-preserved-sha256.json @@ -0,0 +1,183 @@ +{ + "provenance.json": "8f4e7bb1f3813f7bd4b25309629f39b0a44c57fae6e9f492d80c6746a4740450", + "execute.py": "3cba903588aeba2b3615058d06102e9b2b0d84a4738f1d7e33f41e16428a930f", + "summarize.py": "f58d64158242408961f707fed7c3d2b7b1715e3b9e74e5344f1bcb2bedab5508", + "cases.json": "0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87", + "inventory.json": "d56838a9083394197a447dc1ca3bf723bd071c1d4ff215b473d535f6799f7b8a", + "Agd113Probe.java": "af8f1f8621ef33ef341d6d13748dff003108fff30124c083b7cb5744eb56e309", + "SHA256SUMS": "70c8225e346d0b73adf8ed0c5c2b1c46264c55dc24dbf76e32268a58a48afa51", + "investigate.py": "fe281b67cd942290d1fdcf44da471f17303335fea59ce75449f64e415763787c", + "reports/installed/F2-locals-unoptimized.json": "35d6057c2d06fb579ac7cfda017cee3ad4d195541970ba6e083d1498fbdf2670", + "reports/installed/F1-condition-optimized.json": "469f804f373dc836723cc1a3819ebe887d949f68662df02712fca59432d64281", + "reports/installed/summary.json": "ccda50babb0435b71a8be61cfb917a61d2fcfb40b9175726934061b7ca345a83", + "reports/installed/F3-file-private-unoptimized.json": "aee05b230a89fa80bd63fe994cb8be3159d77e22213b39344072595943dcec27", + "reports/installed/F3-service-local-optimized.json": "073f9da774e8f1fae31ca8502660f0952a0c8c69953915e751315ab124264f52", + "reports/installed/F2-struct-method-unoptimized.json": "f7c5f05ea2f7039f1a7a4b58e78f22873ccd995bf5368e8181c0278c6e2632fc", + "reports/installed/F4-same-dependency-optimized.json": "b23771bdeb63b8b57f3d61bae5cc490c6b21db026bd080c7271f5827702c5a28", + "reports/installed/runtime.json": "f4fa2254c59287e612ad15def09923d1b06bb99ebaf9ed963c772e3c6bef6ac0", + "reports/installed/F3-service-local-optimized-public.json": "5ea34cb5f32828c94cb22592cf29c8f018dc60c1a899e14b7995d8d5b50e3347", + "reports/installed/F4-same-no-dependency-optimized.json": "424d84c46f387d174f375412aa2e5aeff80e1cbb94ce754734588ca080fffa4f", + "reports/installed/F2-arguments-optimized-public.json": "feb21410cb1ec1a06622e92637f0362d6364175745904ab651234a2b41f87040", + "reports/installed/F1-local-optimized-public.json": "c2513667963a8a67070b1cc10ba08efe68ef8af719ae664e6e4b6554ce0e01ac", + "reports/installed/runtime-trap-control-unoptimized.json": "4717b4e67e8833c1ff97a5f8b2f889ec2a5257ac4da2ab3e9f911f7347e301ab", + "reports/installed/F4-distinct-unoptimized.json": "e087bdeee22535e90d9fac072d24fd14ef32c1850d32ee25f66f2894cefd32e3", + "reports/installed/F2-arguments-optimized.json": "a84cfdbd07d153fa4c2bd5215e6c73e7b3f23cf9368ee595307f5e27d390df91", + "reports/installed/F4-distinct-optimized-public.json": "74b134569c412f3d883879d2c9fc46c36290d25bea74b275f379e42ad73cd22f", + "reports/installed/F4-public-aliases-optimized-public.json": "b0354d3f005a4411f7dfe216628dfd3aa6d9a3098a0d73e0acb9c67737b18cc7", + "reports/installed/F3-function-optimized.json": "83115007570081c0c608b9f3896fd4bb6a2b8ec4abc950fddf6207dcf9a19dab", + "reports/installed/F3-single-file-unoptimized.json": "ac02aeb7dc426c9f271c314cfb8b67dd5bb7053ddd5aebebef7cab7eb253060e", + "reports/installed/F5-scene-alias-optimized.json": "9fde0cbe08ac1a7289bce315e641d9538f6a551894d434cc265f30dbd4b86cb9", + "reports/installed/F2-locals-optimized-public.json": "78c8f1e93daaef9eca253da562491c97c8313c351e5471495246d5325d46079d", + "reports/installed/F2-struct-method-optimized-public.json": "3795228c5d28454e6003edb046d495e3834065f5f2b8205a4aae3691850db101", + "reports/installed/F1-two-calls-optimized-public.json": "3c13ff6c444abb13ec91dbc2d3cb9f672815f6194cda32a15f655aa9941ed907", + "reports/installed/F1-service-this-optimized.json": "63704de93235b32d9b1d8c0ce7d9d23f0cd55f1139155faabaf01d61feed15fa", + "reports/installed/F4-rename-a-optimized.json": "6049003c167951da2b09b292a511c049f38fbf7e0cee70dae54fe3ba429501ae", + "reports/installed/F4-distinct-optimized.json": "39fbba16eb57fa255314703d30cd50468ba0485161024b2620e5758e4cd6b82e", + "reports/installed/F4-same-direct-optimized.json": "63cfe8f2117c0d7d4e4862c1757d60bf575483f95b9f4d26117257a77dbb194c", + "reports/installed/F3-global-optimized-public.json": "6c54ebaa699b648af9e13042010dc8fcaf03b07f85981a71a5e55f9c203b0dd5", + "reports/installed/F1-direct-unoptimized.json": "e1c1e3300d337886bf19e8d898fe99c041b080d23553b976ff0376e851c8463b", + "reports/installed/F2-expression-optimized.json": "68c9e518d9618758e0f4ac56fb9b90e6cb980f202c7ef59491b2403c0b35c1bf", + "reports/installed/F4-rename-a-optimized-public.json": "2d5a8a4856f0317e6e30f9a25d0215687446323c5b7ed1c06cd9c19843c593d1", + "reports/installed/F5-scene-positional-optimized.json": "563908675229d594cb84868f13991386347f49a10186712e3615d9a528870acb", + "reports/installed/F3-single-file-optimized.json": "d1f4e1ba3eb4add3967bf3f8f3cd4d85ebb36f3207fe35db3dfc53ee815292b6", + "reports/installed/F3-global-local-unoptimized.json": "39d075d8acd637052c039aaf443710607b897060ecd4dcf4de0606c6525e19b3", + "reports/installed/F4-same-direct-optimized-public.json": "151906886bd63c0ea527e9e5ade1de04f61d664482928b6cbd6c2382f94bcdc4", + "reports/installed/F4-public-aliases-optimized.json": "c146756e6bc640d0c303a30a44b2e3227a56a92a28458341f5d3b3ee830c289a", + "reports/installed/F5-scene-alias-optimized-public.json": "7b1885628b3493403170b54342abc388a50442d7fa120a18a04aa22dc60ef31b", + "reports/installed/F3-file-private-optimized-public.json": "6832d99b8ea7e979a1c368fe022ac29595c68546697fbfa76499f4a74371027e", + "reports/installed/F4-public-aliases-unoptimized.json": "557f86fe0522db15bd23f60de6a3852a5a2350e880a6e3152b36f30153f26877", + "reports/installed/F5-scene-positional-unoptimized.json": "5a43c1f448791d82d0915cad5f276d7c43c8ca862535bd9984c8a07ec4c94975", + "reports/installed/F3-service-local-unoptimized.json": "b502718a9c5fd1617c29858ac790a3eb60c1150ac0aabcf4a4bc9fa7a8e4cf89", + "reports/installed/F4-same-no-dependency-optimized-public.json": "9fdaf41b8a8c493a5660e1b4fbf6c480cbf6af9f324017ec855fc23cb0b1b69e", + "reports/installed/F2-struct-method-optimized.json": "6478d644c1ef0411d46e868048559c91af1b2991dee293bfa5d17f5df1817c55", + "reports/installed/F3-global-unoptimized.json": "fdae63aa0bac5994cbacc15aa5499acd42c19d0fdb77292bfe73ce2cc3937d38", + "reports/installed/F4-same-no-dependency-unoptimized.json": "16b73210ab56edcc9f8085cfcd3178f2f75dab82f3e7454a2eb47e477e069d71", + "reports/installed/F3-global-optimized.json": "dabbd7673f094d416cde03d949a8a671013200b6126b1202cae7827e61ed4f85", + "reports/installed/F5-scene-alias-unoptimized.json": "bc5daab68bb2277bd27e2033701bc2af3152121bd0a98d94140ccaf79c253054", + "reports/installed/F5-shopvisit-unoptimized.json": "5ada64b78c6bbd2edf6e8fdb3bdd3f2636e65f83433be1a416f29fc321ced246", + "reports/installed/F5-scene-optimized.json": "799850e92bcb8131ece497ad6ae3483f24393f763c7cc45602865e444343d4b5", + "reports/installed/runtime-trap-control-optimized.json": "adf1ed574b9b6efc24e96f30345481306b11cde436ef8089e61e92917c0197a6", + "reports/installed/F1-direct-optimized-public.json": "940ea6f79bcd75fdc8bee32b136bc8a35a49f9ec96478d6740f3b094e74b4e73", + "reports/installed/F2-expression-optimized-public.json": "9af9025a55eea1abe6a15c0c5e48ee6cf7046b3179d909efe48ae1d7b99a4c26", + "reports/installed/F2-expression-unoptimized.json": "c7be8a43b1a751f89f363259dc55496c47229984b85e6324dffc1e4dd3d87601", + "reports/installed/F3-global-local-optimized.json": "7aef5c854de418b7a74bfe2a64a99f0769c82862ceb31c8402b43121ba9103dd", + "reports/installed/F3-service-unoptimized.json": "5ea12eaabe8e7fa52589981d7af270f4cbe94e8891c2e4c5a84fe8a59b88cf39", + "reports/installed/F1-two-calls-unoptimized.json": "ab0219ef9e1ee1f7ffaa7b412fbc1f9c012b15627178ecf5befe0efda6affbb8", + "reports/installed/F3-service-optimized-public.json": "b51efdaa8fe8dd1466da235765579c436507f44d880d5e375a4d94a6e57bb32d", + "reports/installed/F5-scene-unoptimized.json": "efd5a110e9e045e4dacaa8460b1ef0836ac28f93beccdabdbdd46187c487cf06", + "reports/installed/F2-arguments-unoptimized.json": "a3efe914c7d380a1048bbee6c27ef54f29e52df0db81e271c720198ac1212680", + "reports/installed/runtime-trap-control-optimized-public.json": "85f48d8419ed67df2012374bde725b1384770c4af09e359565ffae64b4d39d42", + "reports/installed/F1-condition-optimized-public.json": "100808d1ea68e381465d3decfa6522f7441c70e98651e1080908a80f7537857e", + "reports/installed/F1-service-local-optimized-public.json": "f87301a43d1da6189a05e1615292f7bb3f736c09260db952c7bdfac68731fdd6", + "reports/installed/F1-service-this-unoptimized.json": "535682fbb82e6d63a77935d525d5742369d311a0179a2028082b78521503f599", + "reports/installed/F5-shopvisit-optimized.json": "e2a6b92a411fcc7bd773f722ed01e19dc05fdf79ace2ed9817b44900690ec25b", + "reports/installed/F2-locals-optimized.json": "59f81ac09ed1dfce7c010b07ed7266a6269eaef3258c61c30f8ed5ad71328b77", + "reports/installed/F3-file-private-optimized.json": "56f11754501835fbebe8eaa07d77fff75d5fc44da469788b851b3e5428c410fa", + "reports/installed/F1-service-local-optimized.json": "327480aa7a9f38cfea84b2f203f0c73b7db65dad618e8771758e87f51f96e70d", + "reports/installed/F1-service-this-optimized-public.json": "aed97548ad25fe49cf3fd8325262c5aecc3e61922523f4b11304f80f05c9dfaf", + "reports/installed/F1-condition-unoptimized.json": "76b545a80eb73145679f92519b208851a77a52dc393d677f95feeada6bbc098f", + "reports/installed/F3-function-optimized-public.json": "fa8602e15f6c39b76b178960aa7a5f9a18c8c1d287170f83361e4805478e9134", + "reports/installed/F5-scene-optimized-public.json": "90e54e732893942b9bcf8d89fbc489b0e26aeeb1b7b533b5d68993714c0aa72e", + "reports/installed/F3-function-unoptimized.json": "b909651d53273a5b1679dadbd7eb907c57c63a9d5ec066b1d086ee145fef97e5", + "reports/installed/F4-same-dependency-unoptimized.json": "5ea243ea90d0a645b2a77b372a9c175e25a5ff88e9a607d9b73304d7fcf7699e", + "reports/installed/F4-same-dependency-optimized-public.json": "56c08b4740fec55da814113af821a016203e81f04523e512ac0ac5b2eb7cbc2d", + "reports/installed/F5-scene-positional-optimized-public.json": "83d97898eda3a9c4229dbd2b03f63da0a8995c0cb5549cc079097a3f1db391cf", + "reports/installed/F1-local-unoptimized.json": "a394ce2946175e8defb4dfea63a4317e2e7a938cf5056eabc742e56229c045e3", + "reports/installed/F1-service-local-unoptimized.json": "b40707baea181926efac541755a6606d5d714116cd10e713a6d8f7f78f1438b7", + "reports/installed/F3-service-optimized.json": "6f354bfa25b6a4b8087dda58162ef9ed4b94a24b116398bf011a4e52374e2aa7", + "reports/installed/F4-same-direct-unoptimized.json": "d4f77e9e881cfe05c7d97a0aa4d7bfbf9dbb81c037481803f9048ec9c7ecf20f", + "reports/installed/F3-global-local-optimized-public.json": "2bf6e162cc5c124f7226137e26287b867c6856cc4080528904540e773f74a45b", + "reports/installed/F1-direct-optimized.json": "886cdff925114dfae3c5bb7e8dd390eb966d866b776fdbc7f358b1842bf37c48", + "reports/installed/F1-local-optimized.json": "f85554cde597855a4aa9851fb58e6663a5860737607f21cc660db6d7e6689143", + "reports/installed/F4-rename-a-unoptimized.json": "097162402ca387a7a328f951f5beafd5679c3ae22ac56b5e67ee239d375a9171", + "reports/installed/F5-shopvisit-optimized-public.json": "017ff972876aaac0ffa88ae7278a4807ce78718e301daf7db6fb2cf615d71833", + "reports/installed/F3-single-file-optimized-public.json": "060c004531a9e0d17350e76758c7ceebeab3d1d45e27e4fd71ee2edb297a685d", + "reports/installed/F1-two-calls-optimized.json": "22a09e04b5cb8d6282e6a05ef2ca4eaa105afcbb33a4a085aeb83681e95f40e0", + "reports/checkout/runtime-initial-handshake.json": "669d0a982cbeb933b115adeb9b3f71347e36ab6bc755705321d62113b9b2d728", + "reports/checkout/F2-locals-unoptimized.json": "49eb0331c8c01cda7646e536378a97eef67dff30b1c4921e3cd88a1daad92434", + "reports/checkout/F1-condition-optimized.json": "ed41f4cce9d1ca153bdadcd9bff00824723f3108023b8007b77949028b29a281", + "reports/checkout/summary.json": "2cfd0a6d35c6a8b1a7a4e8535802bd9c780128a861d17572cb3ab7aedf805fa5", + "reports/checkout/F3-file-private-unoptimized.json": "ae667cb198e37d013161c1566f28e748dff64a3fe8d55cb7da359de4486dce23", + "reports/checkout/F3-service-local-optimized.json": "da793046ada92a5f23fa87a592fa26274dbab9a1593798f5abe3c45efe76a313", + "reports/checkout/F2-struct-method-unoptimized.json": "c620d4faed2fab468299f189b6d4d12a9d2bfb1aa51f4e240facedc68ab0b685", + "reports/checkout/F4-same-dependency-optimized.json": "662fade4441344915b11e4ff4dc6390068d46d925b15321bfb50399589260f39", + "reports/checkout/runtime.json": "84c1ab043d2cd87a01e199852954462cb0c40c5eb95ecca7a32496156bed3061", + "reports/checkout/F3-service-local-optimized-public.json": "d9c7a893f61942965de31cb2436a8d71c952ac1903199d513a7a68c7afe4a118", + "reports/checkout/F4-same-no-dependency-optimized.json": "3b8a3efba8db5345b0a13615a08ad5a3ad474ee4a02fba5db4acc4cff48f162f", + "reports/checkout/F2-arguments-optimized-public.json": "7962da1e17131066356fbc427c4e3222800f92d64c2daea4ca290263fde7f33d", + "reports/checkout/F1-local-optimized-public.json": "505d6f8d6513cc6a6255cb04f47a0a4005e41076bfa7bef8b78828416dfd03da", + "reports/checkout/runtime-trap-control-unoptimized.json": "75f43f76eb1c1ed0a7db59abae547fcab8c0a902abb8d7c4910e2df01aff9d32", + "reports/checkout/F4-distinct-unoptimized.json": "872be60d90d610269245afc70c41a002530228e0f191f43dd71f6cf3e9a2b408", + "reports/checkout/F2-arguments-optimized.json": "176d8608dbee6b3e810a7877bc050335405c471c26a70e06f4a3d89542f680c5", + "reports/checkout/F4-distinct-optimized-public.json": "6f73bce5e1e9c5e43bab9ee39e9c42bcd938c9bd870abf368ad19bc0d90cf8a2", + "reports/checkout/F4-public-aliases-optimized-public.json": "bf25ff29b831dea99fe844914f785655ac07bd612be5aca536d0f91db7a4e1d4", + "reports/checkout/F3-function-optimized.json": "435c178660785d98d03f9b4d65dcd7d81bc96696a98e61edc61b2f977bee9456", + "reports/checkout/F3-single-file-unoptimized.json": "0cd9d3ff8b23a3314eae48edbd61ffcfe3b2bfa52b0bfa74ec19ecbeabaf6e06", + "reports/checkout/F5-scene-alias-optimized.json": "3ff0ea60bac3dd66afd7cdd101cfd93552f3e2a782078cd629daaf7c7eb4a61a", + "reports/checkout/F2-locals-optimized-public.json": "b789ff627c28c5d7034101494c22c7e032f765453332408b7d5b9fe809952a9d", + "reports/checkout/F2-struct-method-optimized-public.json": "c9227fb66a2951c3c3b97d30af3ab3bd4f4b521ca2b872523d366f70c9327985", + "reports/checkout/F1-two-calls-optimized-public.json": "10ff6b00173e5eeaa41a614515fe61e4a9d23bb21a347c11c04d0102d434d4c5", + "reports/checkout/F1-service-this-optimized.json": "ab773a10fa569b62545a1926396173d96d65f3868c1f7a129080c5ab0adf3ff0", + "reports/checkout/F4-rename-a-optimized.json": "a6fb35eb68c0c99d24179731cb3f89d4b54b95723f72a10d1f47ea8586e323a9", + "reports/checkout/F4-distinct-optimized.json": "74d8d5ed8fca23d3b4e85c96adea5f1ccfe97718484618037bd98e352cfd5062", + "reports/checkout/F4-same-direct-optimized.json": "e8dd28cb98e7f9f7bd6f8d3b1b8162d0089d85abcc9427d7c4230cf0757a7f41", + "reports/checkout/F3-global-optimized-public.json": "2173e30084cf5741e15d6ebf140467a3e26ed2834fcef778f573aabab356880f", + "reports/checkout/F1-direct-unoptimized.json": "2ea2c174d66d56de0c84d89c859723c7a08aae953c008988a059b81701eabce3", + "reports/checkout/F2-expression-optimized.json": "0ad1dc045de85dd7342482097a8afa8cc152ed96ed63b5b5d70f0500b4394e5b", + "reports/checkout/F4-rename-a-optimized-public.json": "8bdd1b2e0fe3e7da4501a545da5e59bed01d7e5bcb635f64d237840c9a619c97", + "reports/checkout/F5-scene-positional-optimized.json": "e03557490642f2ecf373a4a0ce64cac047721eafc6c23efaa238149b5eaa8e12", + "reports/checkout/F3-single-file-optimized.json": "b7a5f4703b09eff8ad54104f5b234391a6e3b1a51382dae4af75fe39c0489cc4", + "reports/checkout/F3-global-local-unoptimized.json": "ca346d5e9ae745e09a2cd97971379391c9cb38ae2ddd779f97e80b3755d99f07", + "reports/checkout/F4-same-direct-optimized-public.json": "57f8b30e08f5c54747e619d75fd3c5059688ed51389d8af5b4b28710fa6dde3b", + "reports/checkout/F4-public-aliases-optimized.json": "eb1605676719e503440029891065456cb870fb506895f471ba19932104eb3b95", + "reports/checkout/F5-scene-alias-optimized-public.json": "1cd29e27f06c6ae439ba3395894e0491dc3863c74978cfec346b4f51e0d8e3a6", + "reports/checkout/F3-file-private-optimized-public.json": "2ac2b85b6c67b3745eac29218a856a7fe703a3f1dbcb49b458fbcd2f2bbc2033", + "reports/checkout/F4-public-aliases-unoptimized.json": "938af1d55ec13be6f2c6b9effdd48a6971cfb2abed6a5c363cc29dbacf709137", + "reports/checkout/F5-scene-positional-unoptimized.json": "8205daf41fd1fec91f7eb4a4fb3a32716ca7cb12c0d69ff69de52298dcf6de57", + "reports/checkout/F3-service-local-unoptimized.json": "397692fd20299301dd23e95688579778942282f14a3dacf76a8d791955039661", + "reports/checkout/F4-same-no-dependency-optimized-public.json": "b929fdce1bb2adc171cda77f3c5d00d10064038ff31bb9e67a4fa919291342c3", + "reports/checkout/F2-struct-method-optimized.json": "4b0695cdcaf2a9790e9e452a94cd944745b43bc36c2a9b285b3c7b248b72d9af", + "reports/checkout/F3-global-unoptimized.json": "400763686b2aa7c03a247cbc4e46766559d817c894d47388bdf847a5a4ab194c", + "reports/checkout/F4-same-no-dependency-unoptimized.json": "23ef1ae540a19deb0aeca1b80d7511caaa5ab6fbdd08dc561c83f194cf342057", + "reports/checkout/F3-global-optimized.json": "bf2d212af3ec56c175ef7fc8f9f0e0219ccde18ce0b9a71f660d8549c93e2dd6", + "reports/checkout/F5-scene-alias-unoptimized.json": "98363fb941edab045b444c2175eecfe3a28dd1f25a2cfbd2b2ec03338c67d32b", + "reports/checkout/F5-shopvisit-unoptimized.json": "f01bf3edb5298450bd5f6e67b84a9d7016a8dda6cd71e2780e45c4f00f5573af", + "reports/checkout/F5-scene-optimized.json": "b757da19f950882d7cf02ccb24d1c47d2abce6d6501303535894d743f0985c28", + "reports/checkout/runtime-trap-control-optimized.json": "2830b850d4f7b53feb533bb1e5de5f5fd634a7225df7c6a5d90bfd78419ce311", + "reports/checkout/F1-direct-optimized-public.json": "b4284de76faf9cb0e6aa7b526832192c65a08becb2f00be573ac6963970aa8a7", + "reports/checkout/F2-expression-optimized-public.json": "1f5b2023bf61036ab07baff0333af8448a584fa77d4bb1afcc78dd254c012a1b", + "reports/checkout/F2-expression-unoptimized.json": "1c6f59574d057de7d735042734d06bf027b165da7bca8c4052bf831abc9d897b", + "reports/checkout/F3-global-local-optimized.json": "057924e0ecf5b2fab67152b9d03d1056ac22c806749884eb1bd6754346dbb69d", + "reports/checkout/F3-service-unoptimized.json": "86fdff33d4a698301fbecc1f6fdaf3593a64ef4fb48943259fe2c51e674b9196", + "reports/checkout/F1-two-calls-unoptimized.json": "e61747e1942c26fcd41399543f49aa81b1b55b27eac437bc402b50c52dff120f", + "reports/checkout/F3-service-optimized-public.json": "660b7998bdc363713271b14286a692e693c7f8275b8a670f5a6d441a5e08af55", + "reports/checkout/F5-scene-unoptimized.json": "2fc680a289da1ee9f814471d2f075c92793c910b9f1b86c890defafcba48b0b6", + "reports/checkout/F2-arguments-unoptimized.json": "68b4f5658b4eea648ef5e8111fadb00c610e44338c130926c7064dde233b5254", + "reports/checkout/runtime-trap-control-optimized-public.json": "0a43c7628c5c4aefdaf1065a7423da6a0193dc38155c0ed0d7669b5acf72a6fa", + "reports/checkout/F1-condition-optimized-public.json": "cedd3a4fee41e3fae8ca6cfafecb017f136eb0b2d97519426ccc5a71e3dc4f72", + "reports/checkout/F1-service-local-optimized-public.json": "317fc4c92a6797d2b2277f7d67422a6288e2880d63b8e47ae58cbd9e94d534c6", + "reports/checkout/F1-service-this-unoptimized.json": "aca7356a8d12038fc024d9e6490339f3c7101a347c8864fa2f43458effcee47c", + "reports/checkout/F5-shopvisit-optimized.json": "abeb3f2f53340d870fd249db1b1e0b7ceffa4ceb001a35d884db7d2c047febe3", + "reports/checkout/F2-locals-optimized.json": "102214812939f713581fd3fef313ff013c3d8e5e0192e2a8464405cf6a29ce41", + "reports/checkout/F3-file-private-optimized.json": "bddba2d4ccb3d0b9102ef35a0513f997410838e210d9bab0b1311bea8111f37f", + "reports/checkout/F1-service-local-optimized.json": "96f9e435ae954959d3c28da5601fc39c4646b173de559543cec8890ce2e0a036", + "reports/checkout/F1-service-this-optimized-public.json": "18f89a1ef43176e90c3b73fb84252d67e9ad7ea9232aff9235cd4d144b9fff1e", + "reports/checkout/F1-condition-unoptimized.json": "e2585e9bb47fa36a2591716a9d24e030b3e0df1045175c48321a3f9303d0ebde", + "reports/checkout/F3-function-optimized-public.json": "b90f93a857d581805a01b0a70f4ab763e2f6d90167f94eb3a2f641f5bfeb85d2", + "reports/checkout/F5-scene-optimized-public.json": "14e5e25778a293e0702fc185fafea6b52e0904b81b74150dfb07d20dc966772a", + "reports/checkout/F3-function-unoptimized.json": "64e6de7b86c55abf407082a7229292ff50f6804ca28acfb3e6c7424fc143145e", + "reports/checkout/F4-same-dependency-unoptimized.json": "b0b0347a6cc19bf53f84a21c82b566a6ab22ed79da554bc90dcb0a423c863281", + "reports/checkout/F4-same-dependency-optimized-public.json": "5b96fa1d29243f15da7ba47c2a057e9c135b82886d301873ce26ce66e2227d20", + "reports/checkout/F5-scene-positional-optimized-public.json": "d76779ea0cc78df721bca18385749fa88c93ea8113b1716e710163e42e74a90f", + "reports/checkout/F1-local-unoptimized.json": "103e5d8427a9a1d79906c2918896a9ef7f7a048ab5668b4c8fc471bbf694f453", + "reports/checkout/F1-service-local-unoptimized.json": "2b291762465fca0a006d35f50551e4d4cb2a156ff30f215e1adb101f28ebcc9f", + "reports/checkout/F3-service-optimized.json": "b3d6ae4ffa5d624da1ce7a7bd6c9022e67abd8aca09ebd9c4735db517ea2b685", + "reports/checkout/F4-same-direct-unoptimized.json": "82ed66e07c912049538fecf740827886c6424aaa9efcd45b485d052a4aa6768d", + "reports/checkout/F3-global-local-optimized-public.json": "9d08f6da3526bb1d12d3bc9530880eb7524059a2d31a663f4ad1907e3c6558df", + "reports/checkout/F1-direct-optimized.json": "920a8be8ffff2277537bb7880fe5a8a0c8ee0713a7fe954855a713f1efbeff82", + "reports/checkout/F1-local-optimized.json": "6aa1ba9458301d726618ffb8859b8ef4d7f93011830f1486e5b6cae507a73037", + "reports/checkout/F4-rename-a-unoptimized.json": "352812f18295e3f10d3140b7fc82a041719be547df26b11196299e527074fa89", + "reports/checkout/F5-shopvisit-optimized-public.json": "0eca1c05d959aaefcee4aea6cc442a20149741f83ca8f0523f7be1262af7c917", + "reports/checkout/F3-single-file-optimized-public.json": "360e34ddd6ce5f968bff9e60e8fb43c10a9a74d3f17ada017af779fb848268d6", + "reports/checkout/F1-two-calls-optimized.json": "efa10923db0bdc3ef3e1542438aa70cb842352c8880da23224c5bb43cc711372" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/Agd113Probe.java b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/Agd113Probe.java new file mode 100644 index 00000000..a8cd635d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/Agd113Probe.java @@ -0,0 +1,134 @@ +import com.fasterxml.jackson.databind.ObjectMapper; +import p.studio.compiler.FrontendRegistryService; +import p.studio.compiler.messages.BuildingIssue; +import p.studio.compiler.messages.BuilderPipelineConfig; +import p.studio.compiler.models.BuilderPipelineContext; +import p.studio.compiler.source.identifiers.FileId; +import p.studio.compiler.workspaces.BuilderPipelineService; +import p.studio.compiler.workspaces.PipelineStage; +import p.studio.compiler.workspaces.stages.*; +import p.studio.utilities.logs.LogAggregator; + +import java.nio.file.*; +import java.security.MessageDigest; +import java.util.*; + +/** Research-only probe: production stages, isolated source projects, no compiler changes. */ +public final class Agd113Probe { + static final ObjectMapper MAPPER = new ObjectMapper(); + static final List LOG = new ArrayList<>(); + + public static void main(String[] args) throws Exception { + Path root = Path.of(args[0]).toRealPath(); + boolean optimize = args[1].equals("optimized"); + boolean publicEntry = args.length > 3 && args[3].equals("public"); + var result = new LinkedHashMap(); + result.put("projectRoot", root.toString()); + result.put("optimization", optimize ? "optimized" : "unoptimized"); + result.put("entrypoint", publicEntry ? "BuilderPipelineService.compile" : "public analysis + production compile stages"); + result.put("frontendOrigin", FrontendRegistryService.require("pbs").getClass().getProtectionDomain().getCodeSource().getLocation().toString()); + result.put("pipelineOrigin", BuilderPipelineService.class.getProtectionDomain().getCodeSource().getLocation().toString()); + var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, root.toString())); + var logs = LogAggregator.with(LOG::add); + var phases = new ArrayList>(); + result.put("phases", phases); + result.put("status", "infrastructure_failure"); + try { + if (publicEntry) { + var compiled = BuilderPipelineService.INSTANCE.compile(ctx, logs); + result.put("diagnostics", compiled.diagnostics().stream().map(i -> issue(i, ctx)).toList()); + result.put("status", "compiled"); + } else { + var analyzed = BuilderPipelineService.INSTANCE.analyze(ctx, logs); + var phase = new LinkedHashMap(); + phase.put("phase", "analysis"); + phase.put("diagnostics", analyzed.diagnostics().stream().map(i -> issue(i, ctx)).toList()); + boolean failed = analyzed.diagnostics().stream().anyMatch(BuildingIssue::isError); + phase.put("status", failed ? "failed" : "passed"); + phases.add(phase); + if (failed) result.put("status", "analysis_failed"); + else { + var stages = new ArrayList(); + stages.add(new LowerToIRVMPipelineStage()); + if (optimize) stages.add(new OptimizeIRVMPipelineStage()); + stages.add(new EmitBytecodePipelineStage()); + stages.add(new LinkBytecodePipelineStage()); + stages.add(new VerifyBytecodePipelineStage()); + result.put("status", "compiled"); + for (var stage : stages) { + if (!optimize && stage instanceof EmitBytecodePipelineStage) ctx.optimizedIrvm = ctx.irvm; + var issues = stage.run(ctx, logs).asCollection(); + var item = new LinkedHashMap(); + item.put("phase", stage.getClass().getSimpleName()); + item.put("diagnostics", issues.stream().map(i -> issue(i, ctx)).toList()); + boolean errors = issues.stream().anyMatch(BuildingIssue::isError); + item.put("status", errors ? "failed" : "passed"); + phases.add(item); + if (errors) { result.put("status", "compile_failed"); break; } + } + } + } + if (result.get("status").equals("compiled")) { + Path cartridge = root.resolve("cartridge"); + Files.createDirectories(cartridge); + Files.write(cartridge.resolve("program.pbx"), ctx.bytecodeBytes); + var manifest = new LinkedHashMap(); + manifest.put("magic", "PMTU"); manifest.put("cartridge_version", 1); + manifest.put("app_id", 113); manifest.put("title", "AGD113 isolated assertion fixture"); + manifest.put("app_version", "1.0.0"); manifest.put("app_mode", "Game"); + manifest.put("capabilities", List.of()); manifest.put("asset_table", List.of()); manifest.put("preload", List.of()); + MAPPER.writerWithDefaultPrettyPrinter().writeValue(cartridge.resolve("manifest.json").toFile(), manifest); + result.put("cartridge", cartridge.toString()); + result.put("bytecodeBytes", ctx.bytecodeBytes.length); + result.put("bytecodeSha256", HexFormat.of().formatHex(MessageDigest.getInstance("SHA-256").digest(ctx.bytecodeBytes))); + } + } catch (Throwable failure) { + result.put("status", failure instanceof p.studio.compiler.exceptions.BuildException + ? "public_compile_rejected" : "pipeline_exception"); + result.put("exception", causes(failure)); + } + if (ctx.fileTable != null) { + var files = new LinkedHashMap(); + for (int i = 0; i < ctx.fileTable.size(); i++) { + var f = ctx.fileTable.get(new FileId(i)); + files.put(Integer.toString(i), f.getCanonPath().toString()); + } + result.put("files", files); + } + if (ctx.irBackend != null) { + var functions = new ArrayList>(); + for (var fn : ctx.irBackend.getExecutableFunctions()) { + var file = ctx.fileTable.get(fn.fileId()).getCanonPath(); + if (!file.startsWith(root)) continue; + var f = new LinkedHashMap(); + f.put("callableId", fn.callableId().toString()); f.put("name", fn.callableName()); + f.put("file", root.relativize(file).toString()); + f.put("instructions", fn.instructions().stream().map(Object::toString).toList()); + functions.add(f); + } + result.put("projectFunctions", functions); + } + result.put("logs", LOG); + Path report = Path.of(args[2]); Files.createDirectories(report.getParent()); + MAPPER.writerWithDefaultPrettyPrinter().writeValue(report.toFile(), result); + System.out.println(result.get("status") + " " + root.getFileName()); + } + + static Map issue(BuildingIssue i, BuilderPipelineContext ctx) { + var out = new LinkedHashMap(); + out.put("error", i.isError()); out.put("code", i.getCode()); out.put("phase", i.getPhase()); + out.put("message", i.getMessage()); out.put("fileId", i.getFileId()); + out.put("start", i.getStart()); out.put("end", i.getEnd()); + out.put("functionIndex", i.getFunctionIndex()); out.put("pc", i.getPc()); + if (i.getFileId() != null && i.getFileId() >= 0 && ctx.fileTable != null && i.getFileId() < ctx.fileTable.size()) + out.put("file", ctx.fileTable.get(new FileId(i.getFileId())).getCanonPath().toString()); + if (i.getException() != null) out.put("exception", causes(i.getException())); + return out; + } + static List> causes(Throwable t) { + var result = new ArrayList>(); + for (int n = 0; t != null && n < 8; n++, t = t.getCause()) + result.add(Map.of("class", t.getClass().getName(), "message", String.valueOf(t.getMessage()))); + return result; + } +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/SHA256SUMS b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/SHA256SUMS new file mode 100644 index 00000000..7cb29def --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/SHA256SUMS @@ -0,0 +1,180 @@ +af8f1f8621ef33ef341d6d13748dff003108fff30124c083b7cb5744eb56e309 Agd113Probe.java +0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87 cases.json +3cba903588aeba2b3615058d06102e9b2b0d84a4738f1d7e33f41e16428a930f execute.py +d56838a9083394197a447dc1ca3bf723bd071c1d4ff215b473d535f6799f7b8a inventory.json +fe281b67cd942290d1fdcf44da471f17303335fea59ce75449f64e415763787c investigate.py +8f4e7bb1f3813f7bd4b25309629f39b0a44c57fae6e9f492d80c6746a4740450 provenance.json +cedd3a4fee41e3fae8ca6cfafecb017f136eb0b2d97519426ccc5a71e3dc4f72 reports/checkout/F1-condition-optimized-public.json +ed41f4cce9d1ca153bdadcd9bff00824723f3108023b8007b77949028b29a281 reports/checkout/F1-condition-optimized.json +e2585e9bb47fa36a2591716a9d24e030b3e0df1045175c48321a3f9303d0ebde reports/checkout/F1-condition-unoptimized.json +b4284de76faf9cb0e6aa7b526832192c65a08becb2f00be573ac6963970aa8a7 reports/checkout/F1-direct-optimized-public.json +920a8be8ffff2277537bb7880fe5a8a0c8ee0713a7fe954855a713f1efbeff82 reports/checkout/F1-direct-optimized.json +2ea2c174d66d56de0c84d89c859723c7a08aae953c008988a059b81701eabce3 reports/checkout/F1-direct-unoptimized.json +505d6f8d6513cc6a6255cb04f47a0a4005e41076bfa7bef8b78828416dfd03da reports/checkout/F1-local-optimized-public.json +6aa1ba9458301d726618ffb8859b8ef4d7f93011830f1486e5b6cae507a73037 reports/checkout/F1-local-optimized.json +103e5d8427a9a1d79906c2918896a9ef7f7a048ab5668b4c8fc471bbf694f453 reports/checkout/F1-local-unoptimized.json +317fc4c92a6797d2b2277f7d67422a6288e2880d63b8e47ae58cbd9e94d534c6 reports/checkout/F1-service-local-optimized-public.json +96f9e435ae954959d3c28da5601fc39c4646b173de559543cec8890ce2e0a036 reports/checkout/F1-service-local-optimized.json +2b291762465fca0a006d35f50551e4d4cb2a156ff30f215e1adb101f28ebcc9f reports/checkout/F1-service-local-unoptimized.json +18f89a1ef43176e90c3b73fb84252d67e9ad7ea9232aff9235cd4d144b9fff1e reports/checkout/F1-service-this-optimized-public.json +ab773a10fa569b62545a1926396173d96d65f3868c1f7a129080c5ab0adf3ff0 reports/checkout/F1-service-this-optimized.json +aca7356a8d12038fc024d9e6490339f3c7101a347c8864fa2f43458effcee47c reports/checkout/F1-service-this-unoptimized.json +10ff6b00173e5eeaa41a614515fe61e4a9d23bb21a347c11c04d0102d434d4c5 reports/checkout/F1-two-calls-optimized-public.json +efa10923db0bdc3ef3e1542438aa70cb842352c8880da23224c5bb43cc711372 reports/checkout/F1-two-calls-optimized.json +e61747e1942c26fcd41399543f49aa81b1b55b27eac437bc402b50c52dff120f reports/checkout/F1-two-calls-unoptimized.json +7962da1e17131066356fbc427c4e3222800f92d64c2daea4ca290263fde7f33d reports/checkout/F2-arguments-optimized-public.json +176d8608dbee6b3e810a7877bc050335405c471c26a70e06f4a3d89542f680c5 reports/checkout/F2-arguments-optimized.json +68b4f5658b4eea648ef5e8111fadb00c610e44338c130926c7064dde233b5254 reports/checkout/F2-arguments-unoptimized.json +1f5b2023bf61036ab07baff0333af8448a584fa77d4bb1afcc78dd254c012a1b reports/checkout/F2-expression-optimized-public.json +0ad1dc045de85dd7342482097a8afa8cc152ed96ed63b5b5d70f0500b4394e5b reports/checkout/F2-expression-optimized.json +1c6f59574d057de7d735042734d06bf027b165da7bca8c4052bf831abc9d897b reports/checkout/F2-expression-unoptimized.json +b789ff627c28c5d7034101494c22c7e032f765453332408b7d5b9fe809952a9d reports/checkout/F2-locals-optimized-public.json +102214812939f713581fd3fef313ff013c3d8e5e0192e2a8464405cf6a29ce41 reports/checkout/F2-locals-optimized.json +49eb0331c8c01cda7646e536378a97eef67dff30b1c4921e3cd88a1daad92434 reports/checkout/F2-locals-unoptimized.json +c9227fb66a2951c3c3b97d30af3ab3bd4f4b521ca2b872523d366f70c9327985 reports/checkout/F2-struct-method-optimized-public.json +4b0695cdcaf2a9790e9e452a94cd944745b43bc36c2a9b285b3c7b248b72d9af reports/checkout/F2-struct-method-optimized.json +c620d4faed2fab468299f189b6d4d12a9d2bfb1aa51f4e240facedc68ab0b685 reports/checkout/F2-struct-method-unoptimized.json +2ac2b85b6c67b3745eac29218a856a7fe703a3f1dbcb49b458fbcd2f2bbc2033 reports/checkout/F3-file-private-optimized-public.json +bddba2d4ccb3d0b9102ef35a0513f997410838e210d9bab0b1311bea8111f37f reports/checkout/F3-file-private-optimized.json +ae667cb198e37d013161c1566f28e748dff64a3fe8d55cb7da359de4486dce23 reports/checkout/F3-file-private-unoptimized.json +b90f93a857d581805a01b0a70f4ab763e2f6d90167f94eb3a2f641f5bfeb85d2 reports/checkout/F3-function-optimized-public.json +435c178660785d98d03f9b4d65dcd7d81bc96696a98e61edc61b2f977bee9456 reports/checkout/F3-function-optimized.json +64e6de7b86c55abf407082a7229292ff50f6804ca28acfb3e6c7424fc143145e reports/checkout/F3-function-unoptimized.json +9d08f6da3526bb1d12d3bc9530880eb7524059a2d31a663f4ad1907e3c6558df reports/checkout/F3-global-local-optimized-public.json +057924e0ecf5b2fab67152b9d03d1056ac22c806749884eb1bd6754346dbb69d reports/checkout/F3-global-local-optimized.json +ca346d5e9ae745e09a2cd97971379391c9cb38ae2ddd779f97e80b3755d99f07 reports/checkout/F3-global-local-unoptimized.json +2173e30084cf5741e15d6ebf140467a3e26ed2834fcef778f573aabab356880f reports/checkout/F3-global-optimized-public.json +bf2d212af3ec56c175ef7fc8f9f0e0219ccde18ce0b9a71f660d8549c93e2dd6 reports/checkout/F3-global-optimized.json +400763686b2aa7c03a247cbc4e46766559d817c894d47388bdf847a5a4ab194c reports/checkout/F3-global-unoptimized.json +d9c7a893f61942965de31cb2436a8d71c952ac1903199d513a7a68c7afe4a118 reports/checkout/F3-service-local-optimized-public.json +da793046ada92a5f23fa87a592fa26274dbab9a1593798f5abe3c45efe76a313 reports/checkout/F3-service-local-optimized.json +397692fd20299301dd23e95688579778942282f14a3dacf76a8d791955039661 reports/checkout/F3-service-local-unoptimized.json +660b7998bdc363713271b14286a692e693c7f8275b8a670f5a6d441a5e08af55 reports/checkout/F3-service-optimized-public.json +b3d6ae4ffa5d624da1ce7a7bd6c9022e67abd8aca09ebd9c4735db517ea2b685 reports/checkout/F3-service-optimized.json +86fdff33d4a698301fbecc1f6fdaf3593a64ef4fb48943259fe2c51e674b9196 reports/checkout/F3-service-unoptimized.json +360e34ddd6ce5f968bff9e60e8fb43c10a9a74d3f17ada017af779fb848268d6 reports/checkout/F3-single-file-optimized-public.json +b7a5f4703b09eff8ad54104f5b234391a6e3b1a51382dae4af75fe39c0489cc4 reports/checkout/F3-single-file-optimized.json +0cd9d3ff8b23a3314eae48edbd61ffcfe3b2bfa52b0bfa74ec19ecbeabaf6e06 reports/checkout/F3-single-file-unoptimized.json +6f73bce5e1e9c5e43bab9ee39e9c42bcd938c9bd870abf368ad19bc0d90cf8a2 reports/checkout/F4-distinct-optimized-public.json +74d8d5ed8fca23d3b4e85c96adea5f1ccfe97718484618037bd98e352cfd5062 reports/checkout/F4-distinct-optimized.json +872be60d90d610269245afc70c41a002530228e0f191f43dd71f6cf3e9a2b408 reports/checkout/F4-distinct-unoptimized.json +bf25ff29b831dea99fe844914f785655ac07bd612be5aca536d0f91db7a4e1d4 reports/checkout/F4-public-aliases-optimized-public.json +eb1605676719e503440029891065456cb870fb506895f471ba19932104eb3b95 reports/checkout/F4-public-aliases-optimized.json +938af1d55ec13be6f2c6b9effdd48a6971cfb2abed6a5c363cc29dbacf709137 reports/checkout/F4-public-aliases-unoptimized.json +8bdd1b2e0fe3e7da4501a545da5e59bed01d7e5bcb635f64d237840c9a619c97 reports/checkout/F4-rename-a-optimized-public.json +a6fb35eb68c0c99d24179731cb3f89d4b54b95723f72a10d1f47ea8586e323a9 reports/checkout/F4-rename-a-optimized.json +352812f18295e3f10d3140b7fc82a041719be547df26b11196299e527074fa89 reports/checkout/F4-rename-a-unoptimized.json +5b96fa1d29243f15da7ba47c2a057e9c135b82886d301873ce26ce66e2227d20 reports/checkout/F4-same-dependency-optimized-public.json +662fade4441344915b11e4ff4dc6390068d46d925b15321bfb50399589260f39 reports/checkout/F4-same-dependency-optimized.json +b0b0347a6cc19bf53f84a21c82b566a6ab22ed79da554bc90dcb0a423c863281 reports/checkout/F4-same-dependency-unoptimized.json +57f8b30e08f5c54747e619d75fd3c5059688ed51389d8af5b4b28710fa6dde3b reports/checkout/F4-same-direct-optimized-public.json +e8dd28cb98e7f9f7bd6f8d3b1b8162d0089d85abcc9427d7c4230cf0757a7f41 reports/checkout/F4-same-direct-optimized.json +82ed66e07c912049538fecf740827886c6424aaa9efcd45b485d052a4aa6768d reports/checkout/F4-same-direct-unoptimized.json +b929fdce1bb2adc171cda77f3c5d00d10064038ff31bb9e67a4fa919291342c3 reports/checkout/F4-same-no-dependency-optimized-public.json +3b8a3efba8db5345b0a13615a08ad5a3ad474ee4a02fba5db4acc4cff48f162f reports/checkout/F4-same-no-dependency-optimized.json +23ef1ae540a19deb0aeca1b80d7511caaa5ab6fbdd08dc561c83f194cf342057 reports/checkout/F4-same-no-dependency-unoptimized.json +1cd29e27f06c6ae439ba3395894e0491dc3863c74978cfec346b4f51e0d8e3a6 reports/checkout/F5-scene-alias-optimized-public.json +3ff0ea60bac3dd66afd7cdd101cfd93552f3e2a782078cd629daaf7c7eb4a61a reports/checkout/F5-scene-alias-optimized.json +98363fb941edab045b444c2175eecfe3a28dd1f25a2cfbd2b2ec03338c67d32b reports/checkout/F5-scene-alias-unoptimized.json +14e5e25778a293e0702fc185fafea6b52e0904b81b74150dfb07d20dc966772a reports/checkout/F5-scene-optimized-public.json +b757da19f950882d7cf02ccb24d1c47d2abce6d6501303535894d743f0985c28 reports/checkout/F5-scene-optimized.json +d76779ea0cc78df721bca18385749fa88c93ea8113b1716e710163e42e74a90f reports/checkout/F5-scene-positional-optimized-public.json +e03557490642f2ecf373a4a0ce64cac047721eafc6c23efaa238149b5eaa8e12 reports/checkout/F5-scene-positional-optimized.json +8205daf41fd1fec91f7eb4a4fb3a32716ca7cb12c0d69ff69de52298dcf6de57 reports/checkout/F5-scene-positional-unoptimized.json +2fc680a289da1ee9f814471d2f075c92793c910b9f1b86c890defafcba48b0b6 reports/checkout/F5-scene-unoptimized.json +0eca1c05d959aaefcee4aea6cc442a20149741f83ca8f0523f7be1262af7c917 reports/checkout/F5-shopvisit-optimized-public.json +abeb3f2f53340d870fd249db1b1e0b7ceffa4ceb001a35d884db7d2c047febe3 reports/checkout/F5-shopvisit-optimized.json +f01bf3edb5298450bd5f6e67b84a9d7016a8dda6cd71e2780e45c4f00f5573af reports/checkout/F5-shopvisit-unoptimized.json +669d0a982cbeb933b115adeb9b3f71347e36ab6bc755705321d62113b9b2d728 reports/checkout/runtime-initial-handshake.json +0a43c7628c5c4aefdaf1065a7423da6a0193dc38155c0ed0d7669b5acf72a6fa reports/checkout/runtime-trap-control-optimized-public.json +2830b850d4f7b53feb533bb1e5de5f5fd634a7225df7c6a5d90bfd78419ce311 reports/checkout/runtime-trap-control-optimized.json +75f43f76eb1c1ed0a7db59abae547fcab8c0a902abb8d7c4910e2df01aff9d32 reports/checkout/runtime-trap-control-unoptimized.json +84c1ab043d2cd87a01e199852954462cb0c40c5eb95ecca7a32496156bed3061 reports/checkout/runtime.json +2cfd0a6d35c6a8b1a7a4e8535802bd9c780128a861d17572cb3ab7aedf805fa5 reports/checkout/summary.json +100808d1ea68e381465d3decfa6522f7441c70e98651e1080908a80f7537857e reports/installed/F1-condition-optimized-public.json +469f804f373dc836723cc1a3819ebe887d949f68662df02712fca59432d64281 reports/installed/F1-condition-optimized.json +76b545a80eb73145679f92519b208851a77a52dc393d677f95feeada6bbc098f reports/installed/F1-condition-unoptimized.json +940ea6f79bcd75fdc8bee32b136bc8a35a49f9ec96478d6740f3b094e74b4e73 reports/installed/F1-direct-optimized-public.json +886cdff925114dfae3c5bb7e8dd390eb966d866b776fdbc7f358b1842bf37c48 reports/installed/F1-direct-optimized.json +e1c1e3300d337886bf19e8d898fe99c041b080d23553b976ff0376e851c8463b reports/installed/F1-direct-unoptimized.json +c2513667963a8a67070b1cc10ba08efe68ef8af719ae664e6e4b6554ce0e01ac reports/installed/F1-local-optimized-public.json +f85554cde597855a4aa9851fb58e6663a5860737607f21cc660db6d7e6689143 reports/installed/F1-local-optimized.json +a394ce2946175e8defb4dfea63a4317e2e7a938cf5056eabc742e56229c045e3 reports/installed/F1-local-unoptimized.json +f87301a43d1da6189a05e1615292f7bb3f736c09260db952c7bdfac68731fdd6 reports/installed/F1-service-local-optimized-public.json +327480aa7a9f38cfea84b2f203f0c73b7db65dad618e8771758e87f51f96e70d reports/installed/F1-service-local-optimized.json +b40707baea181926efac541755a6606d5d714116cd10e713a6d8f7f78f1438b7 reports/installed/F1-service-local-unoptimized.json +aed97548ad25fe49cf3fd8325262c5aecc3e61922523f4b11304f80f05c9dfaf reports/installed/F1-service-this-optimized-public.json +63704de93235b32d9b1d8c0ce7d9d23f0cd55f1139155faabaf01d61feed15fa reports/installed/F1-service-this-optimized.json +535682fbb82e6d63a77935d525d5742369d311a0179a2028082b78521503f599 reports/installed/F1-service-this-unoptimized.json +3c13ff6c444abb13ec91dbc2d3cb9f672815f6194cda32a15f655aa9941ed907 reports/installed/F1-two-calls-optimized-public.json +22a09e04b5cb8d6282e6a05ef2ca4eaa105afcbb33a4a085aeb83681e95f40e0 reports/installed/F1-two-calls-optimized.json +ab0219ef9e1ee1f7ffaa7b412fbc1f9c012b15627178ecf5befe0efda6affbb8 reports/installed/F1-two-calls-unoptimized.json +feb21410cb1ec1a06622e92637f0362d6364175745904ab651234a2b41f87040 reports/installed/F2-arguments-optimized-public.json +a84cfdbd07d153fa4c2bd5215e6c73e7b3f23cf9368ee595307f5e27d390df91 reports/installed/F2-arguments-optimized.json +a3efe914c7d380a1048bbee6c27ef54f29e52df0db81e271c720198ac1212680 reports/installed/F2-arguments-unoptimized.json +9af9025a55eea1abe6a15c0c5e48ee6cf7046b3179d909efe48ae1d7b99a4c26 reports/installed/F2-expression-optimized-public.json +68c9e518d9618758e0f4ac56fb9b90e6cb980f202c7ef59491b2403c0b35c1bf reports/installed/F2-expression-optimized.json +c7be8a43b1a751f89f363259dc55496c47229984b85e6324dffc1e4dd3d87601 reports/installed/F2-expression-unoptimized.json +78c8f1e93daaef9eca253da562491c97c8313c351e5471495246d5325d46079d reports/installed/F2-locals-optimized-public.json +59f81ac09ed1dfce7c010b07ed7266a6269eaef3258c61c30f8ed5ad71328b77 reports/installed/F2-locals-optimized.json +35d6057c2d06fb579ac7cfda017cee3ad4d195541970ba6e083d1498fbdf2670 reports/installed/F2-locals-unoptimized.json +3795228c5d28454e6003edb046d495e3834065f5f2b8205a4aae3691850db101 reports/installed/F2-struct-method-optimized-public.json +6478d644c1ef0411d46e868048559c91af1b2991dee293bfa5d17f5df1817c55 reports/installed/F2-struct-method-optimized.json +f7c5f05ea2f7039f1a7a4b58e78f22873ccd995bf5368e8181c0278c6e2632fc reports/installed/F2-struct-method-unoptimized.json +6832d99b8ea7e979a1c368fe022ac29595c68546697fbfa76499f4a74371027e reports/installed/F3-file-private-optimized-public.json +56f11754501835fbebe8eaa07d77fff75d5fc44da469788b851b3e5428c410fa reports/installed/F3-file-private-optimized.json +aee05b230a89fa80bd63fe994cb8be3159d77e22213b39344072595943dcec27 reports/installed/F3-file-private-unoptimized.json +fa8602e15f6c39b76b178960aa7a5f9a18c8c1d287170f83361e4805478e9134 reports/installed/F3-function-optimized-public.json +83115007570081c0c608b9f3896fd4bb6a2b8ec4abc950fddf6207dcf9a19dab reports/installed/F3-function-optimized.json +b909651d53273a5b1679dadbd7eb907c57c63a9d5ec066b1d086ee145fef97e5 reports/installed/F3-function-unoptimized.json +2bf6e162cc5c124f7226137e26287b867c6856cc4080528904540e773f74a45b reports/installed/F3-global-local-optimized-public.json +7aef5c854de418b7a74bfe2a64a99f0769c82862ceb31c8402b43121ba9103dd reports/installed/F3-global-local-optimized.json +39d075d8acd637052c039aaf443710607b897060ecd4dcf4de0606c6525e19b3 reports/installed/F3-global-local-unoptimized.json +6c54ebaa699b648af9e13042010dc8fcaf03b07f85981a71a5e55f9c203b0dd5 reports/installed/F3-global-optimized-public.json +dabbd7673f094d416cde03d949a8a671013200b6126b1202cae7827e61ed4f85 reports/installed/F3-global-optimized.json +fdae63aa0bac5994cbacc15aa5499acd42c19d0fdb77292bfe73ce2cc3937d38 reports/installed/F3-global-unoptimized.json +5ea34cb5f32828c94cb22592cf29c8f018dc60c1a899e14b7995d8d5b50e3347 reports/installed/F3-service-local-optimized-public.json +073f9da774e8f1fae31ca8502660f0952a0c8c69953915e751315ab124264f52 reports/installed/F3-service-local-optimized.json +b502718a9c5fd1617c29858ac790a3eb60c1150ac0aabcf4a4bc9fa7a8e4cf89 reports/installed/F3-service-local-unoptimized.json +b51efdaa8fe8dd1466da235765579c436507f44d880d5e375a4d94a6e57bb32d reports/installed/F3-service-optimized-public.json +6f354bfa25b6a4b8087dda58162ef9ed4b94a24b116398bf011a4e52374e2aa7 reports/installed/F3-service-optimized.json +5ea12eaabe8e7fa52589981d7af270f4cbe94e8891c2e4c5a84fe8a59b88cf39 reports/installed/F3-service-unoptimized.json +060c004531a9e0d17350e76758c7ceebeab3d1d45e27e4fd71ee2edb297a685d reports/installed/F3-single-file-optimized-public.json +d1f4e1ba3eb4add3967bf3f8f3cd4d85ebb36f3207fe35db3dfc53ee815292b6 reports/installed/F3-single-file-optimized.json +ac02aeb7dc426c9f271c314cfb8b67dd5bb7053ddd5aebebef7cab7eb253060e reports/installed/F3-single-file-unoptimized.json +74b134569c412f3d883879d2c9fc46c36290d25bea74b275f379e42ad73cd22f reports/installed/F4-distinct-optimized-public.json +39fbba16eb57fa255314703d30cd50468ba0485161024b2620e5758e4cd6b82e reports/installed/F4-distinct-optimized.json +e087bdeee22535e90d9fac072d24fd14ef32c1850d32ee25f66f2894cefd32e3 reports/installed/F4-distinct-unoptimized.json +b0354d3f005a4411f7dfe216628dfd3aa6d9a3098a0d73e0acb9c67737b18cc7 reports/installed/F4-public-aliases-optimized-public.json +c146756e6bc640d0c303a30a44b2e3227a56a92a28458341f5d3b3ee830c289a reports/installed/F4-public-aliases-optimized.json +557f86fe0522db15bd23f60de6a3852a5a2350e880a6e3152b36f30153f26877 reports/installed/F4-public-aliases-unoptimized.json +2d5a8a4856f0317e6e30f9a25d0215687446323c5b7ed1c06cd9c19843c593d1 reports/installed/F4-rename-a-optimized-public.json +6049003c167951da2b09b292a511c049f38fbf7e0cee70dae54fe3ba429501ae reports/installed/F4-rename-a-optimized.json +097162402ca387a7a328f951f5beafd5679c3ae22ac56b5e67ee239d375a9171 reports/installed/F4-rename-a-unoptimized.json +56c08b4740fec55da814113af821a016203e81f04523e512ac0ac5b2eb7cbc2d reports/installed/F4-same-dependency-optimized-public.json +b23771bdeb63b8b57f3d61bae5cc490c6b21db026bd080c7271f5827702c5a28 reports/installed/F4-same-dependency-optimized.json +5ea243ea90d0a645b2a77b372a9c175e25a5ff88e9a607d9b73304d7fcf7699e reports/installed/F4-same-dependency-unoptimized.json +151906886bd63c0ea527e9e5ade1de04f61d664482928b6cbd6c2382f94bcdc4 reports/installed/F4-same-direct-optimized-public.json +63cfe8f2117c0d7d4e4862c1757d60bf575483f95b9f4d26117257a77dbb194c reports/installed/F4-same-direct-optimized.json +d4f77e9e881cfe05c7d97a0aa4d7bfbf9dbb81c037481803f9048ec9c7ecf20f reports/installed/F4-same-direct-unoptimized.json +9fdaf41b8a8c493a5660e1b4fbf6c480cbf6af9f324017ec855fc23cb0b1b69e reports/installed/F4-same-no-dependency-optimized-public.json +424d84c46f387d174f375412aa2e5aeff80e1cbb94ce754734588ca080fffa4f reports/installed/F4-same-no-dependency-optimized.json +16b73210ab56edcc9f8085cfcd3178f2f75dab82f3e7454a2eb47e477e069d71 reports/installed/F4-same-no-dependency-unoptimized.json +7b1885628b3493403170b54342abc388a50442d7fa120a18a04aa22dc60ef31b reports/installed/F5-scene-alias-optimized-public.json +9fde0cbe08ac1a7289bce315e641d9538f6a551894d434cc265f30dbd4b86cb9 reports/installed/F5-scene-alias-optimized.json +bc5daab68bb2277bd27e2033701bc2af3152121bd0a98d94140ccaf79c253054 reports/installed/F5-scene-alias-unoptimized.json +90e54e732893942b9bcf8d89fbc489b0e26aeeb1b7b533b5d68993714c0aa72e reports/installed/F5-scene-optimized-public.json +799850e92bcb8131ece497ad6ae3483f24393f763c7cc45602865e444343d4b5 reports/installed/F5-scene-optimized.json +83d97898eda3a9c4229dbd2b03f63da0a8995c0cb5549cc079097a3f1db391cf reports/installed/F5-scene-positional-optimized-public.json +563908675229d594cb84868f13991386347f49a10186712e3615d9a528870acb reports/installed/F5-scene-positional-optimized.json +5a43c1f448791d82d0915cad5f276d7c43c8ca862535bd9984c8a07ec4c94975 reports/installed/F5-scene-positional-unoptimized.json +efd5a110e9e045e4dacaa8460b1ef0836ac28f93beccdabdbdd46187c487cf06 reports/installed/F5-scene-unoptimized.json +017ff972876aaac0ffa88ae7278a4807ce78718e301daf7db6fb2cf615d71833 reports/installed/F5-shopvisit-optimized-public.json +e2a6b92a411fcc7bd773f722ed01e19dc05fdf79ace2ed9817b44900690ec25b reports/installed/F5-shopvisit-optimized.json +5ada64b78c6bbd2edf6e8fdb3bdd3f2636e65f83433be1a416f29fc321ced246 reports/installed/F5-shopvisit-unoptimized.json +85f48d8419ed67df2012374bde725b1384770c4af09e359565ffae64b4d39d42 reports/installed/runtime-trap-control-optimized-public.json +adf1ed574b9b6efc24e96f30345481306b11cde436ef8089e61e92917c0197a6 reports/installed/runtime-trap-control-optimized.json +4717b4e67e8833c1ff97a5f8b2f889ec2a5257ac4da2ab3e9f911f7347e301ab reports/installed/runtime-trap-control-unoptimized.json +f4fa2254c59287e612ad15def09923d1b06bb99ebaf9ed963c772e3c6bef6ac0 reports/installed/runtime.json +ccda50babb0435b71a8be61cfb917a61d2fcfb40b9175726934061b7ca345a83 reports/installed/summary.json +f58d64158242408961f707fed7c3d2b7b1715e3b9e74e5344f1bcb2bedab5508 summarize.py diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/cases.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/cases.json new file mode 100644 index 00000000..6362d3db --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/cases.json @@ -0,0 +1,451 @@ +{ + "schemaVersion": 1, + "cases": [ + { + "id": "F1-local", + "family": "call-comparison-return", + "description": "Control: method result materialized before comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { let value=data.value(); return value!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990" + }, + { + "id": "F1-direct", + "family": "call-comparison-return", + "description": "Method call compared directly in returned expression", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61" + }, + { + "id": "F1-two-calls", + "family": "call-comparison-return", + "description": "Two method calls as comparison operands", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()==data.value(); }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f" + }, + { + "id": "F1-service-this", + "family": "call-comparison-return", + "description": "Service receiver this inside a returned comparison", + "control": "F1-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { return this.value()!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n" + }, + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089" + }, + { + "id": "F1-service-local", + "family": "call-comparison-return", + "description": "Control: identical service call materialized before returned comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { let value=this.value(); return value!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n" + }, + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb" + }, + { + "id": "F1-condition", + "family": "call-comparison-return", + "description": "Control: direct method comparison in an if condition", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\n[Frame] fn frame() -> void { if data.value()!=1 { let failure=1/0; } }\n" + }, + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014" + }, + { + "id": "F2-locals", + "family": "nested-call-expression", + "description": "Control: effectful call arguments stored in locals", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let a=next(); let b=next(); let value=add(a,b); if value!=3 || calls!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218" + }, + { + "id": "F2-arguments", + "family": "nested-call-expression", + "description": "Effectful call arguments evaluate once, left to right", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next(),next()); if value!=3 || calls!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c" + }, + { + "id": "F2-expression", + "family": "nested-call-expression", + "description": "Effectful calls nested inside arithmetic argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next()+next(),next()); if value!=6 || calls!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073" + }, + { + "id": "F2-struct-method", + "family": "nested-call-expression", + "description": "Struct method used as another method argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { let value=add(data.value(),data.value()); if value!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894" + }, + { + "id": "F3-single-file", + "family": "same-module-files", + "description": "Control: function and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "fn increment(value: int) -> int { return value+1; }\n[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a" + }, + { + "id": "F3-function", + "family": "same-module-files", + "description": "mod function called from another file", + "control": "F3-single-file", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod fn increment(value: int) -> int;\n", + "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1" + }, + { + "id": "F3-global", + "family": "same-module-files", + "description": "mod global mutated from another file", + "control": "F3-global-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod global count;\n", + "src/state.pbs": "declare global count: int=0;\n", + "src/main.pbs": "[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n" + }, + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34" + }, + { + "id": "F3-service", + "family": "same-module-files", + "description": "mod service called from another file", + "control": "F3-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod service Helper;\n", + "src/helpers.pbs": "declare service Helper { fn value() -> int { return 3; } }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22" + }, + { + "id": "F3-global-local", + "family": "same-module-files", + "description": "Control: identical global and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global count: int=0;\n[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n" + }, + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924" + }, + { + "id": "F3-service-local", + "family": "same-module-files", + "description": "Control: identical service and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Helper { fn value() -> int { return 3; } }\n[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb" + }, + { + "id": "F3-file-private", + "family": "same-module-files", + "description": "Negative control: function absent from barrel stays file-private", + "control": "F3-function", + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); }\n" + }, + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb" + }, + { + "id": "F4-distinct", + "family": "homonymous-types", + "description": "Types ARoomData/BRoomData; dependency=True; direct=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct ARoomData;\n", + "src/a/data.pbs": "declare struct ARoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: ARoomData = new ARoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct BRoomData;\n", + "src/b/data.pbs": "declare struct BRoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: BRoomData = new BRoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811" + }, + { + "id": "F4-same-no-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=False; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=1 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); return own; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5" + }, + { + "id": "F4-same-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831" + }, + { + "id": "F4-rename-a", + "family": "homonymous-types", + "description": "Types StartRoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct StartRoomData;\n", + "src/a/data.pbs": "declare struct StartRoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: StartRoomData = new StartRoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e" + }, + { + "id": "F4-same-direct", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=True", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { return room.value()+B.value(); } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e" + }, + { + "id": "F4-public-aliases", + "family": "homonymous-types", + "description": "Two distinct nominal RoomData declarations imported with aliases", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { RoomData as LeftData } from @caseapp:a;\nimport { RoomData as RightData } from @caseapp:b;\ndeclare global left: LeftData = new LeftData(1);\ndeclare global right: RightData = new RightData(2);\n[Frame] fn frame() -> void { let a=left.value(); let b=right.value(); if a!=1 || b!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub struct RoomData;\n", + "src/a/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n", + "src/b/mod.barrel": "pub struct RoomData;\n", + "src/b/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n" + }, + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207" + }, + { + "id": "F5-shopvisit", + "family": "imported-struct-construction", + "description": "Imported ShopVisit, alias=None, positional=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { ShopVisit } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: ShopVisit = new ShopVisit.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct ShopVisit;\n", + "src/scene/main.pbs": "declare struct ShopVisit(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { ShopVisit } from @caseapp:scene;\ndeclare service Link { fn read(scene: ShopVisit) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38" + }, + { + "id": "F5-scene", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f" + }, + { + "id": "F5-scene-alias", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=WorldScene, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene as WorldScene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: WorldScene = new WorldScene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959" + }, + { + "id": "F5-scene-positional", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=True", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7" + }, + { + "id": "runtime-trap-control", + "family": "harness-control", + "description": "Deliberate guest fault proves frame assertions are executed", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "fault", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "[Frame] fn frame() -> void { let failure=1/0; }\n" + }, + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9" + } + ] +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/execute.py b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/execute.py new file mode 100644 index 00000000..f40f2fa2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/execute.py @@ -0,0 +1,133 @@ +#!/usr/bin/env python3 +"""Execute isolated assertion cartridges against an existing, unmodified headless binary.""" +import argparse +import hashlib +import json +import os +from pathlib import Path +import selectors +import signal +import subprocess +import tempfile +import time + +HERE = Path(__file__).resolve().parent +ROOT = HERE.parents[3] + + +class Session: + def __init__(self, binary, directory): + self.stderr = open(directory / "runtime.stderr", "wb") + self.process = subprocess.Popen([str(binary), "--stdio"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, + stderr=self.stderr, cwd=directory, start_new_session=True) + self.selector = selectors.DefaultSelector() + self.selector.register(self.process.stdout, selectors.EVENT_READ) + self.buffer = bytearray() + self.transcript = [] + self.request = 0 + + def event(self): + deadline = time.monotonic() + 12 + while b"\n" not in self.buffer: + remaining = deadline - time.monotonic() + if remaining <= 0 or not self.selector.select(remaining): + raise TimeoutError("Runtime reply deadline") + data = os.read(self.process.stdout.fileno(), 65536) + if not data: + raise EOFError("Runtime closed stdout") + self.buffer.extend(data) + line, _, rest = self.buffer.partition(b"\n") + self.buffer = bytearray(rest) + value = json.loads(line) + self.transcript.append({"direction": "received", "message": value}) + return value + + def call(self, command, params=None): + self.request += 1 + request = {"requestId": f"agd113-{self.request}", "command": command, "params": params or {}} + self.transcript.append({"direction": "sent", "message": request}) + self.process.stdin.write(json.dumps(request).encode() + b"\n") + self.process.stdin.flush() + while True: + response = self.event() + if response.get("requestId") != request["requestId"]: + raise AssertionError("Unexpected response correlation") + if response.get("type") == "progress": + continue + if "error" in response: + raise RuntimeError(json.dumps(response["error"])) + return response.get("result") + + def close(self): + try: + if self.process.poll() is None: + try: + self.call("shutdown") + self.process.wait(timeout=5) + except Exception: + os.killpg(self.process.pid, signal.SIGKILL) + self.process.wait(timeout=5) + finally: + self.selector.close() + self.stderr.close() + self.process.stdin.close() + self.process.stdout.close() + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--mode", choices=["checkout", "installed"], default="checkout") + parser.add_argument("--runtime", type=Path, default=ROOT.parent / "runtime/target/debug/prometeu-headless") + parser.add_argument("--select", help="Comma-separated case IDs") + args = parser.parse_args() + binary = args.runtime.resolve(strict=True) + cases = {c["id"]: c for c in json.loads((HERE / "cases.json").read_text())["cases"]} + summary = json.loads((HERE / "reports" / args.mode / "summary.json").read_text()) + selected = set(args.select.split(",")) if args.select else None + results = {"schemaVersion": 1, "mode": args.mode, "binary": str(binary), + "binarySha256": hashlib.sha256(binary.read_bytes()).hexdigest(), "cases": []} + for item in summary["cases"]: + if item["public"] or item["status"] != "compiled" or (selected and item["id"] not in selected): + continue + report = json.loads((HERE / item["report"]).read_text()) + work = Path(tempfile.mkdtemp(prefix="agd113-runtime-")) + outcome = {"id": item["id"], "optimization": item["optimization"], "compileReport": item["report"], + "sourceSha256": report["sourceSha256"], "bytecodeSha256": report["bytecodeSha256"], + "expectedRuntime": cases[item["id"]]["expectedRuntime"], "observedRuntime": "infrastructure_failure"} + session = Session(binary, work) + try: + hello = session.event() + assert hello["type"] == "hello" + outcome["hello"] = hello + assert hello["protocolVersion"]["major"] == 1 + required = ["boot", "advance", "get_state", "get_fault", "shutdown"] + assert set(required) <= set(hello["capabilities"]) + session.call("initialize", {"protocolVersion": {"major": 1, "minor": min(1, hello["protocolVersion"]["minor"])}, + "requiredCapabilities": required}) + outcome["boot"] = session.call("boot", {"path": report["cartridge"]}) + advance = session.call("advance", {"frames": 3}) + fault = session.call("get_fault") + outcome["advance"] = advance + outcome["fault"] = fault + outcome["state"] = session.call("get_state") + actual_fault = fault.get("fault") if isinstance(fault, dict) and "fault" in fault else fault + if actual_fault is not None: + outcome["observedRuntime"] = "fault" + elif advance.get("completed") == 3: + outcome["observedRuntime"] = "passed" + else: + outcome["observedRuntime"] = "incomplete" + except Exception as error: + outcome["exception"] = {"class": type(error).__name__, "message": str(error)} + finally: + session.close() + outcome["transcript"] = session.transcript + outcome["stderr"] = (work / "runtime.stderr").read_text(errors="replace") + outcome["matchesExpectation"] = outcome["observedRuntime"] == outcome["expectedRuntime"] + results["cases"].append(outcome) + (HERE / "reports" / args.mode / "runtime.json").write_text(json.dumps(results, indent=2) + "\n") + print(args.mode, outcome["id"], outcome["optimization"], outcome["observedRuntime"], outcome["matchesExpectation"], flush=True) + + +if __name__ == "__main__": + main() diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/inventory.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/inventory.json new file mode 100644 index 00000000..7b539808 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/inventory.json @@ -0,0 +1,3208 @@ +{ + "schemaVersion": 1, + "discussion": "DSC-0111", + "agenda": "AGD-0113", + "cases": [ + { + "id": "F1-local", + "family": "call-comparison-return", + "description": "Control: method result materialized before comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F1-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-local-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F1-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-local-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F1-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-local-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-local-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-local-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-local-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148" + } + ] + }, + { + "id": "F1-direct", + "family": "call-comparison-return", + "description": "Method call compared directly in returned expression", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "classification": "reproduced_failure", + "observations": [ + { + "mode": "checkout", + "id": "F1-direct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-direct-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "checkout", + "id": "F1-direct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F1-direct-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F1-direct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-direct-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F1-direct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-direct-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F1-direct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F1-direct-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-direct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-direct-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "file": "src/main.pbs" + } + ] + } + ], + "executions": [] + }, + { + "id": "F1-two-calls", + "family": "call-comparison-return", + "description": "Two method calls as comparison operands", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "classification": "reproduced_failure", + "observations": [ + { + "mode": "checkout", + "id": "F1-two-calls", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-two-calls-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "file": "src/main.pbs" + }, + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 143, + "end": 155, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "checkout", + "id": "F1-two-calls", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F1-two-calls-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F1-two-calls", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-two-calls-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "file": "src/main.pbs" + }, + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 143, + "end": 155, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F1-two-calls", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-two-calls-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "file": "src/main.pbs" + }, + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 143, + "end": 155, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F1-two-calls", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F1-two-calls-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-two-calls", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-two-calls-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "file": "src/main.pbs" + }, + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 143, + "end": 155, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)", + "file": "src/main.pbs" + } + ] + } + ], + "executions": [] + }, + { + "id": "F1-service-this", + "family": "call-comparison-return", + "description": "Service receiver this inside a returned comparison", + "control": "F1-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "classification": "reproduced_failure", + "observations": [ + { + "mode": "checkout", + "id": "F1-service-this", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-service-this-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 84, + "end": 96, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "checkout", + "id": "F1-service-this", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F1-service-this-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F1-service-this", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-service-this-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 84, + "end": 96, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F1-service-this", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-service-this-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 84, + "end": 96, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F1-service-this", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F1-service-this-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-service-this", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-service-this-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 84, + "end": 96, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)", + "file": "src/main.pbs" + } + ] + } + ], + "executions": [] + }, + { + "id": "F1-service-local", + "family": "call-comparison-return", + "description": "Control: identical service call materialized before returned comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F1-service-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-service-local-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F1-service-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-service-local-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F1-service-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-service-local-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-service-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-service-local-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-service-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-service-local-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-service-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-service-local-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb" + } + ] + }, + { + "id": "F1-condition", + "family": "call-comparison-return", + "description": "Control: direct method comparison in an if condition", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F1-condition", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-condition-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F1-condition", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-condition-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F1-condition", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-condition-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-condition", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-condition-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-condition", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-condition-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F1-condition", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-condition-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2" + } + ] + }, + { + "id": "F2-locals", + "family": "nested-call-expression", + "description": "Control: effectful call arguments stored in locals", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F2-locals", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-locals-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F2-locals", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-locals-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F2-locals", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-locals-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-locals", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-locals-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-locals", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-locals-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-locals", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-locals-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4" + } + ] + }, + { + "id": "F2-arguments", + "family": "nested-call-expression", + "description": "Effectful call arguments evaluate once, left to right", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F2-arguments", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-arguments-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F2-arguments", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-arguments-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F2-arguments", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-arguments-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-arguments", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-arguments-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-arguments", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-arguments-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-arguments", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-arguments-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0" + } + ] + }, + { + "id": "F2-expression", + "family": "nested-call-expression", + "description": "Effectful calls nested inside arithmetic argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F2-expression", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-expression-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F2-expression", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-expression-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F2-expression", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-expression-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-expression", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-expression-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-expression", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-expression-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-expression", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-expression-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231" + } + ] + }, + { + "id": "F2-struct-method", + "family": "nested-call-expression", + "description": "Struct method used as another method argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F2-struct-method", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-struct-method-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F2-struct-method", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-struct-method-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F2-struct-method", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-struct-method-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-struct-method", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-struct-method-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-struct-method", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-struct-method-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F2-struct-method", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-struct-method-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4" + } + ] + }, + { + "id": "F3-single-file", + "family": "same-module-files", + "description": "Control: function and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F3-single-file", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-single-file-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-single-file", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-single-file-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-single-file", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-single-file-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-single-file", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-single-file-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-single-file", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-single-file-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-single-file", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-single-file-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b" + } + ] + }, + { + "id": "F3-function", + "family": "same-module-files", + "description": "mod function called from another file", + "control": "F3-single-file", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "classification": "reproduced_failure", + "observations": [ + { + "mode": "checkout", + "id": "F3-function", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-function-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "checkout", + "id": "F3-function", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F3-function-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-function", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-function-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F3-function", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-function-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F3-function", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F3-function-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-function", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-function-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "file": "src/main.pbs" + } + ] + } + ], + "executions": [] + }, + { + "id": "F3-global", + "family": "same-module-files", + "description": "mod global mutated from another file", + "control": "F3-global-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "classification": "reproduced_failure", + "observations": [ + { + "mode": "checkout", + "id": "F3-global", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-global-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "phase": "static-semantics", + "start": 29, + "end": 34, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "checkout", + "id": "F3-global", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F3-global-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-global", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-global-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "phase": "static-semantics", + "start": 29, + "end": 34, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F3-global", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-global-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "phase": "static-semantics", + "start": 29, + "end": 34, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F3-global", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F3-global-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-global", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-global-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "phase": "static-semantics", + "start": 29, + "end": 34, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)", + "file": "src/main.pbs" + } + ] + } + ], + "executions": [] + }, + { + "id": "F3-service", + "family": "same-module-files", + "description": "mod service called from another file", + "control": "F3-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "classification": "reproduced_failure", + "observations": [ + { + "mode": "checkout", + "id": "F3-service", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-service-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 39, + "end": 53, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)", + "file": "src/main.pbs" + }, + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 8, + "end": 89, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "checkout", + "id": "F3-service", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F3-service-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-service", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-service-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 39, + "end": 53, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)", + "file": "src/main.pbs" + }, + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 8, + "end": 89, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F3-service", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-service-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 39, + "end": 53, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)", + "file": "src/main.pbs" + }, + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 8, + "end": 89, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F3-service", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F3-service-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-service", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-service-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 39, + "end": 53, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)", + "file": "src/main.pbs" + }, + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 8, + "end": 89, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)", + "file": "src/main.pbs" + } + ] + } + ], + "executions": [] + }, + { + "id": "F3-global-local", + "family": "same-module-files", + "description": "Control: identical global and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F3-global-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-global-local-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-global-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-global-local-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-global-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-global-local-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-global-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-global-local-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-global-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-global-local-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-global-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-global-local-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209" + } + ] + }, + { + "id": "F3-service-local", + "family": "same-module-files", + "description": "Control: identical service and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F3-service-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-service-local-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-service-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-service-local-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-service-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-service-local-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-service-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-service-local-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-service-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-service-local-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-service-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-service-local-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a" + } + ] + }, + { + "id": "F3-file-private", + "family": "same-module-files", + "description": "Negative control: function absent from barrel stays file-private", + "control": "F3-function", + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "classification": "expected_rejection", + "observations": [ + { + "mode": "checkout", + "id": "F3-file-private", + "optimization": "optimized", + "public": false, + "expectedCompile": "rejected", + "status": "analysis_failed", + "report": "reports/checkout/F3-file-private-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "checkout", + "id": "F3-file-private", + "optimization": "optimized", + "public": true, + "expectedCompile": "rejected", + "status": "public_compile_rejected", + "report": "reports/checkout/F3-file-private-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F3-file-private", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "rejected", + "status": "analysis_failed", + "report": "reports/checkout/F3-file-private-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F3-file-private", + "optimization": "optimized", + "public": false, + "expectedCompile": "rejected", + "status": "analysis_failed", + "report": "reports/installed/F3-file-private-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "file": "src/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F3-file-private", + "optimization": "optimized", + "public": true, + "expectedCompile": "rejected", + "status": "public_compile_rejected", + "report": "reports/installed/F3-file-private-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F3-file-private", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "rejected", + "status": "analysis_failed", + "report": "reports/installed/F3-file-private-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "file": "src/main.pbs" + } + ] + } + ], + "executions": [] + }, + { + "id": "F4-distinct", + "family": "homonymous-types", + "description": "Types ARoomData/BRoomData; dependency=True; direct=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F4-distinct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-distinct-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-distinct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-distinct-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-distinct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-distinct-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-distinct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-distinct-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-distinct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-distinct-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-distinct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-distinct-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573" + } + ] + }, + { + "id": "F4-same-no-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=False; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F4-same-no-dependency", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-same-no-dependency-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-same-no-dependency", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-same-no-dependency-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-same-no-dependency", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-same-no-dependency-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-same-no-dependency", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-same-no-dependency-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-same-no-dependency", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-same-no-dependency-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-same-no-dependency", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-same-no-dependency-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f" + } + ] + }, + { + "id": "F4-same-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "classification": "reproduced_failure", + "observations": [ + { + "mode": "checkout", + "id": "F4-same-dependency", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F4-same-dependency-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 126, + "end": 138, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)", + "file": "src/a/main.pbs" + } + ] + }, + { + "mode": "checkout", + "id": "F4-same-dependency", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F4-same-dependency-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-same-dependency", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F4-same-dependency-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 126, + "end": 138, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)", + "file": "src/a/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F4-same-dependency", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F4-same-dependency-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 126, + "end": 138, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)", + "file": "src/a/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F4-same-dependency", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F4-same-dependency-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-same-dependency", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F4-same-dependency-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 126, + "end": 138, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)", + "file": "src/a/main.pbs" + } + ] + } + ], + "executions": [] + }, + { + "id": "F4-rename-a", + "family": "homonymous-types", + "description": "Types StartRoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F4-rename-a", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-rename-a-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-rename-a", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-rename-a-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-rename-a", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-rename-a-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-rename-a", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-rename-a-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-rename-a", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-rename-a-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-rename-a", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-rename-a-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab" + } + ] + }, + { + "id": "F4-same-direct", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=True", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "classification": "reproduced_failure", + "observations": [ + { + "mode": "checkout", + "id": "F4-same-direct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F4-same-direct-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 125, + "end": 137, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)", + "file": "src/a/main.pbs" + } + ] + }, + { + "mode": "checkout", + "id": "F4-same-direct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F4-same-direct-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-same-direct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F4-same-direct-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 125, + "end": 137, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)", + "file": "src/a/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F4-same-direct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F4-same-direct-optimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 125, + "end": 137, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)", + "file": "src/a/main.pbs" + } + ] + }, + { + "mode": "installed", + "id": "F4-same-direct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F4-same-direct-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-same-direct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F4-same-direct-unoptimized.json", + "diagnostics": [ + { + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "start": 125, + "end": 137, + "functionIndex": null, + "pc": null, + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)", + "file": "src/a/main.pbs" + } + ] + } + ], + "executions": [] + }, + { + "id": "F4-public-aliases", + "family": "homonymous-types", + "description": "Two distinct nominal RoomData declarations imported with aliases", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F4-public-aliases", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-public-aliases-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-public-aliases", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-public-aliases-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F4-public-aliases", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-public-aliases-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-public-aliases", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-public-aliases-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-public-aliases", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-public-aliases-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F4-public-aliases", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-public-aliases-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b" + } + ] + }, + { + "id": "F5-shopvisit", + "family": "imported-struct-construction", + "description": "Imported ShopVisit, alias=None, positional=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F5-shopvisit", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-shopvisit-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F5-shopvisit", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-shopvisit-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F5-shopvisit", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-shopvisit-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-shopvisit", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-shopvisit-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-shopvisit", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-shopvisit-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-shopvisit", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-shopvisit-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff" + } + ] + }, + { + "id": "F5-scene", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F5-scene", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F5-scene", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F5-scene", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-scene", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-scene", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-scene", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8" + } + ] + }, + { + "id": "F5-scene-alias", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=WorldScene, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F5-scene-alias", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-alias-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F5-scene-alias", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-alias-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F5-scene-alias", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-alias-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-scene-alias", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-alias-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-scene-alias", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-alias-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-scene-alias", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-alias-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772" + } + ] + }, + { + "id": "F5-scene-positional", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=True", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "classification": "compiled_and_executed", + "observations": [ + { + "mode": "checkout", + "id": "F5-scene-positional", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-positional-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F5-scene-positional", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-positional-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "F5-scene-positional", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-positional-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-scene-positional", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-positional-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-scene-positional", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-positional-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "F5-scene-positional", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-positional-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "passed", + "matchesExpectation": true, + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a" + } + ] + }, + { + "id": "runtime-trap-control", + "family": "harness-control", + "description": "Deliberate guest fault proves frame assertions are executed", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "fault", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "classification": "harness_control", + "observations": [ + { + "mode": "checkout", + "id": "runtime-trap-control", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/runtime-trap-control-optimized.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "runtime-trap-control", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/runtime-trap-control-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "checkout", + "id": "runtime-trap-control", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/runtime-trap-control-unoptimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "runtime-trap-control", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/runtime-trap-control-optimized.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "runtime-trap-control", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/runtime-trap-control-optimized-public.json", + "diagnostics": [] + }, + { + "mode": "installed", + "id": "runtime-trap-control", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/runtime-trap-control-unoptimized.json", + "diagnostics": [] + } + ], + "executions": [ + { + "mode": "checkout", + "optimization": "optimized", + "observedRuntime": "fault", + "matchesExpectation": true, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d" + }, + { + "mode": "checkout", + "optimization": "unoptimized", + "observedRuntime": "fault", + "matchesExpectation": true, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d" + }, + { + "mode": "installed", + "optimization": "optimized", + "observedRuntime": "fault", + "matchesExpectation": true, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d" + }, + { + "mode": "installed", + "optimization": "unoptimized", + "observedRuntime": "fault", + "matchesExpectation": true, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d" + } + ] + } + ], + "findings": [ + { + "id": "PBS-EXPRESSION-CONTEXT", + "owner": "compiler/pbs", + "status": "reproduced_and_localized", + "cases": [ + "F1-direct", + "F1-two-calls", + "F1-service-this" + ], + "controls": [ + "F1-local", + "F1-service-local", + "F1-condition" + ], + "mechanism": "Returned boolean context is retained while lowering binary operands; structured method candidate filtering compares the int return against the enclosing bool expected type. Direct if condition and local materialization pass.", + "code": [ + { + "path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java", + "line": 443, + "sourceSha256": "0985dcd45f200a0eb24da602827482f90499f790dcaa52719dc769da3893f71d" + }, + { + "path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java", + "line": 1164, + "sourceSha256": "0985dcd45f200a0eb24da602827482f90499f790dcaa52719dc769da3893f71d" + }, + { + "path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java", + "line": 2186, + "sourceSha256": "0985dcd45f200a0eb24da602827482f90499f790dcaa52719dc769da3893f71d" + } + ] + }, + { + "id": "PBS-MODULE-PEER-SURFACE", + "owner": "compiler/pbs", + "status": "reproduced_and_localized", + "cases": [ + "F3-function", + "F3-global", + "F3-service" + ], + "controls": [ + "F3-single-file", + "F3-global-local", + "F3-service-local", + "F3-file-private" + ], + "mechanism": "Sibling collection contributes type/generic declarations but not ordinary peer function/global surfaces; peer service type availability does not provide the corresponding callable binding. Valid mod declarations fail when moved to a second file.", + "code": [ + { + "path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContextService.java", + "line": 83, + "sourceSha256": "6965b8325f0b7da1a83f7581984b34ea00671d66085d3210488fb672941e390f" + } + ] + }, + { + "id": "PBS-NOMINAL-DEPENDENCY", + "owner": "compiler/pbs", + "status": "reproduced_with_source_hypothesis", + "cases": [ + "F4-same-dependency", + "F4-same-direct" + ], + "controls": [ + "F4-distinct", + "F4-same-no-dependency", + "F4-rename-a", + "F4-public-aliases" + ], + "mechanismHypothesis": "Flat simple-name runtime type/signature indexes combine local and dependency declarations; private homonymous owner context can be replaced, leading to exact receiver signature mismatch. Differential tests establish the dependency/name interaction; exact correction and full scope are not yet verified.", + "code": [ + { + "path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java", + "line": 44, + "sourceSha256": "ce9ad71e884ad106719ddbbe1db99f183b8fba75db237af08e089e280fd2401f" + }, + { + "path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java", + "line": 113, + "sourceSha256": "d37d6e6cea1090e90913689f28db54cb0cf24e497fc3663c7ea2dc64f6f3ee4e" + } + ] + } + ], + "notReproduced": [ + { + "report": "Historical MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT with complex expressions/factories", + "scope": "Four nested-call variants compile and execute; no such verifier error occurs in this reduced corpus. This does not establish that all historical shapes are fixed." + }, + { + "report": "Historical Unsupported PBS runtime type: Scene", + "scope": "Scene and ShopVisit construction/cross-module parameters, Scene alias and positional construction compile and execute. Exact historical project state remains unqualified." + } + ], + "handoffs": [ + { + "agenda": "AGD-0114", + "finding": "Analysis diagnostics are followed by builder pipeline completed successfully in the production facade logs. No historical backend RET stack mismatch has been reproduced here.", + "evidence": "reports/checkout/F1-direct-optimized-public.json" + }, + { + "agenda": "AGD-0115", + "finding": "The analysis entrypoint returns code/span; compile rejects with generic BuildException and diagnostics remain in logs. Preserve the structured diagnostic through consumer adapters. No live LSP/MCP query was exercised in this corpus.", + "evidence": "reports/checkout/F1-direct-optimized.json" + } + ], + "counts": { + "cases": 28, + "classifications": { + "compiled_and_executed": 18, + "reproduced_failure": 8, + "expected_rejection": 1, + "harness_control": 1 + }, + "finalCompileObservations": 168, + "finalRuntimeExecutions": 76 + }, + "limitations": [ + "Research fixtures only; no product implementation or correction was made.", + "The nonoptimized path omits OptimizeIRVMPipelineStage and emits the original IRVM. It is a research variant, not a claimed public compiler option.", + "Public BuilderPipelineService.compile was checked for the default optimized pipeline; all cases also ran through the corresponding production stages.", + "Each case compiled in a separate JVM. Installed mode used only distribution JARs and a scratch working directory outside the repository.", + "Execution used the existing sibling debug headless binary, identified by hash. This is not qualification of an installed runtime distribution or live Studio UI/MCP.", + "Final counts describe the completed matrix, excluding earlier smoke/retry attempts.", + "An initial harness handshake incorrectly requested memcard with protocol 1.0. The attempt is preserved in reports/checkout/runtime-initial-handshake.json; the corrected harness negotiates supported version and only needed capabilities.", + "Absolute scratch paths in detailed reports are observational; cases.json contains all source inputs needed to rematerialize them." + ] +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/investigate.py b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/investigate.py new file mode 100644 index 00000000..5a1c6331 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/investigate.py @@ -0,0 +1,178 @@ +#!/usr/bin/env python3 +"""Research corpus for AGD-0113. Only writes evidence and isolated scratch projects.""" +import argparse +import hashlib +import json +import os +from pathlib import Path +import subprocess +import tempfile +import time + +HERE = Path(__file__).resolve().parent +ROOT = HERE.parents[3] +INSTALL = ROOT / "prometeu-app/build/install/prometeu-app" +JAVA = INSTALL / "runtime/bin/java" +JAVAC = INSTALL / "runtime/bin/javac" +MANIFEST = {"name": "caseapp", "version": "1.0.0", "language": "pbs", "stdlib": "1", "target": "Game", "dependencies": []} + + +def digest(data): + return hashlib.sha256(data).hexdigest() + + +def corpus(): + cases = [] + + def add(case_id, family, description, files, control=None, expected="compiled", runtime="passed"): + files = {"prometeu.json": json.dumps(MANIFEST, indent=2) + "\n", **files} + cases.append({"id": case_id, "family": family, "description": description, + "control": control, "expectedCompile": expected, "expectedRuntime": runtime, + "files": files, "sourceSha256": digest(json.dumps(files, sort_keys=True).encode())}) + + def one(case_id, family, description, body, control=None): + add(case_id, family, description, {"src/mod.barrel": "pub fn frame() -> void;\n", "src/main.pbs": body}, control) + + check = "[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + data = "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\n" + one("F1-local", "call-comparison-return", "Control: method result materialized before comparison", data + "fn check() -> bool { let value=data.value(); return value!=0; }\n" + check) + one("F1-direct", "call-comparison-return", "Method call compared directly in returned expression", data + "fn check() -> bool { return data.value()!=0; }\n" + check, "F1-local") + one("F1-two-calls", "call-comparison-return", "Two method calls as comparison operands", data + "fn check() -> bool { return data.value()==data.value(); }\n" + check, "F1-local") + service = "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { return this.value()!=0; } }\n" + one("F1-service-this", "call-comparison-return", "Service receiver this inside a returned comparison", service + "[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n", "F1-local") + one("F1-service-local", "call-comparison-return", "Control: identical service call materialized before returned comparison", service.replace("return this.value()!=0;", "let value=this.value(); return value!=0;") + "[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n") + one("F1-condition", "call-comparison-return", "Control: direct method comparison in an if condition", data + "[Frame] fn frame() -> void { if data.value()!=1 { let failure=1/0; } }\n") + + effects = "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n" + one("F2-locals", "nested-call-expression", "Control: effectful call arguments stored in locals", effects + "[Frame] fn frame() -> void { calls=0; let a=next(); let b=next(); let value=add(a,b); if value!=3 || calls!=2 { let failure=1/0; } }\n") + one("F2-arguments", "nested-call-expression", "Effectful call arguments evaluate once, left to right", effects + "[Frame] fn frame() -> void { calls=0; let value=add(next(),next()); if value!=3 || calls!=2 { let failure=1/0; } }\n", "F2-locals") + one("F2-expression", "nested-call-expression", "Effectful calls nested inside arithmetic argument", effects + "[Frame] fn frame() -> void { calls=0; let value=add(next()+next(),next()); if value!=6 || calls!=3 { let failure=1/0; } }\n", "F2-locals") + one("F2-struct-method", "nested-call-expression", "Struct method used as another method argument", data + "fn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { let value=add(data.value(),data.value()); if value!=2 { let failure=1/0; } }\n", "F2-locals") + + one("F3-single-file", "same-module-files", "Control: function and caller in the same file", "fn increment(value: int) -> int { return value+1; }\n[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n") + add("F3-function", "same-module-files", "mod function called from another file", {"src/mod.barrel": "pub fn frame() -> void;\nmod fn increment(value: int) -> int;\n", "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n"}, "F3-single-file") + add("F3-global", "same-module-files", "mod global mutated from another file", {"src/mod.barrel": "pub fn frame() -> void;\nmod global count;\n", "src/state.pbs": "declare global count: int=0;\n", "src/main.pbs": "[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n"}) + add("F3-service", "same-module-files", "mod service called from another file", {"src/mod.barrel": "pub fn frame() -> void;\nmod service Helper;\n", "src/helpers.pbs": "declare service Helper { fn value() -> int { return 3; } }\n", "src/main.pbs": "[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n"}) + one("F3-global-local", "same-module-files", "Control: identical global and caller in the same file", "declare global count: int=0;\n[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n") + one("F3-service-local", "same-module-files", "Control: identical service and caller in the same file", "declare service Helper { fn value() -> int { return 3; } }\n[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n") + add("F3-file-private", "same-module-files", "Negative control: function absent from barrel stays file-private", {"src/mod.barrel": "pub fn frame() -> void;\n", "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); }\n"}, "F3-function", expected="rejected", runtime="not_run") + + def rooms(case_id, name_a, name_b, dependency, direct=False): + a_import = "import { B } from @caseapp:b;\n" if dependency else "" + a_return = "let own=room.value(); let other=B.value(); return own+other;" if dependency else "let own=room.value(); return own;" + if direct: + a_return = "return room.value()+B.value();" if dependency else "return room.value();" + expected = 3 if dependency else 1 + files = {"src/mod.barrel": "pub fn frame() -> void;\n", "src/main.pbs": f"import {{ A }} from @caseapp:a;\nimport {{ B }} from @caseapp:b;\n[Frame] fn frame() -> void {{ let value=A.value(); if value!={expected} {{ let failure=1/0; }} let other=B.value(); if other!=2 {{ let failure=1/0; }} }}\n"} + for module, service_name, typ, value in [("a", "A", name_a, 1), ("b", "B", name_b, 2)]: + files[f"src/{module}/mod.barrel"] = f"pub service {service_name};\nmod struct {typ};\n" + files[f"src/{module}/data.pbs"] = f"declare struct {typ}() {{ fn value() -> int {{ return {value}; }} }}\n" + method = a_return if module == "a" else "return room.value();" + files[f"src/{module}/main.pbs"] = (a_import if module == "a" else "") + f"declare global room: {typ} = new {typ}();\ndeclare service {service_name} {{ fn value() -> int {{ {method} }} }}\n" + add(case_id, "homonymous-types", f"Types {name_a}/{name_b}; dependency={dependency}; direct={direct}", files, + None if case_id == "F4-distinct" else "F4-distinct") + + rooms("F4-distinct", "ARoomData", "BRoomData", True) + rooms("F4-same-no-dependency", "RoomData", "RoomData", False) + rooms("F4-same-dependency", "RoomData", "RoomData", True) + rooms("F4-rename-a", "StartRoomData", "RoomData", True) + rooms("F4-same-direct", "RoomData", "RoomData", True, True) + alias_case = {"src/mod.barrel": "pub fn frame() -> void;\n", "src/main.pbs": "import { RoomData as LeftData } from @caseapp:a;\nimport { RoomData as RightData } from @caseapp:b;\ndeclare global left: LeftData = new LeftData(1);\ndeclare global right: RightData = new RightData(2);\n[Frame] fn frame() -> void { let a=left.value(); let b=right.value(); if a!=1 || b!=2 { let failure=1/0; } }\n"} + for module in ("a", "b"): + alias_case[f"src/{module}/mod.barrel"] = "pub struct RoomData;\n" + alias_case[f"src/{module}/main.pbs"] = "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n" + add("F4-public-aliases", "homonymous-types", "Two distinct nominal RoomData declarations imported with aliases", alias_case, "F4-distinct") + + def imported(case_id, type_name, alias=None, positional=False): + local = alias or type_name + ctor = f"new {local}(10)" if positional else f"new {local}.make(10)" + imported_name = f"{type_name} as {alias}" if alias else type_name + files = {"src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": f"import {{ {imported_name} }} from @caseapp:scene;\nimport {{ Link }} from @caseapp:link;\ndeclare global scene: {local} = {ctor};\n[Frame] fn frame() -> void {{ let value=Link.read(scene); if value!=10 {{ let failure=1/0; }} }}\n", + "src/scene/mod.barrel": f"pub struct {type_name};\n", + "src/scene/main.pbs": f"declare struct {type_name}(value: int) {{ ctor make(value: int) {{ this.value=value; }} fn read() -> int {{ return this.value; }} }}\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": f"import {{ {type_name} }} from @caseapp:scene;\ndeclare service Link {{ fn read(scene: {type_name}) -> int {{ return scene.read(); }} }}\n"} + add(case_id, "imported-struct-construction", f"Imported {type_name}, alias={alias}, positional={positional}", files, + None if case_id == "F5-shopvisit" else "F5-shopvisit") + + imported("F5-shopvisit", "ShopVisit") + imported("F5-scene", "Scene") + imported("F5-scene-alias", "Scene", "WorldScene") + imported("F5-scene-positional", "Scene", positional=True) + one("runtime-trap-control", "harness-control", "Deliberate guest fault proves frame assertions are executed", "[Frame] fn frame() -> void { let failure=1/0; }\n") + cases[-1]["expectedRuntime"] = "fault" + for case in cases: + if case["id"] == "F1-service-this": case["control"] = "F1-service-local" + if case["id"] == "F3-global": case["control"] = "F3-global-local" + if case["id"] == "F3-service": case["control"] = "F3-service-local" + return cases + + +def classpath(mode): + installed = str(INSTALL / "lib/*") + if mode == "installed": + return installed + modules = ["prometeu-infra", "prometeu-animation", "prometeu-compiler/prometeu-compiler-core", + "prometeu-compiler/prometeu-frontend-api", "prometeu-compiler/frontends/prometeu-frontend-pbs", + "prometeu-compiler/prometeu-frontend-registry", "prometeu-compiler/prometeu-deps", + "prometeu-compiler/prometeu-build-pipeline"] + entries = [str(ROOT / m / suffix) for m in modules for suffix in ["build/classes/java/main", "build/resources/main"] + if (ROOT / m / suffix).exists()] + return os.pathsep.join(entries + [installed]) + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--mode", choices=["checkout", "installed"], default="checkout") + parser.add_argument("--select", help="Comma-separated case IDs; default is the full corpus") + parser.add_argument("--public", action="store_true", help="Also check the production public compile entrypoint") + args = parser.parse_args() + cases = corpus() + (HERE / "cases.json").write_text(json.dumps({"schemaVersion": 1, "cases": cases}, indent=2) + "\n") + selected = set(args.select.split(",")) if args.select else None + if selected: + assert selected <= {c["id"] for c in cases}, selected + cases = [c for c in cases if c["id"] in selected] + scratch = Path(tempfile.mkdtemp(prefix=f"agd113-{args.mode}-")) + cp = classpath(args.mode) + subprocess.run([str(JAVAC), "-proc:none", "-cp", cp, "-d", str(scratch / "classes"), str(HERE / "Agd113Probe.java")], check=True) + report_dir = HERE / "reports" / args.mode + report_dir.mkdir(parents=True, exist_ok=True) + prior = json.loads((report_dir / "summary.json").read_text()) if (report_dir / "summary.json").exists() else {} + summary = {"schemaVersion": 1, "mode": args.mode, "scratch": str(scratch), "cases": prior.get("cases", [])} + for case in cases: + for optimization in ["optimized", "unoptimized"]: + for public in ([False, True] if args.public and optimization == "optimized" else [False]): + suffix = optimization + ("-public" if public else "") + project = scratch / case["id"] / suffix + for path, source in case["files"].items(): + target = project / path + target.parent.mkdir(parents=True, exist_ok=True) + target.write_text(source) + report = report_dir / f"{case['id']}-{suffix}.json" + cmd = [str(JAVA), "-cp", os.pathsep.join([str(scratch / "classes"), cp]), "Agd113Probe", str(project), optimization, str(report)] + if public: + cmd.append("public") + started = time.monotonic() + completed = subprocess.run(cmd, cwd=scratch, capture_output=True, text=True, timeout=50) + if completed.returncode: + report.write_text(json.dumps({"status": "probe_failure", "returncode": completed.returncode, + "stdout": completed.stdout, "stderr": completed.stderr}, indent=2) + "\n") + result = json.loads(report.read_text()) + result["caseId"] = case["id"] + result["sourceSha256"] = case["sourceSha256"] + result["durationSeconds"] = round(time.monotonic() - started, 3) + result["stderr"] = completed.stderr + report.write_text(json.dumps(result, indent=2) + "\n") + summary["cases"] = [i for i in summary["cases"] if (i["id"], i["optimization"], i["public"]) != (case["id"], optimization, public)] + summary["cases"].append({"id": case["id"], "optimization": optimization, "public": public, + "expectedCompile": case["expectedCompile"], "status": result["status"], + "report": str(report.relative_to(HERE))}) + print(args.mode, case["id"], suffix, result["status"], flush=True) + (report_dir / "summary.json").write_text(json.dumps(summary, indent=2) + "\n") + print("Scratch:", scratch, flush=True) + + +if __name__ == "__main__": + main() diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/provenance.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/provenance.json new file mode 100644 index 00000000..05fb2c10 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/provenance.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "capturedAtUtc": "2026-11-09T15:01:24.959140+00:00", + "studioRevision": "38f201a9c9e9e23e961da4fa715ed5ee80283e94", + "studioWorktreeStatus": [ + "M \"docs/specs/studio/8. Project-Local Studio State Specification.md\"", + " M prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java", + " M prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/ExternalSourceDevelopmentHostTest.java", + " M tools/vscode-extension/.gitignore", + " M tools/vscode-extension/README.md", + " M tools/vscode-extension/out/extension.js", + " M tools/vscode-extension/out/externalSources.js", + " M tools/vscode-extension/package.json", + " M tools/vscode-extension/src/extension.ts", + " M tools/vscode-extension/src/externalSources.ts", + " M tools/vscode-extension/src/test/externalSources.ts", + "?? discussion/lessons/DSC-0103-studio-lsp-discovery/", + "?? prometeu-app/src/test/java/p/studio/app/lsp/LspDiscoveryTest.java", + "?? tools/vscode-extension/out/discovery.js", + "?? tools/vscode-extension/src/discovery.ts", + "?? tools/vscode-extension/src/test/discovery.ts" + ], + "platform": "macOS-27.2-x86_64-i386-64bit", + "machine": "x86_64", + "java": "openjdk version \"21.0.4\" 2024-07-16 LTS\nOpenJDK Runtime Environment Corretto-21.0.4.7.1 (build 21.0.4+7-LTS)\nOpenJDK 64-Bit Server VM Corretto-21.0.4.7.1 (build 21.0.4+7-LTS, mixed mode)", + "modules": [ + { + "path": "prometeu-infra", + "sources": { + "files": 13, + "sha256": "fa687886ae3dd448a4a4f75f050d105381738deefaabf8ab37c7c98530b03f82" + }, + "classes": { + "files": 19, + "sha256": "ca8703e19f121597737819aa961387f93f62ca91bda6a3ea144637138d071a4a" + }, + "installedJarSha256": "f13e51efc3c570f615bdae452ba1f309bf1c517f2a2b59d53c8bd2bc27b997a4", + "installedClassComparison": { + "matching": 19, + "differentOrMissing": [] + } + }, + { + "path": "prometeu-animation", + "sources": { + "files": 11, + "sha256": "3c9ba4e3f68e46bd93b21dfedf98f9ec86a175210c92835951a0938edf920c67" + }, + "classes": { + "files": 20, + "sha256": "4e49a264283bd69c41c27522648a6475507dbe6f5e7551f9417d37f8718bb0f9" + }, + "installedJarSha256": "14e8fa35594dc87d57ecb02774e8d59d01708b2f557707da4cb194b384fd6ba3", + "installedClassComparison": { + "matching": 20, + "differentOrMissing": [] + } + }, + { + "path": "prometeu-compiler/prometeu-compiler-core", + "sources": { + "files": 60, + "sha256": "63d91df2cd9659c84afc7b1f08e6ed2bb59459121dfff9d351b971b8b9729431" + }, + "classes": { + "files": 69, + "sha256": "67195eb34021e0982dca4d13edf12bac5005596bb69f916b6df8065274364059" + }, + "installedJarSha256": "3e59f47ebdd5817296e6cbd318a0550675c6e794786ea409461e33d8b7ee2e27", + "installedClassComparison": { + "matching": 69, + "differentOrMissing": [] + } + }, + { + "path": "prometeu-compiler/prometeu-frontend-api", + "sources": { + "files": 50, + "sha256": "1c32e9b8e7a8026c4c2632de4ff30df4af943ecc7d49738a55ab61703e59aee6" + }, + "classes": { + "files": 80, + "sha256": "74ac9eb3b87ac2f9cc8a0ba53f27cf4a50d77d42255901a9ea6f31198d0990e8" + }, + "installedJarSha256": "04f721e4afee0a9cdb4c86e3293b5bbe02aee6d903e4a529ed26c01df19d2167", + "installedClassComparison": { + "matching": 80, + "differentOrMissing": [] + } + }, + { + "path": "prometeu-compiler/frontends/prometeu-frontend-pbs", + "sources": { + "files": 175, + "sha256": "bb26f87e8653d9096079320f2f13fa5e03f7feec274b7edf6ad96aae5ef46046" + }, + "classes": { + "files": 382, + "sha256": "b4243aeac77e926c5f49f6c85378924cae1ac4a3d441addd373ae9a1bcadf4d7" + }, + "installedJarSha256": "811c28b6cff04514dfd6350fc5be655c28e971403badb66eec9a9deea639c877", + "installedClassComparison": { + "matching": 382, + "differentOrMissing": [] + } + }, + { + "path": "prometeu-compiler/prometeu-frontend-registry", + "sources": { + "files": 1, + "sha256": "f15427b5306e828f350c499468520f14db04a213c8cc3e4a0e5b378c8ad9ce1b" + }, + "classes": { + "files": 1, + "sha256": "5c5c66c058c558cd5555c9dfe71a70f51fee013539b77245bcb7932064a9f5ac" + }, + "installedJarSha256": "5335baaa8d105a9f7ad7968d66edbd104afc1da2b206795adb5f12259a104a86", + "installedClassComparison": { + "matching": 1, + "differentOrMissing": [] + } + }, + { + "path": "prometeu-compiler/prometeu-deps", + "sources": { + "files": 22, + "sha256": "7675aef42c196ad300e756941c36360b7669466d6a152de63fdacd4d5ffc930a" + }, + "classes": { + "files": 27, + "sha256": "16e4aed22abe63084b1e982122885dcf5331ae214262fa8c7a881cc4ce40bf85" + }, + "installedJarSha256": "83a4f709e35b92f5a559f5cdc177853c1eb836d38d88740959b0162c4233ccb4", + "installedClassComparison": { + "matching": 27, + "differentOrMissing": [] + } + }, + { + "path": "prometeu-compiler/prometeu-build-pipeline", + "sources": { + "files": 48, + "sha256": "d2ae07badb20ee7c47d34967387f99a9c3c3fb088806d0626309bc7bed2f7674" + }, + "classes": { + "files": 97, + "sha256": "f0677652a814732c6adbd500e8a008d32beed536208d5d77ba88c9eba4f58a8b" + }, + "installedJarSha256": "999e0bf636fbf0115b857375ed91f73f9d44d0b16cec51ce3bad2b42d9ed9455", + "installedClassComparison": { + "matching": 97, + "differentOrMissing": [] + } + } + ], + "runtimeExecutables": [ + { + "binary": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless", + "binarySha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6" + }, + { + "binary": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless", + "binarySha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6" + } + ], + "scope": "Runtime binaries were read/executed only; all cartridge/media-free fixture writes belong to scratch directories." +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-optimized-public.json new file mode 100644 index 00000000..dfde630f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-optimized-public.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized-public/cartridge", + "bytecodeBytes": 1176, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@222a59e6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c2bb6e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e62d773, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef74c30, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7283d3eb, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18ece7f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3cce57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-condition", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "durationSeconds": 0.648, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-optimized.json new file mode 100644 index 00000000..ee24a2c2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-optimized.json @@ -0,0 +1,138 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized/cartridge", + "bytecodeBytes": 1176, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@222a59e6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c2bb6e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e62d773, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef74c30, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7283d3eb, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18ece7f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3cce57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-condition", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "durationSeconds": 0.685, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-unoptimized.json new file mode 100644 index 00000000..4ecd363a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-condition-unoptimized.json @@ -0,0 +1,133 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/unoptimized/cartridge", + "bytecodeBytes": 1198, + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@222a59e6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c2bb6e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e62d773, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef74c30, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7283d3eb, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18ece7f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3cce57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-condition", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "durationSeconds": 0.639, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-optimized-public.json new file mode 100644 index 00000000..48d99a73 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-optimized-public.json @@ -0,0 +1,33 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-direct", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "durationSeconds": 0.602, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-optimized.json new file mode 100644 index 00000000..83982651 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-optimized.json @@ -0,0 +1,46 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "fileId": 0, + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-direct", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "durationSeconds": 0.582, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-unoptimized.json new file mode 100644 index 00000000..d1d8d4a0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-direct-unoptimized.json @@ -0,0 +1,46 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "fileId": 0, + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-direct", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "durationSeconds": 0.596, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-optimized-public.json new file mode 100644 index 00000000..d6154a73 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-optimized-public.json @@ -0,0 +1,121 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized-public/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4149c063, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@21d03963, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f760b47, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3cce57c7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cf56a1c, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@747f281, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1169afe1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-local", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "durationSeconds": 0.725, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-optimized.json new file mode 100644 index 00000000..0179d004 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-optimized.json @@ -0,0 +1,150 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4149c063, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@21d03963, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f760b47, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3cce57c7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cf56a1c, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@747f281, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1169afe1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-local", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "durationSeconds": 1.132, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-unoptimized.json new file mode 100644 index 00000000..68caf26d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-local-unoptimized.json @@ -0,0 +1,145 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/unoptimized/cartridge", + "bytecodeBytes": 1353, + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4149c063, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@21d03963, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f760b47, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3cce57c7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cf56a1c, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3576ddc2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@747f281, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1169afe1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@387a8303, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-local", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "durationSeconds": 0.648, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-optimized-public.json new file mode 100644 index 00000000..7824d5b8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-optimized-public.json @@ -0,0 +1,114 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized-public/cartridge", + "bytecodeBytes": 1310, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68746f22, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53f3bdbd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34129c78, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-local", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "durationSeconds": 0.671, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-optimized.json new file mode 100644 index 00000000..dae014b7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-optimized.json @@ -0,0 +1,143 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized/cartridge", + "bytecodeBytes": 1310, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68746f22, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53f3bdbd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34129c78, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-local", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "durationSeconds": 0.725, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-unoptimized.json new file mode 100644 index 00000000..d7111a5e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-local-unoptimized.json @@ -0,0 +1,138 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/unoptimized/cartridge", + "bytecodeBytes": 1332, + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68746f22, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f15d60e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53f3bdbd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34129c78, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1be2019a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-local", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "durationSeconds": 0.654, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-optimized-public.json new file mode 100644 index 00000000..f966443c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-optimized-public.json @@ -0,0 +1,33 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96) [file=0:84-96] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-this", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "durationSeconds": 0.573, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-optimized.json new file mode 100644 index 00000000..1bd76680 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-optimized.json @@ -0,0 +1,46 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)", + "fileId": 0, + "start": 84, + "end": 96, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96) [file=0:84-96] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-this", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "durationSeconds": 0.579, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-unoptimized.json new file mode 100644 index 00000000..8b7ba83e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-service-this-unoptimized.json @@ -0,0 +1,46 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)", + "fileId": 0, + "start": 84, + "end": 96, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96) [file=0:84-96] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-this", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "durationSeconds": 0.648, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-optimized-public.json new file mode 100644 index 00000000..577ca212 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-optimized-public.json @@ -0,0 +1,34 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155) [file=0:143-155] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-two-calls", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "durationSeconds": 0.586, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-optimized.json new file mode 100644 index 00000000..c9fd98fe --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-optimized.json @@ -0,0 +1,59 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "fileId": 0, + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized/src/main.pbs" + }, + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)", + "fileId": 0, + "start": 143, + "end": 155, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155) [file=0:143-155] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-two-calls", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "durationSeconds": 0.639, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-unoptimized.json new file mode 100644 index 00000000..99f7b804 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F1-two-calls-unoptimized.json @@ -0,0 +1,59 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "fileId": 0, + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized/src/main.pbs" + }, + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)", + "fileId": 0, + "start": 143, + "end": 155, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155) [file=0:143-155] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-two-calls", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "durationSeconds": 0.613, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-optimized-public.json new file mode 100644 index 00000000..43b6285d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-optimized-public.json @@ -0,0 +1,131 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized-public/cartridge", + "bytecodeBytes": 1516, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f43c82, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41f69e84, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d9f158f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78fa769e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16612a51, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@54e041a4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c78324b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79defdc, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4149c063, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-arguments", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "durationSeconds": 0.613, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-optimized.json new file mode 100644 index 00000000..a6a004fa --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-optimized.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized/cartridge", + "bytecodeBytes": 1516, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f43c82, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41f69e84, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d9f158f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78fa769e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16612a51, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@54e041a4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c78324b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79defdc, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4149c063, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-arguments", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "durationSeconds": 0.619, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-unoptimized.json new file mode 100644 index 00000000..0ab2d91d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-arguments-unoptimized.json @@ -0,0 +1,155 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/unoptimized/cartridge", + "bytecodeBytes": 1538, + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f43c82, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41f69e84, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d9f158f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78fa769e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16612a51, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@54e041a4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c78324b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79defdc, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4149c063, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-arguments", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "durationSeconds": 0.621, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-optimized-public.json new file mode 100644 index 00000000..077b36fc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-optimized-public.json @@ -0,0 +1,133 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized-public/cartridge", + "bytecodeBytes": 1556, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f43c82, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41f69e84, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d9f158f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@68746f22, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c78324b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79defdc, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@238d68ff, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@76b07f29, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-expression", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "durationSeconds": 0.674, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-optimized.json new file mode 100644 index 00000000..bc259b1a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-optimized.json @@ -0,0 +1,162 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized/cartridge", + "bytecodeBytes": 1556, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f43c82, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41f69e84, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d9f158f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@68746f22, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c78324b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79defdc, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@238d68ff, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@76b07f29, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-expression", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "durationSeconds": 0.635, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-unoptimized.json new file mode 100644 index 00000000..bab7b672 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-expression-unoptimized.json @@ -0,0 +1,157 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/unoptimized/cartridge", + "bytecodeBytes": 1578, + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f43c82, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41f69e84, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d9f158f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@68746f22, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c78324b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79defdc, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@238d68ff, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@76b07f29, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-expression", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "durationSeconds": 0.7, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-optimized-public.json new file mode 100644 index 00000000..1676005c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-optimized-public.json @@ -0,0 +1,135 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized-public/cartridge", + "bytecodeBytes": 1604, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f43c82, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41f69e84, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d9f158f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@68878f6d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@238d68ff, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4149c063, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@76b07f29, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@53f3bdbd, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-locals", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "durationSeconds": 0.655, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-optimized.json new file mode 100644 index 00000000..d3f7113b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-optimized.json @@ -0,0 +1,164 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized/cartridge", + "bytecodeBytes": 1604, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f43c82, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41f69e84, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d9f158f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@68878f6d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@238d68ff, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4149c063, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@76b07f29, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@53f3bdbd, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-locals", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "durationSeconds": 0.64, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-unoptimized.json new file mode 100644 index 00000000..040849c4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-locals-unoptimized.json @@ -0,0 +1,159 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/unoptimized/cartridge", + "bytecodeBytes": 1626, + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f43c82, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41f69e84, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d9f158f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@68878f6d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@238d68ff, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4149c063, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@76b07f29, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62656be4, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17d919b6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@53f3bdbd, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d61eb55, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@17503f6b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-locals", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "durationSeconds": 0.61, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-optimized-public.json new file mode 100644 index 00000000..8938afcf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-optimized-public.json @@ -0,0 +1,125 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized-public/cartridge", + "bytecodeBytes": 1431, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@22f59fa, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@22f59fa, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@22f59fa, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2eea88a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76b07f29, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c7a164b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e62d773, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef74c30, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@638ef7ed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f1d2e23, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@264f218, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b86de0d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@81d9a72, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1169afe1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ca26d77, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4808bc9b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@70e38ce1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@163370c2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2eea88a1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-struct-method", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "durationSeconds": 0.682, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-optimized.json new file mode 100644 index 00000000..ad3c1435 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-optimized.json @@ -0,0 +1,154 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized/cartridge", + "bytecodeBytes": 1431, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@22f59fa, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@22f59fa, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@22f59fa, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2eea88a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76b07f29, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c7a164b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e62d773, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef74c30, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@638ef7ed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f1d2e23, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@264f218, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b86de0d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@81d9a72, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1169afe1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ca26d77, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4808bc9b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@70e38ce1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@163370c2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2eea88a1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-struct-method", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "durationSeconds": 0.672, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-unoptimized.json new file mode 100644 index 00000000..86cc45ac --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F2-struct-method-unoptimized.json @@ -0,0 +1,149 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/unoptimized/cartridge", + "bytecodeBytes": 1453, + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@22f59fa, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@22f59fa, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@22f59fa, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2eea88a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@9cb8225, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76b07f29, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@376a0d86, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c7a164b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e62d773, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef74c30, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@638ef7ed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bff7da0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f1d2e23, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@264f218, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b86de0d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@81d9a72, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1169afe1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ca26d77, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4808bc9b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@70e38ce1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@163370c2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2eea88a1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-struct-method", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "durationSeconds": 0.668, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-optimized-public.json new file mode 100644 index 00000000..6f264434 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-optimized-public.json @@ -0,0 +1,34 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-file-private", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "durationSeconds": 0.609, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-optimized.json new file mode 100644 index 00000000..1c738780 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-optimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "fileId": 1, + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-file-private", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "durationSeconds": 0.584, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-unoptimized.json new file mode 100644 index 00000000..23340d9f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-file-private-unoptimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "fileId": 1, + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-file-private", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "durationSeconds": 0.576, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-optimized-public.json new file mode 100644 index 00000000..cd3beb43 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-optimized-public.json @@ -0,0 +1,34 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-function", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "durationSeconds": 0.567, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-optimized.json new file mode 100644 index 00000000..9743762c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-optimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "fileId": 1, + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-function", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "durationSeconds": 0.572, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-unoptimized.json new file mode 100644 index 00000000..4c894539 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-function-unoptimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "fileId": 1, + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-function", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "durationSeconds": 0.581, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-optimized-public.json new file mode 100644 index 00000000..c83cd24e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-optimized-public.json @@ -0,0 +1,99 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized-public/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7098b907, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23f5b5dc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@730d2164, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64b0598, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18f8cd79, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e2055d6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global-local", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "durationSeconds": 0.651, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-optimized.json new file mode 100644 index 00000000..2692cacf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-optimized.json @@ -0,0 +1,128 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7098b907, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23f5b5dc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@730d2164, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64b0598, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18f8cd79, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e2055d6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global-local", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "durationSeconds": 0.646, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-unoptimized.json new file mode 100644 index 00000000..fa9adbd7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-local-unoptimized.json @@ -0,0 +1,123 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/unoptimized/cartridge", + "bytecodeBytes": 1049, + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7098b907, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23f5b5dc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@730d2164, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7975d1d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2438dcd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24105dc5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64b0598, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18f8cd79, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e2055d6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50f6ac94, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34bde49d, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global-local", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "durationSeconds": 0.647, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-optimized-public.json new file mode 100644 index 00000000..8857fda9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-optimized-public.json @@ -0,0 +1,34 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized-public/src/state.pbs" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) [BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34) [file=0:29-34] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "durationSeconds": 0.636, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-optimized.json new file mode 100644 index 00000000..938cf007 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-optimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)", + "fileId": 0, + "start": 29, + "end": 34, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized/src/state.pbs" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) [BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34) [file=0:29-34] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "durationSeconds": 0.597, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-unoptimized.json new file mode 100644 index 00000000..8fcad197 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-global-unoptimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)", + "fileId": 0, + "start": 29, + "end": 34, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized/src/state.pbs" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) [BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34) [file=0:29-34] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "durationSeconds": 0.628, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-optimized-public.json new file mode 100644 index 00000000..1e0e17ab --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-optimized-public.json @@ -0,0 +1,95 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized-public/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68878f6d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service-local", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "durationSeconds": 0.666, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-optimized.json new file mode 100644 index 00000000..b05de839 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-optimized.json @@ -0,0 +1,124 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68878f6d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service-local", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "durationSeconds": 0.7, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-unoptimized.json new file mode 100644 index 00000000..7b5cc138 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-local-unoptimized.json @@ -0,0 +1,119 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/unoptimized/cartridge", + "bytecodeBytes": 1050, + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28194a50, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bdd8394, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f01783a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68878f6d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41488b16, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a8ef162, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac296f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b86805d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5852c06f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7857fe2, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service-local", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "durationSeconds": 0.81, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-optimized-public.json new file mode 100644 index 00000000..66540715 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-optimized-public.json @@ -0,0 +1,35 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53) [file=1:39-53] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89) [file=1:8-89] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "durationSeconds": 0.611, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-optimized.json new file mode 100644 index 00000000..d3e7df0e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-optimized.json @@ -0,0 +1,60 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)", + "fileId": 1, + "start": 39, + "end": 53, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/main.pbs" + }, + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)", + "fileId": 1, + "start": 8, + "end": 89, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53) [file=1:39-53] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89) [file=1:8-89] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "durationSeconds": 0.739, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-unoptimized.json new file mode 100644 index 00000000..13a6fc55 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-service-unoptimized.json @@ -0,0 +1,60 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)", + "fileId": 1, + "start": 39, + "end": 53, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/main.pbs" + }, + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)", + "fileId": 1, + "start": 8, + "end": 89, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53) [file=1:39-53] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89) [file=1:8-89] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "durationSeconds": 0.635, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-optimized-public.json new file mode 100644 index 00000000..0abdfa1a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-optimized-public.json @@ -0,0 +1,82 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized-public/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3b35a229, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@565f390, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc3712, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f67a4d3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@147e2ae7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@448c8166, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4470fbd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@730d2164, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10289886, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@461ad730, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ee203eb, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a5a4e19, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7068e664, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-single-file", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "durationSeconds": 0.767, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-optimized.json new file mode 100644 index 00000000..3855ed24 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-optimized.json @@ -0,0 +1,111 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3b35a229, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@565f390, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc3712, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f67a4d3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@147e2ae7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@448c8166, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4470fbd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@730d2164, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10289886, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@461ad730, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ee203eb, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a5a4e19, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7068e664, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-single-file", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "durationSeconds": 0.667, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-unoptimized.json new file mode 100644 index 00000000..6a646c1b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F3-single-file-unoptimized.json @@ -0,0 +1,106 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/unoptimized/cartridge", + "bytecodeBytes": 881, + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3b35a229, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@565f390, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc3712, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f67a4d3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@147e2ae7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@448c8166, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4470fbd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@730d2164, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24959ca4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10289886, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@461ad730, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ee203eb, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a5a4e19, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7068e664, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e78b6a5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-single-file", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "durationSeconds": 0.66, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-optimized-public.json new file mode 100644 index 00000000..f655f4ec --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-optimized-public.json @@ -0,0 +1,227 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/cartridge", + "bytecodeBytes": 2746, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@266374ef, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b5189ac, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ddc6915, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@379614be, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@404bbcbd, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@658c5a19, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59d4cd39, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1187c9e8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-distinct", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "durationSeconds": 0.659, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-optimized.json new file mode 100644 index 00000000..1a1746c9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-optimized.json @@ -0,0 +1,256 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/cartridge", + "bytecodeBytes": 2746, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@266374ef, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b5189ac, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ddc6915, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@379614be, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@404bbcbd, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@658c5a19, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59d4cd39, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1187c9e8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-distinct", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "durationSeconds": 0.686, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-unoptimized.json new file mode 100644 index 00000000..1ae2c404 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-distinct-unoptimized.json @@ -0,0 +1,251 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/cartridge", + "bytecodeBytes": 2790, + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@266374ef, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b5189ac, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ddc6915, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@379614be, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@404bbcbd, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@658c5a19, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59d4cd39, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1187c9e8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-distinct", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "durationSeconds": 0.697, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-optimized-public.json new file mode 100644 index 00000000..bf378576 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-optimized-public.json @@ -0,0 +1,147 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/cartridge", + "bytecodeBytes": 1897, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@238d68ff, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f6c5d8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@27912e3, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34b9f960, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2415fc55, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@14f232c4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@651aed93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-public-aliases", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "durationSeconds": 0.687, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-optimized.json new file mode 100644 index 00000000..1e733dac --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-optimized.json @@ -0,0 +1,176 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/cartridge", + "bytecodeBytes": 1897, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@238d68ff, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f6c5d8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@27912e3, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34b9f960, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2415fc55, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@14f232c4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@651aed93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-public-aliases", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "durationSeconds": 0.776, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-unoptimized.json new file mode 100644 index 00000000..4266c10b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-public-aliases-unoptimized.json @@ -0,0 +1,171 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/cartridge", + "bytecodeBytes": 1919, + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@18317edc, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@238d68ff, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f6c5d8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@27912e3, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34b9f960, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2415fc55, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@14f232c4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@651aed93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-public-aliases", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "durationSeconds": 0.688, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-optimized-public.json new file mode 100644 index 00000000..6f2fa81d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-optimized-public.json @@ -0,0 +1,227 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/cartridge", + "bytecodeBytes": 2752, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@266374ef, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b5189ac, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ddc6915, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@379614be, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@404bbcbd, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@658c5a19, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59d4cd39, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1187c9e8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-rename-a", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "durationSeconds": 0.616, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-optimized.json new file mode 100644 index 00000000..dd03d00c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-optimized.json @@ -0,0 +1,256 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/cartridge", + "bytecodeBytes": 2752, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@266374ef, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b5189ac, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ddc6915, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@379614be, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@404bbcbd, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@658c5a19, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59d4cd39, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1187c9e8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-rename-a", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "durationSeconds": 0.671, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-unoptimized.json new file mode 100644 index 00000000..064e7538 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-rename-a-unoptimized.json @@ -0,0 +1,251 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/cartridge", + "bytecodeBytes": 2796, + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@266374ef, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b5189ac, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ddc6915, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@379614be, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@404bbcbd, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@658c5a19, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59d4cd39, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1187c9e8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-rename-a", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "durationSeconds": 0.674, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-optimized-public.json new file mode 100644 index 00000000..cf95d7f5 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-optimized-public.json @@ -0,0 +1,96 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e2d8e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@62833051, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@13b3d178, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c4ddae, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138) [file=1:126-138] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-dependency", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "durationSeconds": 0.653, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-optimized.json new file mode 100644 index 00000000..0538f921 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-optimized.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)", + "fileId": 1, + "start": 126, + "end": 138, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/a/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e2d8e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@62833051, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@13b3d178, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c4ddae, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138) [file=1:126-138] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-dependency", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "durationSeconds": 0.663, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-unoptimized.json new file mode 100644 index 00000000..39231d97 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-dependency-unoptimized.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)", + "fileId": 1, + "start": 126, + "end": 138, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/a/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e2d8e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@62833051, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@13b3d178, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c4ddae, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138) [file=1:126-138] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-dependency", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "durationSeconds": 0.613, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-optimized-public.json new file mode 100644 index 00000000..eb7a7b86 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-optimized-public.json @@ -0,0 +1,96 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12299890, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137) [file=1:125-137] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-direct", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "durationSeconds": 0.61, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-optimized.json new file mode 100644 index 00000000..f8e1b3ae --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-optimized.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)", + "fileId": 1, + "start": 125, + "end": 137, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/a/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12299890, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137) [file=1:125-137] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-direct", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "durationSeconds": 0.617, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-unoptimized.json new file mode 100644 index 00000000..96571cd1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-direct-unoptimized.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)", + "fileId": 1, + "start": 125, + "end": 137, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/a/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12299890, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137) [file=1:125-137] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-direct", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "durationSeconds": 0.63, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-optimized-public.json new file mode 100644 index 00000000..20c14d12 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-optimized-public.json @@ -0,0 +1,223 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/cartridge", + "bytecodeBytes": 2658, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6736fa8d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28b46423, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fc4780b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@797b0699, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a37d3ed, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@26df6e3a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f704591, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b5189ac, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@704deff2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@379614be, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@404bbcbd, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-no-dependency", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "durationSeconds": 0.682, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-optimized.json new file mode 100644 index 00000000..cc1bde99 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-optimized.json @@ -0,0 +1,252 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/cartridge", + "bytecodeBytes": 2658, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6736fa8d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28b46423, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fc4780b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@797b0699, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a37d3ed, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@26df6e3a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f704591, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b5189ac, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@704deff2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@379614be, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@404bbcbd, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-no-dependency", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "durationSeconds": 0.698, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-unoptimized.json new file mode 100644 index 00000000..98503162 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F4-same-no-dependency-unoptimized.json @@ -0,0 +1,247 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/cartridge", + "bytecodeBytes": 2702, + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33f676f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c5ae43b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f49f6af, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6736fa8d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28b46423, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fc4780b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@797b0699, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a37d3ed, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@26df6e3a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f704591, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b5189ac, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@704deff2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@379614be, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@404bbcbd, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-no-dependency", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "durationSeconds": 0.661, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-optimized-public.json new file mode 100644 index 00000000..edadefc8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-optimized-public.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-alias", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "durationSeconds": 0.647, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-optimized.json new file mode 100644 index 00000000..e77a5ce4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-optimized.json @@ -0,0 +1,189 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-alias", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "durationSeconds": 0.678, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-unoptimized.json new file mode 100644 index 00000000..b0130165 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-alias-unoptimized.json @@ -0,0 +1,184 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/cartridge", + "bytecodeBytes": 1969, + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-alias", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "durationSeconds": 0.606, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-optimized-public.json new file mode 100644 index 00000000..5060c679 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-optimized-public.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "durationSeconds": 0.718, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-optimized.json new file mode 100644 index 00000000..7ea11ea7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-optimized.json @@ -0,0 +1,189 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "durationSeconds": 0.708, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-optimized-public.json new file mode 100644 index 00000000..90f9a8c9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-optimized-public.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/cartridge", + "bytecodeBytes": 1951, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53b7f657, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@797b0699, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a37d3ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79c97cb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-positional", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "durationSeconds": 0.708, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-optimized.json new file mode 100644 index 00000000..a009fa26 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-optimized.json @@ -0,0 +1,189 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/cartridge", + "bytecodeBytes": 1951, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53b7f657, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@797b0699, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a37d3ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79c97cb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-positional", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "durationSeconds": 0.702, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-unoptimized.json new file mode 100644 index 00000000..b90b8c76 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-positional-unoptimized.json @@ -0,0 +1,184 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/cartridge", + "bytecodeBytes": 1973, + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53b7f657, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@797b0699, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a37d3ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79c97cb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-positional", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "durationSeconds": 0.652, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-unoptimized.json new file mode 100644 index 00000000..40b7ad2a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-scene-unoptimized.json @@ -0,0 +1,184 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/cartridge", + "bytecodeBytes": 1969, + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "durationSeconds": 0.675, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-optimized-public.json new file mode 100644 index 00000000..286a6257 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-optimized-public.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/cartridge", + "bytecodeBytes": 1959, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-shopvisit", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "durationSeconds": 0.645, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-optimized.json new file mode 100644 index 00000000..d3035eda --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-optimized.json @@ -0,0 +1,189 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/cartridge", + "bytecodeBytes": 1959, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-shopvisit", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "durationSeconds": 0.923, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-unoptimized.json new file mode 100644 index 00000000..6b63cf30 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/F5-shopvisit-unoptimized.json @@ -0,0 +1,184 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/cartridge", + "bytecodeBytes": 1981, + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@415b0b49, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7de62196, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11d8ae8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52e7a6b2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f6745d6, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-shopvisit", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "durationSeconds": 0.61, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-initial-handshake.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-initial-handshake.json new file mode 100644 index 00000000..46cec318 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-initial-handshake.json @@ -0,0 +1,1538 @@ +{ + "schemaVersion": 1, + "mode": "checkout", + "binary": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless", + "binarySha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6", + "cases": [ + { + "id": "F1-local", + "optimization": "optimized", + "compileReport": "reports/checkout/F1-local-optimized.json", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "expectedRuntime": "passed", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bb9c11cf360f200442f7478714fa022f", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bb9c11cf360f200442f7478714fa022f", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "bb9c11cf360f200442f7478714fa022f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "bb9c11cf360f200442f7478714fa022f", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + }, + { + "id": "F1-local", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F1-local-unoptimized.json", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "expectedRuntime": "passed", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "73ef5e28190484663bf7505a9da2d187", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "73ef5e28190484663bf7505a9da2d187", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "73ef5e28190484663bf7505a9da2d187", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "73ef5e28190484663bf7505a9da2d187", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + }, + { + "id": "F2-arguments", + "optimization": "optimized", + "compileReport": "reports/checkout/F2-arguments-optimized.json", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "expectedRuntime": "passed", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "7dbef16e7a158b310dfa53c6a02b60f6", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "7dbef16e7a158b310dfa53c6a02b60f6", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "7dbef16e7a158b310dfa53c6a02b60f6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "7dbef16e7a158b310dfa53c6a02b60f6", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + }, + { + "id": "F2-arguments", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F2-arguments-unoptimized.json", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "expectedRuntime": "passed", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4366381ee5f05951d83149eda506e6ef", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4366381ee5f05951d83149eda506e6ef", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "4366381ee5f05951d83149eda506e6ef", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "4366381ee5f05951d83149eda506e6ef", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + }, + { + "id": "F4-distinct", + "optimization": "optimized", + "compileReport": "reports/checkout/F4-distinct-optimized.json", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "expectedRuntime": "passed", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "686c5781a7d4a90d36f50f4b35b92231", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "686c5781a7d4a90d36f50f4b35b92231", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "686c5781a7d4a90d36f50f4b35b92231", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "686c5781a7d4a90d36f50f4b35b92231", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + }, + { + "id": "F4-distinct", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F4-distinct-unoptimized.json", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "expectedRuntime": "passed", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c7ad9c8eb510ca14fa95c3f554944548", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c7ad9c8eb510ca14fa95c3f554944548", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "c7ad9c8eb510ca14fa95c3f554944548", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "c7ad9c8eb510ca14fa95c3f554944548", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + }, + { + "id": "F5-scene", + "optimization": "optimized", + "compileReport": "reports/checkout/F5-scene-optimized.json", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "expectedRuntime": "passed", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "67cbf2f82e380271ffd1af0bbde21dbc", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "67cbf2f82e380271ffd1af0bbde21dbc", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "67cbf2f82e380271ffd1af0bbde21dbc", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "67cbf2f82e380271ffd1af0bbde21dbc", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + }, + { + "id": "F5-scene", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F5-scene-unoptimized.json", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "expectedRuntime": "passed", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "aff07e6de9b185f609810b96088ef751", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "aff07e6de9b185f609810b96088ef751", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "aff07e6de9b185f609810b96088ef751", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "aff07e6de9b185f609810b96088ef751", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + }, + { + "id": "runtime-trap-control", + "optimization": "optimized", + "compileReport": "reports/checkout/runtime-trap-control-optimized.json", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b36e8462cfcbee2e031612189315ce94", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b36e8462cfcbee2e031612189315ce94", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "b36e8462cfcbee2e031612189315ce94", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "b36e8462cfcbee2e031612189315ce94", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + }, + { + "id": "runtime-trap-control", + "optimization": "unoptimized", + "compileReport": "reports/checkout/runtime-trap-control-unoptimized.json", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "observedRuntime": "infrastructure_failure", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "42613b85b788a6b956b73389225d4446", + "type": "hello" + }, + "exception": { + "class": "RuntimeError", + "message": "{\"code\": \"incompatible_version\", \"details\": {}, \"message\": \"memcard requires protocol minor >= 1\"}" + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "42613b85b788a6b956b73389225d4446", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 0 + }, + "requiredCapabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ] + } + } + }, + { + "direction": "received", + "message": { + "error": { + "code": "incompatible_version", + "details": {}, + "message": "memcard requires protocol minor >= 1" + }, + "requestId": "agd113-1", + "sessionId": "42613b85b788a6b956b73389225d4446", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "closed": true + }, + "sessionId": "42613b85b788a6b956b73389225d4446", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": false + } + ] +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-optimized-public.json new file mode 100644 index 00000000..5a73b571 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-optimized-public.json @@ -0,0 +1,61 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized-public/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d29b4ee, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69ee81fc, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e2aa843, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f36c2f0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "runtime-trap-control", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "durationSeconds": 0.623, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-optimized.json new file mode 100644 index 00000000..dde52d70 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-optimized.json @@ -0,0 +1,90 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d29b4ee, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69ee81fc, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e2aa843, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f36c2f0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "runtime-trap-control", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "durationSeconds": 0.648, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-unoptimized.json new file mode 100644 index 00000000..f8483077 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime-trap-control-unoptimized.json @@ -0,0 +1,85 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d29b4ee, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69ee81fc, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e2aa843, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f36c2f0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "runtime-trap-control", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "durationSeconds": 0.63, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime.json new file mode 100644 index 00000000..4d52df40 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/runtime.json @@ -0,0 +1,11442 @@ +{ + "schemaVersion": 1, + "mode": "checkout", + "binary": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless", + "binarySha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6", + "cases": [ + { + "id": "F1-local", + "optimization": "optimized", + "compileReport": "reports/checkout/F1-local-optimized.json", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "0bf659a96f8787cb0bff7d6aa014d6b3", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-local", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F1-local-unoptimized.json", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 166, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 166, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "75d55bc538e266fb153d7b882988ee5e", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-locals", + "optimization": "optimized", + "compileReport": "reports/checkout/F2-locals-optimized.json", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 232, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 232, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "ec7b91138d7362fde170af5d890a418e", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-locals", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F2-locals-unoptimized.json", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 238, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 238, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "02aa699d11781d12079c78db8565a57c", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-arguments", + "optimization": "optimized", + "compileReport": "reports/checkout/F2-arguments-optimized.json", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 208, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 208, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "53a5520ba9772d3e9ce30eddf7bf16bf", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-arguments", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F2-arguments-unoptimized.json", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 214, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 214, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "6b0da59f4dc8004cb8881680c9723d1c", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-expression", + "optimization": "optimized", + "compileReport": "reports/checkout/F2-expression-optimized.json", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 216, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 216, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "522f435b43a8ab3533ad4836c2659f91", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-expression", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F2-expression-unoptimized.json", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 222, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 222, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "9fc7a7d9df20588b8fd709d7d027bcd0", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-struct-method", + "optimization": "optimized", + "compileReport": "reports/checkout/F2-struct-method-optimized.json", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 184, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 184, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "96043373ee50fae969e34e1ede664167", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-struct-method", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F2-struct-method-unoptimized.json", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 190, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 190, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "c51f6fcdaf6683c9e8bf5655475e04db", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-single-file", + "optimization": "optimized", + "compileReport": "reports/checkout/F3-single-file-optimized.json", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "da39fd11d43b02b65bbf35da98ac80e7", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-single-file", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F3-single-file-unoptimized.json", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "6685f5aa47fff2b21cae23afb6bfb86a", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-distinct", + "optimization": "optimized", + "compileReport": "reports/checkout/F4-distinct-optimized.json", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "b7259299ee70e89e1b81bfb7184ec169", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-distinct", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F4-distinct-unoptimized.json", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "df90d3bc34a551d1c5f51ca776a095da", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-same-no-dependency", + "optimization": "optimized", + "compileReport": "reports/checkout/F4-same-no-dependency-optimized.json", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 372, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 372, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "503eb7538689b774b9558904e6befe21", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-same-no-dependency", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F4-same-no-dependency-unoptimized.json", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 384, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 384, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "fa56512dae689cc90533926a7e4f9fe3", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-rename-a", + "optimization": "optimized", + "compileReport": "reports/checkout/F4-rename-a-optimized.json", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "74772a5c085f651ddcf9ed37e04b4b77", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-rename-a", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F4-rename-a-unoptimized.json", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "5fb1fdfb2a0c88b44d0ad7ec83b70f79", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-shopvisit", + "optimization": "optimized", + "compileReport": "reports/checkout/F5-shopvisit-optimized.json", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "b7c9a9ef89f038f2a78a84019552e0f0", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-shopvisit", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F5-shopvisit-unoptimized.json", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "ead795d9f055a53927904d8c782efb99", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene", + "optimization": "optimized", + "compileReport": "reports/checkout/F5-scene-optimized.json", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "0688eb4ffbc01f128fc9358a35b4e437", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F5-scene-unoptimized.json", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "c7c580afe5b311fe596321f8e6ee25b2", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene-alias", + "optimization": "optimized", + "compileReport": "reports/checkout/F5-scene-alias-optimized.json", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "95bca2f4097a311a38885cab43f48b54", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene-alias", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F5-scene-alias-unoptimized.json", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "73c63d86300c3589ac62e46aeeac9824", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene-positional", + "optimization": "optimized", + "compileReport": "reports/checkout/F5-scene-positional-optimized.json", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 284, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 284, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "272e1c78a5eea6ebfd896c446b2f46d2", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene-positional", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F5-scene-positional-unoptimized.json", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 290, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 290, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "b75bedbd71dfe38ae37c4d77071fe3ce", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "runtime-trap-control", + "optimization": "optimized", + "compileReport": "reports/checkout/runtime-trap-control-optimized.json", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "observedRuntime": "fault", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "17916ec554fdc1a26f96fe9e88f0968e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "state": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "17916ec554fdc1a26f96fe9e88f0968e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "17916ec554fdc1a26f96fe9e88f0968e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "17916ec554fdc1a26f96fe9e88f0968e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "sessionId": "17916ec554fdc1a26f96fe9e88f0968e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "sessionId": "17916ec554fdc1a26f96fe9e88f0968e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "sessionId": "17916ec554fdc1a26f96fe9e88f0968e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "17916ec554fdc1a26f96fe9e88f0968e", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "runtime-trap-control", + "optimization": "unoptimized", + "compileReport": "reports/checkout/runtime-trap-control-unoptimized.json", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "observedRuntime": "fault", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "feeabd809e0f843c5f1d57524301c6a3", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "state": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "feeabd809e0f843c5f1d57524301c6a3", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "feeabd809e0f843c5f1d57524301c6a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "feeabd809e0f843c5f1d57524301c6a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "sessionId": "feeabd809e0f843c5f1d57524301c6a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "sessionId": "feeabd809e0f843c5f1d57524301c6a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "sessionId": "feeabd809e0f843c5f1d57524301c6a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "feeabd809e0f843c5f1d57524301c6a3", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-service-local", + "optimization": "optimized", + "compileReport": "reports/checkout/F1-service-local-optimized.json", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "fe3e5ff54190e3626fc8cb85461688f1", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-service-local", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F1-service-local-unoptimized.json", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 192, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 192, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "b4d9b7531efb4b29418e0c81ac72dbf0", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-condition", + "optimization": "optimized", + "compileReport": "reports/checkout/F1-condition-optimized.json", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 138, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 138, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "f595fbac88b5ba7fc4c432713c588168", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-condition", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F1-condition-unoptimized.json", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 144, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 144, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "443bcddc929ec64f048cce7a7a14ee35", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-global-local", + "optimization": "optimized", + "compileReport": "reports/checkout/F3-global-local-optimized.json", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "42479ffddf725f471a4586be6f6c9711", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-global-local", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F3-global-local-unoptimized.json", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "7a195b2f3bf193c7ca6dcb78605f1721", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-service-local", + "optimization": "optimized", + "compileReport": "reports/checkout/F3-service-local-optimized.json", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "ad3204c45f6c2f736cd54ea2660e809e", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-service-local", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F3-service-local-unoptimized.json", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "9df54f8dc96b869cab4e55fe7db18d03", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-public-aliases", + "optimization": "optimized", + "compileReport": "reports/checkout/F4-public-aliases-optimized.json", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 304, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 304, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "23c2c3bd1dd69d63c47caf45b3a49ce3", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-public-aliases", + "optimization": "unoptimized", + "compileReport": "reports/checkout/F4-public-aliases-unoptimized.json", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 310, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 310, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "98660c657b540a684227bb05a2f0cec5", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + } + ] +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/summary.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/summary.json new file mode 100644 index 00000000..57b753d7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/checkout/summary.json @@ -0,0 +1,679 @@ +{ + "schemaVersion": 1, + "mode": "checkout", + "scratch": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb", + "cases": [ + { + "id": "F1-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-local-optimized.json" + }, + { + "id": "F1-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-local-optimized-public.json" + }, + { + "id": "F1-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-local-unoptimized.json" + }, + { + "id": "F1-direct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-direct-optimized.json" + }, + { + "id": "F1-direct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F1-direct-optimized-public.json" + }, + { + "id": "F1-direct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-direct-unoptimized.json" + }, + { + "id": "F1-two-calls", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-two-calls-optimized.json" + }, + { + "id": "F1-two-calls", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F1-two-calls-optimized-public.json" + }, + { + "id": "F1-two-calls", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-two-calls-unoptimized.json" + }, + { + "id": "F1-service-this", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-service-this-optimized.json" + }, + { + "id": "F1-service-this", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F1-service-this-optimized-public.json" + }, + { + "id": "F1-service-this", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F1-service-this-unoptimized.json" + }, + { + "id": "F2-locals", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-locals-optimized.json" + }, + { + "id": "F2-locals", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-locals-optimized-public.json" + }, + { + "id": "F2-locals", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-locals-unoptimized.json" + }, + { + "id": "F2-arguments", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-arguments-optimized.json" + }, + { + "id": "F2-arguments", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-arguments-optimized-public.json" + }, + { + "id": "F2-arguments", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-arguments-unoptimized.json" + }, + { + "id": "F2-expression", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-expression-optimized.json" + }, + { + "id": "F2-expression", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-expression-optimized-public.json" + }, + { + "id": "F2-expression", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-expression-unoptimized.json" + }, + { + "id": "F2-struct-method", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-struct-method-optimized.json" + }, + { + "id": "F2-struct-method", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-struct-method-optimized-public.json" + }, + { + "id": "F2-struct-method", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F2-struct-method-unoptimized.json" + }, + { + "id": "F3-single-file", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-single-file-optimized.json" + }, + { + "id": "F3-single-file", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-single-file-optimized-public.json" + }, + { + "id": "F3-single-file", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-single-file-unoptimized.json" + }, + { + "id": "F3-function", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-function-optimized.json" + }, + { + "id": "F3-function", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F3-function-optimized-public.json" + }, + { + "id": "F3-function", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-function-unoptimized.json" + }, + { + "id": "F3-global", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-global-optimized.json" + }, + { + "id": "F3-global", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F3-global-optimized-public.json" + }, + { + "id": "F3-global", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-global-unoptimized.json" + }, + { + "id": "F3-service", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-service-optimized.json" + }, + { + "id": "F3-service", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F3-service-optimized-public.json" + }, + { + "id": "F3-service", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F3-service-unoptimized.json" + }, + { + "id": "F3-file-private", + "optimization": "optimized", + "public": false, + "expectedCompile": "rejected", + "status": "analysis_failed", + "report": "reports/checkout/F3-file-private-optimized.json" + }, + { + "id": "F3-file-private", + "optimization": "optimized", + "public": true, + "expectedCompile": "rejected", + "status": "public_compile_rejected", + "report": "reports/checkout/F3-file-private-optimized-public.json" + }, + { + "id": "F3-file-private", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "rejected", + "status": "analysis_failed", + "report": "reports/checkout/F3-file-private-unoptimized.json" + }, + { + "id": "F4-distinct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-distinct-optimized.json" + }, + { + "id": "F4-distinct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-distinct-optimized-public.json" + }, + { + "id": "F4-distinct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-distinct-unoptimized.json" + }, + { + "id": "F4-same-no-dependency", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-same-no-dependency-optimized.json" + }, + { + "id": "F4-same-no-dependency", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-same-no-dependency-optimized-public.json" + }, + { + "id": "F4-same-no-dependency", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-same-no-dependency-unoptimized.json" + }, + { + "id": "F4-same-dependency", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F4-same-dependency-optimized.json" + }, + { + "id": "F4-same-dependency", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F4-same-dependency-optimized-public.json" + }, + { + "id": "F4-same-dependency", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F4-same-dependency-unoptimized.json" + }, + { + "id": "F4-rename-a", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-rename-a-optimized.json" + }, + { + "id": "F4-rename-a", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-rename-a-optimized-public.json" + }, + { + "id": "F4-rename-a", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-rename-a-unoptimized.json" + }, + { + "id": "F4-same-direct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F4-same-direct-optimized.json" + }, + { + "id": "F4-same-direct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/checkout/F4-same-direct-optimized-public.json" + }, + { + "id": "F4-same-direct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/checkout/F4-same-direct-unoptimized.json" + }, + { + "id": "F5-shopvisit", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-shopvisit-optimized.json" + }, + { + "id": "F5-shopvisit", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-shopvisit-optimized-public.json" + }, + { + "id": "F5-shopvisit", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-shopvisit-unoptimized.json" + }, + { + "id": "F5-scene", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-optimized.json" + }, + { + "id": "F5-scene", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-optimized-public.json" + }, + { + "id": "F5-scene", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-unoptimized.json" + }, + { + "id": "F5-scene-alias", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-alias-optimized.json" + }, + { + "id": "F5-scene-alias", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-alias-optimized-public.json" + }, + { + "id": "F5-scene-alias", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-alias-unoptimized.json" + }, + { + "id": "F5-scene-positional", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-positional-optimized.json" + }, + { + "id": "F5-scene-positional", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-positional-optimized-public.json" + }, + { + "id": "F5-scene-positional", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F5-scene-positional-unoptimized.json" + }, + { + "id": "runtime-trap-control", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/runtime-trap-control-optimized.json" + }, + { + "id": "runtime-trap-control", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/runtime-trap-control-optimized-public.json" + }, + { + "id": "runtime-trap-control", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/runtime-trap-control-unoptimized.json" + }, + { + "id": "F1-service-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-service-local-optimized.json" + }, + { + "id": "F1-service-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-service-local-optimized-public.json" + }, + { + "id": "F1-service-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-service-local-unoptimized.json" + }, + { + "id": "F1-condition", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-condition-optimized.json" + }, + { + "id": "F1-condition", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-condition-optimized-public.json" + }, + { + "id": "F1-condition", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F1-condition-unoptimized.json" + }, + { + "id": "F3-global-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-global-local-optimized.json" + }, + { + "id": "F3-global-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-global-local-optimized-public.json" + }, + { + "id": "F3-global-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-global-local-unoptimized.json" + }, + { + "id": "F3-service-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-service-local-optimized.json" + }, + { + "id": "F3-service-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-service-local-optimized-public.json" + }, + { + "id": "F3-service-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F3-service-local-unoptimized.json" + }, + { + "id": "F4-public-aliases", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-public-aliases-optimized.json" + }, + { + "id": "F4-public-aliases", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-public-aliases-optimized-public.json" + }, + { + "id": "F4-public-aliases", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/checkout/F4-public-aliases-unoptimized.json" + } + ] +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-optimized-public.json new file mode 100644 index 00000000..d7aeafa8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-optimized-public.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized-public/cartridge", + "bytecodeBytes": 1176, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@95e33cc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@539d019, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@554e218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1608bcbd, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29ca3d04, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b2c5e07, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5812f68b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4426bff1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52c3cb31, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b79ac84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-condition", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "durationSeconds": 0.488, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-optimized.json new file mode 100644 index 00000000..bb6d33e6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-optimized.json @@ -0,0 +1,138 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized/cartridge", + "bytecodeBytes": 1176, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@95e33cc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@539d019, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@554e218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1608bcbd, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29ca3d04, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b2c5e07, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5812f68b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4426bff1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52c3cb31, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b79ac84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-condition", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "durationSeconds": 0.517, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-unoptimized.json new file mode 100644 index 00000000..0dc2bf69 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-condition-unoptimized.json @@ -0,0 +1,133 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/unoptimized/cartridge", + "bytecodeBytes": 1198, + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@95e33cc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@539d019, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@554e218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1608bcbd, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29ca3d04, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b2c5e07, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5812f68b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4426bff1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@52c3cb31, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b79ac84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38604b81, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-condition", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "durationSeconds": 0.505, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-optimized-public.json new file mode 100644 index 00000000..adca8938 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-optimized-public.json @@ -0,0 +1,33 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-direct", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "durationSeconds": 0.438, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-optimized.json new file mode 100644 index 00000000..658550e1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-optimized.json @@ -0,0 +1,46 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "fileId": 0, + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-direct", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "durationSeconds": 0.485, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-unoptimized.json new file mode 100644 index 00000000..acc8de7d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-direct-unoptimized.json @@ -0,0 +1,46 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "fileId": 0, + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-direct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-direct", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "durationSeconds": 0.449, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-optimized-public.json new file mode 100644 index 00000000..15f01dad --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-optimized-public.json @@ -0,0 +1,121 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized-public/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@babafc2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50d13246, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53f6fd09, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b84f475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39a2bb97, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@34158c08, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e4fcac, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b79ac84, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53941c2f, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dab9b6d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21fd5faa, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d4a09, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e4204e2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50d13246, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-local", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "durationSeconds": 0.48, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-optimized.json new file mode 100644 index 00000000..41d1952c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-optimized.json @@ -0,0 +1,150 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@babafc2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50d13246, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53f6fd09, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b84f475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39a2bb97, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@34158c08, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e4fcac, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b79ac84, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53941c2f, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dab9b6d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21fd5faa, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d4a09, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e4204e2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50d13246, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-local", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "durationSeconds": 0.516, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-unoptimized.json new file mode 100644 index 00000000..462a0f57 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-local-unoptimized.json @@ -0,0 +1,145 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/unoptimized/cartridge", + "bytecodeBytes": 1353, + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@babafc2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50d13246, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53f6fd09, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b84f475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39a2bb97, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@34158c08, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e4fcac, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b79ac84, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53941c2f, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dab9b6d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21fd5faa, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d4a09, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e4204e2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50d13246, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ae3540e, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-local", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "durationSeconds": 0.697, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-optimized-public.json new file mode 100644 index 00000000..3957f69f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-optimized-public.json @@ -0,0 +1,114 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized-public/cartridge", + "bytecodeBytes": 1310, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3fed2870, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77128536, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c1f22f3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@598bd2ba, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a755cc1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ae42ce3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@14bee915, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41e68d87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@ab7395e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50d13246, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e70f13a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-local", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "durationSeconds": 0.479, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-optimized.json new file mode 100644 index 00000000..2c768f9d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-optimized.json @@ -0,0 +1,143 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized/cartridge", + "bytecodeBytes": 1310, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3fed2870, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77128536, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c1f22f3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@598bd2ba, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a755cc1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ae42ce3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@14bee915, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41e68d87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@ab7395e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50d13246, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e70f13a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-local", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "durationSeconds": 0.511, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-unoptimized.json new file mode 100644 index 00000000..43fc90ba --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-local-unoptimized.json @@ -0,0 +1,138 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/unoptimized/cartridge", + "bytecodeBytes": 1332, + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3fed2870, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77128536, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c1f22f3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@598bd2ba, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a755cc1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ae42ce3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@14bee915, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14bee915, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41e68d87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@ab7395e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50d13246, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2bd08376, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e70f13a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1115ec15, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-local", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "durationSeconds": 0.514, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-optimized-public.json new file mode 100644 index 00000000..187f8ffc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-optimized-public.json @@ -0,0 +1,33 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96) [file=0:84-96] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-this", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "durationSeconds": 0.437, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-optimized.json new file mode 100644 index 00000000..196abf7a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-optimized.json @@ -0,0 +1,46 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)", + "fileId": 0, + "start": 84, + "end": 96, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96) [file=0:84-96] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-this", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "durationSeconds": 0.435, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-unoptimized.json new file mode 100644 index 00000000..6ec52bd3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-service-this-unoptimized.json @@ -0,0 +1,46 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)", + "fileId": 0, + "start": 84, + "end": 96, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-service-this/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96) [file=0:84-96] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-service-this", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "durationSeconds": 0.428, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-optimized-public.json new file mode 100644 index 00000000..c3ac7a77 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-optimized-public.json @@ -0,0 +1,34 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155) [file=0:143-155] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-two-calls", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "durationSeconds": 0.545, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-optimized.json new file mode 100644 index 00000000..aedda43a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-optimized.json @@ -0,0 +1,59 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "fileId": 0, + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized/src/main.pbs" + }, + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)", + "fileId": 0, + "start": 143, + "end": 155, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155) [file=0:143-155] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-two-calls", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "durationSeconds": 0.472, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-unoptimized.json new file mode 100644 index 00000000..5c4f70cd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F1-two-calls-unoptimized.json @@ -0,0 +1,59 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)", + "fileId": 0, + "start": 129, + "end": 141, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/unoptimized/src/main.pbs" + }, + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)", + "fileId": 0, + "start": 143, + "end": 155, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-two-calls/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155) [file=0:143-155] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F1-two-calls", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "durationSeconds": 0.444, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-optimized-public.json new file mode 100644 index 00000000..c568c1ea --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-optimized-public.json @@ -0,0 +1,131 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized-public/cartridge", + "bytecodeBytes": 1516, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30e868be, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e505b2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64bce832, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@764faa6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63fbfaeb, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c07545f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c94fd30, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@36328d33, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76a2ddf3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41e68d87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@29526c05, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e70f13a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64a40280, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b40f651, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d62fe5b, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ce8d869, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27eedb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@64c63c79, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-arguments", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "durationSeconds": 0.496, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-optimized.json new file mode 100644 index 00000000..2147ae6f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-optimized.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized/cartridge", + "bytecodeBytes": 1516, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30e868be, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e505b2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64bce832, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@764faa6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63fbfaeb, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c07545f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c94fd30, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@36328d33, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76a2ddf3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41e68d87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@29526c05, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e70f13a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64a40280, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b40f651, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d62fe5b, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ce8d869, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27eedb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@64c63c79, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-arguments", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "durationSeconds": 0.485, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-unoptimized.json new file mode 100644 index 00000000..8ab6adb6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-arguments-unoptimized.json @@ -0,0 +1,155 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/unoptimized/cartridge", + "bytecodeBytes": 1538, + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30e868be, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e505b2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64bce832, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@764faa6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63fbfaeb, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c07545f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c94fd30, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@36328d33, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76a2ddf3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41e68d87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@29526c05, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e70f13a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d3e5463, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64a40280, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b40f651, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d62fe5b, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ce8d869, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27eedb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@64c63c79, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-arguments", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "durationSeconds": 0.511, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-optimized-public.json new file mode 100644 index 00000000..11fd949d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-optimized-public.json @@ -0,0 +1,133 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized-public/cartridge", + "bytecodeBytes": 1556, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30e868be, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e505b2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64bce832, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@764faa6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63fbfaeb, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c07545f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c94fd30, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@36328d33, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76a2ddf3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41e68d87, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2ef14fe, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@77102b91, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45312be2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b40f651, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d62fe5b, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ce8d869, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64c63c79, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31c7528f, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a1234bf, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-expression", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "durationSeconds": 0.508, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-optimized.json new file mode 100644 index 00000000..0f5d18e3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-optimized.json @@ -0,0 +1,162 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized/cartridge", + "bytecodeBytes": 1556, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30e868be, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e505b2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64bce832, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@764faa6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63fbfaeb, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c07545f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c94fd30, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@36328d33, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76a2ddf3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41e68d87, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2ef14fe, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@77102b91, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45312be2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b40f651, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d62fe5b, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ce8d869, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64c63c79, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31c7528f, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a1234bf, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-expression", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "durationSeconds": 0.497, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-unoptimized.json new file mode 100644 index 00000000..7b3c287e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-expression-unoptimized.json @@ -0,0 +1,157 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/unoptimized/cartridge", + "bytecodeBytes": 1578, + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30e868be, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e505b2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64bce832, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@764faa6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63fbfaeb, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c07545f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c94fd30, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@36328d33, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76a2ddf3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41e68d87, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2ef14fe, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@77102b91, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45312be2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b40f651, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d62fe5b, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ce8d869, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64c63c79, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31c7528f, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b76ff4e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a1234bf, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-expression", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "durationSeconds": 0.497, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-optimized-public.json new file mode 100644 index 00000000..a9674446 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-optimized-public.json @@ -0,0 +1,135 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized-public/cartridge", + "bytecodeBytes": 1604, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30e868be, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e505b2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64bce832, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@764faa6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63fbfaeb, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c07545f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c94fd30, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@36328d33, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@545b995e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76a2ddf3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@29526c05, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45312be2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@58be6e8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ce8d869, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27eedb64, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64c63c79, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31c7528f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a1234bf, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f62ea70, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@38aa816f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-locals", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "durationSeconds": 0.49, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-optimized.json new file mode 100644 index 00000000..96b03600 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-optimized.json @@ -0,0 +1,164 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized/cartridge", + "bytecodeBytes": 1604, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30e868be, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e505b2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64bce832, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@764faa6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63fbfaeb, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c07545f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c94fd30, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@36328d33, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@545b995e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76a2ddf3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@29526c05, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45312be2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@58be6e8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ce8d869, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27eedb64, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64c63c79, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31c7528f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a1234bf, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f62ea70, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@38aa816f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-locals", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "durationSeconds": 0.498, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-unoptimized.json new file mode 100644 index 00000000..3c4895c5 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-locals-unoptimized.json @@ -0,0 +1,159 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/unoptimized/cartridge", + "bytecodeBytes": 1626, + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30e868be, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e505b2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32c4e8b2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@64bce832, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@764faa6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63fbfaeb, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c07545f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c94fd30, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@36328d33, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@545b995e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76a2ddf3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@49ff7d8c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@29526c05, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45312be2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fb95505, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@58be6e8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ce8d869, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27eedb64, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64c63c79, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31c7528f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a1234bf, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f62ea70, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24ba9639, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@38aa816f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bffbc6d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56928307, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79dc5318, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-locals", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "durationSeconds": 0.485, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-optimized-public.json new file mode 100644 index 00000000..89701c84 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-optimized-public.json @@ -0,0 +1,125 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized-public/cartridge", + "bytecodeBytes": 1431, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@528c868, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7393222f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4331d187, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f63b475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4426bff1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a20270e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@336f1079, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f16c6b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@34158c08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc9504b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b7c4869, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@740d2e78, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72437d8d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b955cac, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a1de7fb, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a4621bd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-struct-method", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "durationSeconds": 0.491, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-optimized.json new file mode 100644 index 00000000..1b67e662 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-optimized.json @@ -0,0 +1,154 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized/cartridge", + "bytecodeBytes": 1431, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@528c868, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7393222f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4331d187, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f63b475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4426bff1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a20270e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@336f1079, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f16c6b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@34158c08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc9504b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b7c4869, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@740d2e78, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72437d8d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b955cac, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a1de7fb, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a4621bd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-struct-method", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "durationSeconds": 0.501, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-unoptimized.json new file mode 100644 index 00000000..1f150b2c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F2-struct-method-unoptimized.json @@ -0,0 +1,149 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/unoptimized/cartridge", + "bytecodeBytes": 1453, + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@528c868, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7393222f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4331d187, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f63b475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4426bff1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@55493582, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a20270e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@336f1079, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f16c6b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@34158c08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc9504b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b7c4869, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@740d2e78, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72437d8d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b955cac, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a1de7fb, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a0cdb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a4621bd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@42b02722, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31add175, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F2-struct-method", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "durationSeconds": 0.506, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-optimized-public.json new file mode 100644 index 00000000..aeba8f31 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-optimized-public.json @@ -0,0 +1,34 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-file-private", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "durationSeconds": 0.457, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-optimized.json new file mode 100644 index 00000000..df30dd1b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-optimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "fileId": 1, + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-file-private", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "durationSeconds": 0.438, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-unoptimized.json new file mode 100644 index 00000000..ad5f776e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-file-private-unoptimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "fileId": 1, + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-file-private/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-file-private", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "durationSeconds": 0.457, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-optimized-public.json new file mode 100644 index 00000000..67404935 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-optimized-public.json @@ -0,0 +1,34 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-function", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "durationSeconds": 0.458, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-optimized.json new file mode 100644 index 00000000..8b6530de --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-optimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "fileId": 1, + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-function", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "durationSeconds": 0.453, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-unoptimized.json new file mode 100644 index 00000000..8cb35230 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-function-unoptimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)", + "fileId": 1, + "start": 39, + "end": 48, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-function/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-function", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "durationSeconds": 0.431, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-optimized-public.json new file mode 100644 index 00000000..bacc777a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-optimized-public.json @@ -0,0 +1,99 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized-public/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@a4add54, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3899782c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1603cd68, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5bf0fe62, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e097d59, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@673be18f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39de3d36, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ce86ce1, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@54e7df6a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fed2870, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@a4add54, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global-local", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "durationSeconds": 0.533, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-optimized.json new file mode 100644 index 00000000..a470bd52 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-optimized.json @@ -0,0 +1,128 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@a4add54, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3899782c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1603cd68, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5bf0fe62, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e097d59, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@673be18f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39de3d36, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ce86ce1, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@54e7df6a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fed2870, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@a4add54, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global-local", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "durationSeconds": 0.474, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-unoptimized.json new file mode 100644 index 00000000..799e96d8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-local-unoptimized.json @@ -0,0 +1,123 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/unoptimized/cartridge", + "bytecodeBytes": 1049, + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@a4add54, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3899782c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1603cd68, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5bf0fe62, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e097d59, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@673be18f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39de3d36, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ce86ce1, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@54e7df6a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fed2870, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@a4add54, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ab06251, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global-local", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "durationSeconds": 0.81, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-optimized-public.json new file mode 100644 index 00000000..5df0e169 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-optimized-public.json @@ -0,0 +1,34 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized-public/src/state.pbs" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) [BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34) [file=0:29-34] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "durationSeconds": 0.434, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-optimized.json new file mode 100644 index 00000000..0cd36545 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-optimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)", + "fileId": 0, + "start": 29, + "end": 34, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized/src/state.pbs" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) [BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34) [file=0:29-34] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "durationSeconds": 0.446, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-unoptimized.json new file mode 100644 index 00000000..8f00f041 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-global-unoptimized.json @@ -0,0 +1,47 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)", + "fileId": 0, + "start": 29, + "end": 34, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/unoptimized/src/state.pbs" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-global/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) [BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34) [file=0:29-34] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-global", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "durationSeconds": 0.415, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-optimized-public.json new file mode 100644 index 00000000..40eebeb2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-optimized-public.json @@ -0,0 +1,95 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized-public/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3cdf2c61, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13ad5cd3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c1f22f3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@598bd2ba, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ae42ce3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f5991f6, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ef14fe, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77102b91, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service-local", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "durationSeconds": 0.74, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-optimized.json new file mode 100644 index 00000000..1923e181 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-optimized.json @@ -0,0 +1,124 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3cdf2c61, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13ad5cd3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c1f22f3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@598bd2ba, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ae42ce3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f5991f6, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ef14fe, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77102b91, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service-local", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "durationSeconds": 0.502, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-unoptimized.json new file mode 100644 index 00000000..fb04d0dc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-local-unoptimized.json @@ -0,0 +1,119 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/unoptimized/cartridge", + "bytecodeBytes": 1050, + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3cdf2c61, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13ad5cd3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@58326051, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c1f22f3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@598bd2ba, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ae42ce3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f5991f6, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@484094a5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@38234a38, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@602e0143, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ef14fe, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77102b91, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3f67593e, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service-local", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "durationSeconds": 0.581, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-optimized-public.json new file mode 100644 index 00000000..954be858 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-optimized-public.json @@ -0,0 +1,35 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53) [file=1:39-53] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89) [file=1:8-89] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "durationSeconds": 0.515, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-optimized.json new file mode 100644 index 00000000..ca425007 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-optimized.json @@ -0,0 +1,60 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)", + "fileId": 1, + "start": 39, + "end": 53, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized/src/main.pbs" + }, + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)", + "fileId": 1, + "start": 8, + "end": 89, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53) [file=1:39-53] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89) [file=1:8-89] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "durationSeconds": 0.677, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-unoptimized.json new file mode 100644 index 00000000..e08ff3b9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-service-unoptimized.json @@ -0,0 +1,60 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)", + "fileId": 1, + "start": 39, + "end": 53, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/unoptimized/src/main.pbs" + }, + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)", + "fileId": 1, + "start": 8, + "end": 89, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/unoptimized/src/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-service/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53) [file=1:39-53] \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89) [file=1:8-89] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-service", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "durationSeconds": 0.46, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-optimized-public.json new file mode 100644 index 00000000..e11ab2bc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-optimized-public.json @@ -0,0 +1,82 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized-public/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7582ff54, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3daf7722, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78641d23, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74589991, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60df60da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5a2d131d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14fc1f0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@363a52f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60856961, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fd953a6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@141e5bef, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9be66c, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3abada5a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@66c61024, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-single-file", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "durationSeconds": 0.496, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-optimized.json new file mode 100644 index 00000000..ada313f0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-optimized.json @@ -0,0 +1,111 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7582ff54, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3daf7722, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78641d23, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74589991, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60df60da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5a2d131d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14fc1f0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@363a52f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60856961, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fd953a6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@141e5bef, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9be66c, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3abada5a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@66c61024, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-single-file", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "durationSeconds": 0.491, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-unoptimized.json new file mode 100644 index 00000000..b1bb3938 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F3-single-file-unoptimized.json @@ -0,0 +1,106 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/unoptimized/cartridge", + "bytecodeBytes": 881, + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7582ff54, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3daf7722, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78641d23, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74589991, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60df60da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5a2d131d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14fc1f0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@363a52f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@60856961, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fd953a6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@141e5bef, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9be66c, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3abada5a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@66c61024, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c9d0d6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b67bb7e, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F3-single-file", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "durationSeconds": 0.483, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-optimized-public.json new file mode 100644 index 00000000..9e05c54e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-optimized-public.json @@ -0,0 +1,227 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/cartridge", + "bytecodeBytes": 2746, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e2ff723, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@17aad511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@46944ca9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22bac7bc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63798ca7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@635572a7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6399551e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d73fa, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a2e526, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d64e326, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@758705fa, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@ebaa6cb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@906d29b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49d3c823, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436bc36, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@604c5de8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37091312, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66fdec9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@57abad67, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-distinct", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "durationSeconds": 0.545, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-optimized.json new file mode 100644 index 00000000..cd8194ce --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-optimized.json @@ -0,0 +1,256 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/cartridge", + "bytecodeBytes": 2746, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e2ff723, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@17aad511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@46944ca9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22bac7bc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63798ca7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@635572a7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6399551e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d73fa, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a2e526, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d64e326, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@758705fa, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@ebaa6cb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@906d29b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49d3c823, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436bc36, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@604c5de8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37091312, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66fdec9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@57abad67, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-distinct", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "durationSeconds": 0.515, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-unoptimized.json new file mode 100644 index 00000000..54af842c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-distinct-unoptimized.json @@ -0,0 +1,251 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/cartridge", + "bytecodeBytes": 2790, + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e2ff723, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@17aad511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@46944ca9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22bac7bc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63798ca7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@635572a7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6399551e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d73fa, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a2e526, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d64e326, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@758705fa, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@ebaa6cb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@906d29b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49d3c823, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436bc36, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@604c5de8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37091312, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66fdec9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@57abad67, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-distinct", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "durationSeconds": 0.518, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-optimized-public.json new file mode 100644 index 00000000..dd65268f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-optimized-public.json @@ -0,0 +1,147 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized-public/cartridge", + "bytecodeBytes": 1897, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized-public/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized-public/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized-public/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized-public/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized-public/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ab7395e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@79517588, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dd1c9f2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@59b38691, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@59b38691, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46944ca9, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63798ca7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@22875539, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5674e1f2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@530712d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2df6226d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12ed9db6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ff4357f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49cb9cb5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b4c1d96, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50468873, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@146587a2, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-public-aliases", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "durationSeconds": 0.642, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-optimized.json new file mode 100644 index 00000000..add8a4ee --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-optimized.json @@ -0,0 +1,176 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized/cartridge", + "bytecodeBytes": 1897, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ab7395e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@79517588, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dd1c9f2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@59b38691, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@59b38691, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46944ca9, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63798ca7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@22875539, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5674e1f2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@530712d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2df6226d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12ed9db6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ff4357f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49cb9cb5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b4c1d96, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50468873, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@146587a2, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-public-aliases", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "durationSeconds": 0.594, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-unoptimized.json new file mode 100644 index 00000000..9a0e99bb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-public-aliases-unoptimized.json @@ -0,0 +1,171 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized/cartridge", + "bytecodeBytes": 1919, + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7331196b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3f9342d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ab7395e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@79517588, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dd1c9f2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@59b38691, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@59b38691, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46944ca9, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63798ca7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@22875539, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5674e1f2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@530712d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2df6226d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12ed9db6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ff4357f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49cb9cb5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b4c1d96, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50468873, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@146587a2, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a898881, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-public-aliases", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "durationSeconds": 0.514, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-optimized-public.json new file mode 100644 index 00000000..5d122c5a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-optimized-public.json @@ -0,0 +1,227 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/cartridge", + "bytecodeBytes": 2752, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e2ff723, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@17aad511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@46944ca9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22bac7bc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63798ca7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@635572a7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6399551e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d73fa, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a2e526, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d64e326, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@758705fa, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@ebaa6cb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@906d29b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49d3c823, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436bc36, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@604c5de8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37091312, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66fdec9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@57abad67, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-rename-a", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "durationSeconds": 0.513, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-optimized.json new file mode 100644 index 00000000..9b8eddc1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-optimized.json @@ -0,0 +1,256 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/cartridge", + "bytecodeBytes": 2752, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e2ff723, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@17aad511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@46944ca9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22bac7bc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63798ca7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@635572a7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6399551e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d73fa, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a2e526, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d64e326, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@758705fa, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@ebaa6cb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@906d29b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49d3c823, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436bc36, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@604c5de8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37091312, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66fdec9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@57abad67, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-rename-a", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "durationSeconds": 0.518, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-unoptimized.json new file mode 100644 index 00000000..a8c774ed --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-rename-a-unoptimized.json @@ -0,0 +1,251 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/cartridge", + "bytecodeBytes": 2796, + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e2ff723, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@17aad511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@46944ca9, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22bac7bc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63798ca7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@635572a7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6127a7e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6399551e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d73fa, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a2e526, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d64e326, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68be8808, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@758705fa, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@ebaa6cb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@906d29b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49d3c823, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436bc36, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@604c5de8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37091312, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66fdec9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@57abad67, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a640157, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-rename-a", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "durationSeconds": 0.509, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-optimized-public.json new file mode 100644 index 00000000..9efc08f3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-optimized-public.json @@ -0,0 +1,96 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f8276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@75f95314, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3da05287, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@93cf163, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1852a3ff, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138) [file=1:126-138] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-dependency", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "durationSeconds": 0.492, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-optimized.json new file mode 100644 index 00000000..ef37bb89 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-optimized.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)", + "fileId": 1, + "start": 126, + "end": 138, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src/a/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f8276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@75f95314, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3da05287, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@93cf163, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1852a3ff, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138) [file=1:126-138] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-dependency", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "durationSeconds": 0.497, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-unoptimized.json new file mode 100644 index 00000000..aa7ab2b1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-dependency-unoptimized.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)", + "fileId": 1, + "start": 126, + "end": 138, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src/a/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f8276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@75f95314, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3212a8d7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3da05287, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfcc6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@93cf163, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1852a3ff, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dd02341, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bbe2511, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-dependency/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138) [file=1:126-138] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-dependency", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "durationSeconds": 0.479, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-optimized-public.json new file mode 100644 index 00000000..1cd6ec41 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-optimized-public.json @@ -0,0 +1,96 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12c7a01b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2826f61, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@737a135b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4758820d, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@737a135b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2826f61, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137) [file=1:125-137] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-direct", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "durationSeconds": 0.475, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-optimized.json new file mode 100644 index 00000000..6a2a0c4c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-optimized.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)", + "fileId": 1, + "start": 125, + "end": 137, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src/a/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12c7a01b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2826f61, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@737a135b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4758820d, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@737a135b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2826f61, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137) [file=1:125-137] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-direct", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "durationSeconds": 0.478, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-unoptimized.json new file mode 100644 index 00000000..6d6ce5dc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-direct-unoptimized.json @@ -0,0 +1,109 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "error": true, + "code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "phase": "static-semantics", + "message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)", + "fileId": 1, + "start": 125, + "end": 137, + "functionIndex": null, + "pc": null, + "file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src/a/main.pbs" + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12c7a01b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2826f61, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@737a135b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4758820d, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@737a135b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2826f61, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-direct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137) [file=1:125-137] \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-direct", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "durationSeconds": 0.481, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-optimized-public.json new file mode 100644 index 00000000..956efe6a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-optimized-public.json @@ -0,0 +1,223 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/cartridge", + "bytecodeBytes": 2658, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@8dbfffb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f316aeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2eee3069, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2da59753, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@130dca52, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@71454b9d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@49c6c24f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fe1b4fb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6399551e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d73fa, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5023bb8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d5f10b2, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5cde6747, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@63a270c9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@37c7595, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a2e526, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d64e326, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-no-dependency", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "durationSeconds": 0.518, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-optimized.json new file mode 100644 index 00000000..7a62028f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-optimized.json @@ -0,0 +1,252 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/cartridge", + "bytecodeBytes": 2658, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@8dbfffb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f316aeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2eee3069, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2da59753, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@130dca52, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@71454b9d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@49c6c24f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fe1b4fb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6399551e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d73fa, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5023bb8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d5f10b2, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5cde6747, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@63a270c9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@37c7595, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a2e526, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d64e326, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-no-dependency", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "durationSeconds": 0.512, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-unoptimized.json new file mode 100644 index 00000000..08dd4766 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F4-same-no-dependency-unoptimized.json @@ -0,0 +1,247 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/cartridge", + "bytecodeBytes": 2702, + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ad2e17, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@8c3619e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fc32e4f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@8dbfffb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f316aeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2eee3069, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2da59753, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@130dca52, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b1712f3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@71454b9d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@49c6c24f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fe1b4fb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6399551e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d73fa, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5023bb8b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d5f10b2, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5cde6747, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@63a270c9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@37c7595, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a2e526, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d64e326, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4df5bcb4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce7fffa, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F4-same-no-dependency", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "durationSeconds": 0.5, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-optimized-public.json new file mode 100644 index 00000000..642d3ce2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-optimized-public.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized-public/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b8d96d9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@69653e16, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-alias", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "durationSeconds": 0.509, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-optimized.json new file mode 100644 index 00000000..f10d727c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-optimized.json @@ -0,0 +1,189 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b8d96d9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@69653e16, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-alias", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "durationSeconds": 0.51, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-unoptimized.json new file mode 100644 index 00000000..35436ca1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-alias-unoptimized.json @@ -0,0 +1,184 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized/cartridge", + "bytecodeBytes": 1969, + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b8d96d9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@69653e16, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-alias", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "durationSeconds": 0.648, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-optimized-public.json new file mode 100644 index 00000000..3b0712bb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-optimized-public.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized-public/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b8d96d9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@69653e16, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "durationSeconds": 0.556, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-optimized.json new file mode 100644 index 00000000..f095ceec --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-optimized.json @@ -0,0 +1,189 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b8d96d9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@69653e16, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "durationSeconds": 0.521, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-optimized-public.json new file mode 100644 index 00000000..c7706df4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-optimized-public.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized-public/cartridge", + "bytecodeBytes": 1951, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@37c7595, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@68be8808, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-positional", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "durationSeconds": 0.505, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-optimized.json new file mode 100644 index 00000000..ca5a21ea --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-optimized.json @@ -0,0 +1,189 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized/cartridge", + "bytecodeBytes": 1951, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@37c7595, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@68be8808, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-positional", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "durationSeconds": 0.587, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-unoptimized.json new file mode 100644 index 00000000..ae864e1a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-positional-unoptimized.json @@ -0,0 +1,184 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized/cartridge", + "bytecodeBytes": 1973, + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@37c7595, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3ed242a4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1199fe66, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1d761, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@68be8808, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene-positional", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "durationSeconds": 0.526, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-unoptimized.json new file mode 100644 index 00000000..82c40504 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-scene-unoptimized.json @@ -0,0 +1,184 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized/cartridge", + "bytecodeBytes": 1969, + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b8d96d9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@69653e16, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-scene", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "durationSeconds": 0.502, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-optimized-public.json new file mode 100644 index 00000000..bcf0651e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-optimized-public.json @@ -0,0 +1,160 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized-public/cartridge", + "bytecodeBytes": 1959, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b8d96d9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@69653e16, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-shopvisit", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "durationSeconds": 0.503, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-optimized.json new file mode 100644 index 00000000..7f4e6681 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-optimized.json @@ -0,0 +1,189 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized/cartridge", + "bytecodeBytes": 1959, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b8d96d9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@69653e16, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-shopvisit", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "durationSeconds": 0.514, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-unoptimized.json new file mode 100644 index 00000000..1baa11e0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/F5-shopvisit-unoptimized.json @@ -0,0 +1,184 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized/cartridge", + "bytecodeBytes": 1981, + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@27216cd, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27216cd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@177bea38, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0e9815, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@76884e4b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986bbaf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4879dfad, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4758820d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d9ac0b4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@130dca52, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2654635, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15dcfae7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@55322aab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@614df0a4, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fdf1c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d96543c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@32193bea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b8d96d9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@69653e16, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13f95696, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "F5-shopvisit", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "durationSeconds": 0.526, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-optimized-public.json new file mode 100644 index 00000000..75af5a6e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-optimized-public.json @@ -0,0 +1,61 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized-public/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc558c6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15713d56, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@26ceffa8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "runtime-trap-control", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "durationSeconds": 0.495, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-optimized.json new file mode 100644 index 00000000..9b0df0c0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-optimized.json @@ -0,0 +1,90 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc558c6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15713d56, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@26ceffa8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "runtime-trap-control", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "durationSeconds": 0.491, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-unoptimized.json new file mode 100644 index 00000000..b57c70f4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime-trap-control-unoptimized.json @@ -0,0 +1,85 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/unoptimized/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc558c6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15713d56, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@26ceffa8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e423aa2, registryInstruction=null]" + ] + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline completed successfully \n" + ], + "caseId": "runtime-trap-control", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "durationSeconds": 0.482, + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime.json new file mode 100644 index 00000000..4dd68af7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/runtime.json @@ -0,0 +1,11442 @@ +{ + "schemaVersion": 1, + "mode": "installed", + "binary": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless", + "binarySha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6", + "cases": [ + { + "id": "F1-local", + "optimization": "optimized", + "compileReport": "reports/installed/F1-local-optimized.json", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "4bd3f0a4b364f264eef248e8a5a6c568", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-local", + "optimization": "unoptimized", + "compileReport": "reports/installed/F1-local-unoptimized.json", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 166, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F1-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 166, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "41a28175505f437a59d5eb38529651cf", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-locals", + "optimization": "optimized", + "compileReport": "reports/installed/F2-locals-optimized.json", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 232, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 232, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "2f9c26e50c98d72efe58480aa548cc09", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-locals", + "optimization": "unoptimized", + "compileReport": "reports/installed/F2-locals-unoptimized.json", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 238, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-locals/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 238, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "3efd36b97beecf223277be89d0db995b", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-arguments", + "optimization": "optimized", + "compileReport": "reports/installed/F2-arguments-optimized.json", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 208, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 208, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "be43f8d413a3699eb13d248c596483fb", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-arguments", + "optimization": "unoptimized", + "compileReport": "reports/installed/F2-arguments-unoptimized.json", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 214, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-arguments/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 214, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "ba2bf209241ba4f7baa18db802467e95", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-expression", + "optimization": "optimized", + "compileReport": "reports/installed/F2-expression-optimized.json", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 216, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 216, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "fcb77577187bfe074042d8c102039da1", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-expression", + "optimization": "unoptimized", + "compileReport": "reports/installed/F2-expression-unoptimized.json", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 222, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-expression/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 222, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "a779d4619fdbdc7d20e2bd9bd169c672", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-struct-method", + "optimization": "optimized", + "compileReport": "reports/installed/F2-struct-method-optimized.json", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 184, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 184, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "77ae4a022a5aef702f0ae0431e64445f", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F2-struct-method", + "optimization": "unoptimized", + "compileReport": "reports/installed/F2-struct-method-unoptimized.json", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 190, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F2-struct-method/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 190, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "adfea42ebd3b5257773b6df232849469", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-single-file", + "optimization": "optimized", + "compileReport": "reports/installed/F3-single-file-optimized.json", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "462d1d5282544ca8bb85afc12ddec267", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-single-file", + "optimization": "unoptimized", + "compileReport": "reports/installed/F3-single-file-unoptimized.json", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F3-single-file/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "c86995b3446dd1589a0305fe79bd4caf", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-distinct", + "optimization": "optimized", + "compileReport": "reports/installed/F4-distinct-optimized.json", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "45a66640f0b8fe51bb748100e197fe87", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-distinct", + "optimization": "unoptimized", + "compileReport": "reports/installed/F4-distinct-unoptimized.json", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-distinct/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "b20e0aa398f4024396eb88b40b7d89c0", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-same-no-dependency", + "optimization": "optimized", + "compileReport": "reports/installed/F4-same-no-dependency-optimized.json", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 372, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 372, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "69626c090b9268d3ff0012fc3c2e4e06", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-same-no-dependency", + "optimization": "unoptimized", + "compileReport": "reports/installed/F4-same-no-dependency-unoptimized.json", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 384, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-same-no-dependency/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 384, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "28674b632fc834991bd10c6a030d301a", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-rename-a", + "optimization": "optimized", + "compileReport": "reports/installed/F4-rename-a-optimized.json", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "05cfeabc8bc325388b41ea7b9fdedf3a", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-rename-a", + "optimization": "unoptimized", + "compileReport": "reports/installed/F4-rename-a-unoptimized.json", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F4-rename-a/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "1356f72bca04a57607b5c40e8a1f265a", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-shopvisit", + "optimization": "optimized", + "compileReport": "reports/installed/F5-shopvisit-optimized.json", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "579e3a71978a42de9106352da7ef99d6", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-shopvisit", + "optimization": "unoptimized", + "compileReport": "reports/installed/F5-shopvisit-unoptimized.json", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-shopvisit/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "af09ff692dd68f95bb9209c81a96b3b7", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene", + "optimization": "optimized", + "compileReport": "reports/installed/F5-scene-optimized.json", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "320c073c181b5ce000ed373b51f70167", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene", + "optimization": "unoptimized", + "compileReport": "reports/installed/F5-scene-unoptimized.json", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "abf33705f898fc2a69bc624b8c049a2c", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene-alias", + "optimization": "optimized", + "compileReport": "reports/installed/F5-scene-alias-optimized.json", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "8ef273004d54499702289fc4ca549add", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene-alias", + "optimization": "unoptimized", + "compileReport": "reports/installed/F5-scene-alias-unoptimized.json", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-alias/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "689fc4d607565484b4a925f637477f04", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene-positional", + "optimization": "optimized", + "compileReport": "reports/installed/F5-scene-positional-optimized.json", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 284, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 284, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "a2bf5704cd33d9dbbd10b0b6ecc00434", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F5-scene-positional", + "optimization": "unoptimized", + "compileReport": "reports/installed/F5-scene-positional-unoptimized.json", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 290, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/F5-scene-positional/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 290, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "9c02dcb329ee8c5293e1f08c83ddf826", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "runtime-trap-control", + "optimization": "optimized", + "compileReport": "reports/installed/runtime-trap-control-optimized.json", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "observedRuntime": "fault", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2a2bb007df0476c913576b1c9ecc1999", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "state": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2a2bb007df0476c913576b1c9ecc1999", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "2a2bb007df0476c913576b1c9ecc1999", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "2a2bb007df0476c913576b1c9ecc1999", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "sessionId": "2a2bb007df0476c913576b1c9ecc1999", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "sessionId": "2a2bb007df0476c913576b1c9ecc1999", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "sessionId": "2a2bb007df0476c913576b1c9ecc1999", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "2a2bb007df0476c913576b1c9ecc1999", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "runtime-trap-control", + "optimization": "unoptimized", + "compileReport": "reports/installed/runtime-trap-control-unoptimized.json", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "observedRuntime": "fault", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e1332b577fcb13d096e593580e479d83", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "state": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e1332b577fcb13d096e593580e479d83", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "e1332b577fcb13d096e593580e479d83", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-_votzxqj/runtime-trap-control/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "e1332b577fcb13d096e593580e479d83", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "sessionId": "e1332b577fcb13d096e593580e479d83", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "sessionId": "e1332b577fcb13d096e593580e479d83", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "sessionId": "e1332b577fcb13d096e593580e479d83", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "e1332b577fcb13d096e593580e479d83", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-service-local", + "optimization": "optimized", + "compileReport": "reports/installed/F1-service-local-optimized.json", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "f713b59d255997ece5ee5e55faab1134", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-service-local", + "optimization": "unoptimized", + "compileReport": "reports/installed/F1-service-local-unoptimized.json", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 192, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-service-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 192, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "cb936129384b04c4c2c4e45c74fbae9b", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-condition", + "optimization": "optimized", + "compileReport": "reports/installed/F1-condition-optimized.json", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 138, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 138, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "dd7350f2bcd53da1a4b001e3ecd6f16c", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F1-condition", + "optimization": "unoptimized", + "compileReport": "reports/installed/F1-condition-unoptimized.json", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 144, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 144, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "6ae54c76e1a07c0608129aa5945e5ec3", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-global-local", + "optimization": "optimized", + "compileReport": "reports/installed/F3-global-local-optimized.json", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "0e457b146353cc30672b0d98b4b26662", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-global-local", + "optimization": "unoptimized", + "compileReport": "reports/installed/F3-global-local-unoptimized.json", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-global-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "e197d9b0d1f0b37f662792117268979c", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-service-local", + "optimization": "optimized", + "compileReport": "reports/installed/F3-service-local-optimized.json", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "436895fe27cb7713e614451b775099c8", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F3-service-local", + "optimization": "unoptimized", + "compileReport": "reports/installed/F3-service-local-unoptimized.json", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F3-service-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "53624e8bf99d374ca09099a0f3d3920f", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-public-aliases", + "optimization": "optimized", + "compileReport": "reports/installed/F4-public-aliases-optimized.json", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 304, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 304, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "332bca22dd9dbb04bd4da28beaa88c43", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + }, + { + "id": "F4-public-aliases", + "optimization": "unoptimized", + "compileReport": "reports/installed/F4-public-aliases-unoptimized.json", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "expectedRuntime": "passed", + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 310, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F4-public-aliases/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "agd113-3", + "requested": 3, + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-4", + "result": null, + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 310, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "agd113-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "agd113-6", + "result": { + "closed": true + }, + "sessionId": "bc643f2ec0afda48be1156d0ead7d6f6", + "type": "response" + } + } + ], + "stderr": "", + "matchesExpectation": true + } + ] +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/summary.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/summary.json new file mode 100644 index 00000000..583dfe87 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/reports/installed/summary.json @@ -0,0 +1,679 @@ +{ + "schemaVersion": 1, + "mode": "installed", + "scratch": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f", + "cases": [ + { + "id": "F1-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-local-optimized.json" + }, + { + "id": "F1-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-local-optimized-public.json" + }, + { + "id": "F1-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-local-unoptimized.json" + }, + { + "id": "F1-direct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-direct-optimized.json" + }, + { + "id": "F1-direct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F1-direct-optimized-public.json" + }, + { + "id": "F1-direct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-direct-unoptimized.json" + }, + { + "id": "F1-two-calls", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-two-calls-optimized.json" + }, + { + "id": "F1-two-calls", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F1-two-calls-optimized-public.json" + }, + { + "id": "F1-two-calls", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-two-calls-unoptimized.json" + }, + { + "id": "F1-service-this", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-service-this-optimized.json" + }, + { + "id": "F1-service-this", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F1-service-this-optimized-public.json" + }, + { + "id": "F1-service-this", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F1-service-this-unoptimized.json" + }, + { + "id": "F2-locals", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-locals-optimized.json" + }, + { + "id": "F2-locals", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-locals-optimized-public.json" + }, + { + "id": "F2-locals", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-locals-unoptimized.json" + }, + { + "id": "F2-arguments", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-arguments-optimized.json" + }, + { + "id": "F2-arguments", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-arguments-optimized-public.json" + }, + { + "id": "F2-arguments", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-arguments-unoptimized.json" + }, + { + "id": "F2-expression", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-expression-optimized.json" + }, + { + "id": "F2-expression", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-expression-optimized-public.json" + }, + { + "id": "F2-expression", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-expression-unoptimized.json" + }, + { + "id": "F2-struct-method", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-struct-method-optimized.json" + }, + { + "id": "F2-struct-method", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-struct-method-optimized-public.json" + }, + { + "id": "F2-struct-method", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F2-struct-method-unoptimized.json" + }, + { + "id": "F3-single-file", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-single-file-optimized.json" + }, + { + "id": "F3-single-file", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-single-file-optimized-public.json" + }, + { + "id": "F3-single-file", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-single-file-unoptimized.json" + }, + { + "id": "F3-function", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-function-optimized.json" + }, + { + "id": "F3-function", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F3-function-optimized-public.json" + }, + { + "id": "F3-function", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-function-unoptimized.json" + }, + { + "id": "F3-global", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-global-optimized.json" + }, + { + "id": "F3-global", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F3-global-optimized-public.json" + }, + { + "id": "F3-global", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-global-unoptimized.json" + }, + { + "id": "F3-service", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-service-optimized.json" + }, + { + "id": "F3-service", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F3-service-optimized-public.json" + }, + { + "id": "F3-service", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F3-service-unoptimized.json" + }, + { + "id": "F3-file-private", + "optimization": "optimized", + "public": false, + "expectedCompile": "rejected", + "status": "analysis_failed", + "report": "reports/installed/F3-file-private-optimized.json" + }, + { + "id": "F3-file-private", + "optimization": "optimized", + "public": true, + "expectedCompile": "rejected", + "status": "public_compile_rejected", + "report": "reports/installed/F3-file-private-optimized-public.json" + }, + { + "id": "F3-file-private", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "rejected", + "status": "analysis_failed", + "report": "reports/installed/F3-file-private-unoptimized.json" + }, + { + "id": "F4-distinct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-distinct-optimized.json" + }, + { + "id": "F4-distinct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-distinct-optimized-public.json" + }, + { + "id": "F4-distinct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-distinct-unoptimized.json" + }, + { + "id": "F4-same-no-dependency", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-same-no-dependency-optimized.json" + }, + { + "id": "F4-same-no-dependency", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-same-no-dependency-optimized-public.json" + }, + { + "id": "F4-same-no-dependency", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-same-no-dependency-unoptimized.json" + }, + { + "id": "F4-same-dependency", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F4-same-dependency-optimized.json" + }, + { + "id": "F4-same-dependency", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F4-same-dependency-optimized-public.json" + }, + { + "id": "F4-same-dependency", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F4-same-dependency-unoptimized.json" + }, + { + "id": "F4-rename-a", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-rename-a-optimized.json" + }, + { + "id": "F4-rename-a", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-rename-a-optimized-public.json" + }, + { + "id": "F4-rename-a", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-rename-a-unoptimized.json" + }, + { + "id": "F4-same-direct", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F4-same-direct-optimized.json" + }, + { + "id": "F4-same-direct", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "public_compile_rejected", + "report": "reports/installed/F4-same-direct-optimized-public.json" + }, + { + "id": "F4-same-direct", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "analysis_failed", + "report": "reports/installed/F4-same-direct-unoptimized.json" + }, + { + "id": "F5-shopvisit", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-shopvisit-optimized.json" + }, + { + "id": "F5-shopvisit", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-shopvisit-optimized-public.json" + }, + { + "id": "F5-shopvisit", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-shopvisit-unoptimized.json" + }, + { + "id": "F5-scene", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-optimized.json" + }, + { + "id": "F5-scene", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-optimized-public.json" + }, + { + "id": "F5-scene", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-unoptimized.json" + }, + { + "id": "F5-scene-alias", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-alias-optimized.json" + }, + { + "id": "F5-scene-alias", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-alias-optimized-public.json" + }, + { + "id": "F5-scene-alias", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-alias-unoptimized.json" + }, + { + "id": "F5-scene-positional", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-positional-optimized.json" + }, + { + "id": "F5-scene-positional", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-positional-optimized-public.json" + }, + { + "id": "F5-scene-positional", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F5-scene-positional-unoptimized.json" + }, + { + "id": "runtime-trap-control", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/runtime-trap-control-optimized.json" + }, + { + "id": "runtime-trap-control", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/runtime-trap-control-optimized-public.json" + }, + { + "id": "runtime-trap-control", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/runtime-trap-control-unoptimized.json" + }, + { + "id": "F1-service-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-service-local-optimized.json" + }, + { + "id": "F1-service-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-service-local-optimized-public.json" + }, + { + "id": "F1-service-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-service-local-unoptimized.json" + }, + { + "id": "F1-condition", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-condition-optimized.json" + }, + { + "id": "F1-condition", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-condition-optimized-public.json" + }, + { + "id": "F1-condition", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F1-condition-unoptimized.json" + }, + { + "id": "F3-global-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-global-local-optimized.json" + }, + { + "id": "F3-global-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-global-local-optimized-public.json" + }, + { + "id": "F3-global-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-global-local-unoptimized.json" + }, + { + "id": "F3-service-local", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-service-local-optimized.json" + }, + { + "id": "F3-service-local", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-service-local-optimized-public.json" + }, + { + "id": "F3-service-local", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F3-service-local-unoptimized.json" + }, + { + "id": "F4-public-aliases", + "optimization": "optimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-public-aliases-optimized.json" + }, + { + "id": "F4-public-aliases", + "optimization": "optimized", + "public": true, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-public-aliases-optimized-public.json" + }, + { + "id": "F4-public-aliases", + "optimization": "unoptimized", + "public": false, + "expectedCompile": "compiled", + "status": "compiled", + "report": "reports/installed/F4-public-aliases-unoptimized.json" + } + ] +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/summarize.py b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/summarize.py new file mode 100644 index 00000000..f7aebe17 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/baseline/summarize.py @@ -0,0 +1,163 @@ +#!/usr/bin/env python3 +"""Build the machine-readable evidence inventory; does not mutate product sources.""" +import collections +import datetime +import hashlib +import json +from pathlib import Path +import platform +import subprocess +import zipfile + +HERE = Path(__file__).resolve().parent +ROOT = HERE.parents[3] + + +def sha(data): + return hashlib.sha256(data).hexdigest() + + +def run(*args): + # The available Python is Intel/Rosetta, while this host's CommandLineTools are arm64-only. + command = ["/usr/bin/arch", "-arm64", *args] if platform.system() == "Darwin" and platform.machine() == "x86_64" else list(args) + return subprocess.run(command, cwd=ROOT, capture_output=True, text=True, check=True).stdout.strip() + + +def anchor(path, needle): + source = (ROOT / path).read_text() + return {"path": path, "line": next(i for i, line in enumerate(source.splitlines(), 1) if needle in line), + "sourceSha256": sha(source.encode())} + + +def tree_digest(directory): + files = sorted(p for p in directory.rglob("*") if p.is_file()) + hashes = [(str(p.relative_to(directory)), sha(p.read_bytes())) for p in files] + return {"files": len(hashes), "sha256": sha(json.dumps(hashes, separators=(",", ":")).encode())} + + +def main(): + corpus = json.loads((HERE / "cases.json").read_text())["cases"] + runtime = {mode: json.loads((HERE / "reports" / mode / "runtime.json").read_text()) for mode in ("checkout", "installed")} + summaries = {mode: json.loads((HERE / "reports" / mode / "summary.json").read_text()) for mode in runtime} + result = {"schemaVersion": 1, "discussion": "DSC-0111", "agenda": "AGD-0113", "cases": []} + for case in corpus: + item = {k: case[k] for k in ("id", "family", "description", "control", "expectedCompile", "expectedRuntime", "sourceSha256")} + observations = [] + for mode in runtime: + for observation in [i for i in summaries[mode]["cases"] if i["id"] == case["id"]]: + report = json.loads((HERE / observation["report"]).read_text()) + assert report["sourceSha256"] == case["sourceSha256"], case["id"] + row = {"mode": mode, **observation} + row["diagnostics"] = [] + for phase in report["phases"]: + for diagnostic in phase["diagnostics"]: + diag = {k: diagnostic.get(k) for k in ("code", "phase", "start", "end", "functionIndex", "pc", "message")} + if diagnostic.get("file"): + diag["file"] = str(Path(diagnostic["file"]).resolve().relative_to(Path(report["projectRoot"]).resolve())) + row["diagnostics"].append(diag) + observations.append(row) + assert len(observations) == 6, (case["id"], observations) + assert len({o["status"] for o in observations if not o["public"]}) == 1 + assert all(o["status"] == "compiled" for o in observations if o["public"]) == all(o["status"] == "compiled" for o in observations if not o["public"]) + status = next(o["status"] for o in observations if not o["public"]) + if case["expectedCompile"] == "rejected": + assert status == "analysis_failed" + classification = "expected_rejection" + elif status != "compiled": + classification = "reproduced_failure" + elif case["expectedRuntime"] == "fault": + classification = "harness_control" + else: + classification = "compiled_and_executed" + item["classification"] = classification + item["observations"] = observations + item["executions"] = [{"mode": mode, **{k: e[k] for k in ("optimization", "observedRuntime", "matchesExpectation", "bytecodeSha256")}} + for mode in runtime for e in runtime[mode]["cases"] if e["id"] == case["id"]] + if status == "compiled": + assert len(item["executions"]) == 4 and all(e["matchesExpectation"] for e in item["executions"]), case["id"] + result["cases"].append(item) + + prefix = "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/" + lowerer = prefix + "p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java" + result["findings"] = [ + {"id": "PBS-EXPRESSION-CONTEXT", "owner": "compiler/pbs", "status": "reproduced_and_localized", + "cases": ["F1-direct", "F1-two-calls", "F1-service-this"], + "controls": ["F1-local", "F1-service-local", "F1-condition"], + "mechanism": "Returned boolean context is retained while lowering binary operands; structured method candidate filtering compares the int return against the enclosing bool expected type. Direct if condition and local materialization pass.", + "code": [anchor(lowerer, "case PbsAst.BinaryExpr binaryExpr ->"), anchor(lowerer, "private void lowerExpected("), anchor(lowerer, "private boolean returnMatches(")]}, + {"id": "PBS-MODULE-PEER-SURFACE", "owner": "compiler/pbs", "status": "reproduced_and_localized", + "cases": ["F3-function", "F3-global", "F3-service"], + "controls": ["F3-single-file", "F3-global-local", "F3-service-local", "F3-file-private"], + "mechanism": "Sibling collection contributes type/generic declarations but not ordinary peer function/global surfaces; peer service type availability does not provide the corresponding callable binding. Valid mod declarations fail when moved to a second file.", + "code": [anchor(prefix + "p/studio/compiler/services/PbsImportedSemanticContextService.java", "for (var sibling :")]}, + {"id": "PBS-NOMINAL-DEPENDENCY", "owner": "compiler/pbs", "status": "reproduced_with_source_hypothesis", + "cases": ["F4-same-dependency", "F4-same-direct"], + "controls": ["F4-distinct", "F4-same-no-dependency", "F4-rename-a", "F4-public-aliases"], + "mechanismHypothesis": "Flat simple-name runtime type/signature indexes combine local and dependency declarations; private homonymous owner context can be replaced, leading to exact receiver signature mismatch. Differential tests establish the dependency/name interaction; exact correction and full scope are not yet verified.", + "code": [anchor(prefix + "p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java", "structs.put(s.name(), s);"), anchor(prefix + "p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java", "boolean matches =")]} + ] + result["notReproduced"] = [ + {"report": "Historical MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT with complex expressions/factories", + "scope": "Four nested-call variants compile and execute; no such verifier error occurs in this reduced corpus. This does not establish that all historical shapes are fixed."}, + {"report": "Historical Unsupported PBS runtime type: Scene", + "scope": "Scene and ShopVisit construction/cross-module parameters, Scene alias and positional construction compile and execute. Exact historical project state remains unqualified."} + ] + result["handoffs"] = [ + {"agenda": "AGD-0114", "finding": "Analysis diagnostics are followed by builder pipeline completed successfully in the production facade logs. No historical backend RET stack mismatch has been reproduced here.", + "evidence": "reports/checkout/F1-direct-optimized-public.json"}, + {"agenda": "AGD-0115", "finding": "The analysis entrypoint returns code/span; compile rejects with generic BuildException and diagnostics remain in logs. Preserve the structured diagnostic through consumer adapters. No live LSP/MCP query was exercised in this corpus.", + "evidence": "reports/checkout/F1-direct-optimized.json"} + ] + result["counts"] = {"cases": len(corpus), "classifications": dict(collections.Counter(c["classification"] for c in result["cases"])), + "finalCompileObservations": sum(len(c["observations"]) for c in result["cases"]), + "finalRuntimeExecutions": sum(len(c["executions"]) for c in result["cases"])} + result["limitations"] = [ + "Research fixtures only; no product implementation or correction was made.", + "The nonoptimized path omits OptimizeIRVMPipelineStage and emits the original IRVM. It is a research variant, not a claimed public compiler option.", + "Public BuilderPipelineService.compile was checked for the default optimized pipeline; all cases also ran through the corresponding production stages.", + "Each case compiled in a separate JVM. Installed mode used only distribution JARs and a scratch working directory outside the repository.", + "Execution used the existing sibling debug headless binary, identified by hash. This is not qualification of an installed runtime distribution or live Studio UI/MCP.", + "Final counts describe the completed matrix, excluding earlier smoke/retry attempts.", + "An initial harness handshake incorrectly requested memcard with protocol 1.0. The attempt is preserved in reports/checkout/runtime-initial-handshake.json; the corrected harness negotiates supported version and only needed capabilities.", + "Absolute scratch paths in detailed reports are observational; cases.json contains all source inputs needed to rematerialize them." + ] + (HERE / "inventory.json").write_text(json.dumps(result, indent=2) + "\n") + + modules = ["prometeu-infra", "prometeu-animation", "prometeu-compiler/prometeu-compiler-core", + "prometeu-compiler/prometeu-frontend-api", "prometeu-compiler/frontends/prometeu-frontend-pbs", + "prometeu-compiler/prometeu-frontend-registry", "prometeu-compiler/prometeu-deps", "prometeu-compiler/prometeu-build-pipeline"] + install = ROOT / "prometeu-app/build/install/prometeu-app" + provenance = {"schemaVersion": 1, "capturedAtUtc": datetime.datetime.now(datetime.timezone.utc).isoformat(), + "studioRevision": run("git", "rev-parse", "HEAD"), "studioWorktreeStatus": run("git", "status", "--short").splitlines(), + "platform": platform.platform(), "machine": platform.machine(), + "java": subprocess.run([str(install / "runtime/bin/java"), "-version"], capture_output=True, text=True, check=True).stderr.strip(), + "modules": [], "runtimeExecutables": [{k: runtime[m][k] for k in ("binary", "binarySha256")} for m in runtime], + "scope": "Runtime binaries were read/executed only; all cartridge/media-free fixture writes belong to scratch directories."} + for module in modules: + directory = ROOT / module + jar = install / "lib" / (directory.name + ".jar") + item = {"path": module, "sources": tree_digest(directory / "src/main"), + "classes": tree_digest(directory / "build/classes/java/main"), "installedJarSha256": sha(jar.read_bytes())} + matches = 0 + differences = [] + with zipfile.ZipFile(jar) as archive: + for path in sorted((directory / "build/classes/java/main").rglob("*.class")): + relative = str(path.relative_to(directory / "build/classes/java/main")) + if relative in archive.namelist() and sha(path.read_bytes()) == sha(archive.read(relative)): + matches += 1 + else: + differences.append(relative) + item["installedClassComparison"] = {"matching": matches, "differentOrMissing": differences} + provenance["modules"].append(item) + (HERE / "provenance.json").write_text(json.dumps(provenance, indent=2) + "\n") + checksums = [] + for path in sorted(HERE.rglob("*")): + if path.is_file() and path.name != "SHA256SUMS" and "__pycache__" not in path.parts: + checksums.append(sha(path.read_bytes()) + " " + str(path.relative_to(HERE))) + (HERE / "SHA256SUMS").write_text("\n".join(checksums) + "\n") + print(json.dumps(result["counts"], indent=2)) + print("Installed class differences:", sum(len(m["installedClassComparison"]["differentOrMissing"]) for m in provenance["modules"])) + + +if __name__ == "__main__": + main() diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/candidate-source-sha256.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/candidate-source-sha256.json new file mode 100644 index 00000000..8f7ff0f6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/candidate-source-sha256.json @@ -0,0 +1,1021 @@ +{ + "prometeu-animation/build.gradle.kts": "7d5951e493364a7815066e76799b93f6a6c614a76911758e937fb70b12e3154c", + "prometeu-animation/src/main/java/p/animation/AnimationCodec.java": "4a65d23e0a708337a1d79a8c857cdd074f05b76de11ab2929a6f0d890aac6d0e", + "prometeu-animation/src/main/java/p/animation/AnimationDiagnostic.java": "fddda8ae3f78a32d62c5efd85539f5ffab904a1ddafaa17f2becf662510abcbc", + "prometeu-animation/src/main/java/p/animation/AnimationDocument.java": "1664c83f83f6c56733545707185601d22de7bf5c2027f76d0ab18b2a61c355f2", + "prometeu-animation/src/main/java/p/animation/AnimationOriginNavigation.java": "4857bd166d3758d0a8c49ad4963142eff3e4bf64178b8dab7747ddb99308d4c4", + "prometeu-animation/src/main/java/p/animation/AnimationRebind.java": "f77ed5b4946fea3452275e0807b0d979519d92f706832f823ae8a460907d01a1", + "prometeu-animation/src/main/java/p/animation/AnimationRevision.java": "d31acf93ecb83f9622966e1d361dc31ef6c366dc35dce3d8bff1a8d20f035150", + "prometeu-animation/src/main/java/p/animation/AnimationSource.java": "ce9bdadfe16f24fcae358d7de213a8c8450ca8a5e2ed45075c6f2f10bda0d983", + "prometeu-animation/src/main/java/p/animation/AnimationTimeline.java": "1363b399ef7494abe88b3cb2a1e30d0815347501305558e72b1f4f56dc086bd8", + "prometeu-animation/src/main/java/p/animation/AnimationValidator.java": "57fcb4956030d63b74d0824e5fa35cdd033516c851ba9cde415201cfa51ebec7", + "prometeu-animation/src/main/java/p/animation/GlyphBankLayout.java": "6fd1f8b203735769e3ec7a7e62240a41fa34a654a19c09151a11f5668953df66", + "prometeu-animation/src/main/java/p/animation/GlyphBankLayoutSource.java": "176f288b6ea3f984c52227b26264bcf69dbe4bb5535990aa9ef37cab48e8d742", + "prometeu-app/build.gradle.kts": "843a4dfb03afa46905642c5055171606b65e46937d5bc428d503838f7827ab20", + "prometeu-app/src/main/java/p/studio/app/App.java": "e0887d840cc7c8104aeb2fa9589d150cb6dabac7380970694f9c9f4cf02e0eb8", + "prometeu-app/src/main/java/p/studio/app/StudioApplicationConfiguration.java": "3cd71fdfcf8dfddf60eacca7b0caff08795ff00b55f7da80d400c57b4dc30ae2", + "prometeu-app/src/main/java/p/studio/app/StudioLauncher.java": "42bdae888d7bcf57b09c156e7b085c5d9522c1d1ed405f10f353c4e90473bd72", + "prometeu-app/src/main/java/p/studio/app/StudioPackerEventAdapter.java": "688d9e6fe4bc2cfcf4c3a96cafc6c7c9896f9b102fdeaa99894e72dceb224145", + "prometeu-app/src/main/java/p/studio/app/StudioUiFactory.java": "954626f88beaed539a60be0f9142b4e85ab14106a6baa42abccaefb7756c5352", + "prometeu-app/src/main/java/p/studio/app/assets/PackerGlyphBankLayouts.java": "a320b60885537e917bef66e34ed3cedea53fa1d1580d05fc38d0e9480f1d91a3", + "prometeu-app/src/main/java/p/studio/app/compiler/CompilerBuildGatewayAdapter.java": "2889488ccf358a99470fb5505062b609eb3ef58f786ab4f5f7370288a98ce54e", + "prometeu-app/src/main/java/p/studio/app/compiler/CompilerProjectKnowledge.java": "0c258a15eb3f34aafed92d96a6a9fdf0e2356752836972c21248a8b3b2d1cb28", + "prometeu-app/src/main/java/p/studio/app/compiler/CompilerProjectLanguageCatalog.java": "dcf0ed378f6b42ee6957a3a75c55b450b63d344c07a371d5bd9ff27da6a6b57e", + "prometeu-app/src/main/java/p/studio/app/install/ManagedStudioInstallation.java": "251046bc2bc4eec1d40a4bb05acd1bd20b02b7d363e26816abaf5716de1bfd1c", + "prometeu-app/src/main/java/p/studio/app/install/StudioInstallationProbe.java": "8d0e605e13e56d874755789bbfaf60874d2f05fba82bcb36ec2f6e182c3240b3", + "prometeu-app/src/main/java/p/studio/app/lsp/AutomationLspQueries.java": "f261855788237b485f2559d133f7eda942efe0235723d33b75635d400f4eb1cc", + "prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java": "deb385a1c7effa10dd5cdae6ecd61f63722f26c85ba5362a4c204b1719eaafac", + "prometeu-app/src/main/java/p/studio/app/mcp/ContractSchema.java": "919e7bcbfaf98f2027291475afc39dc68e7e9b2a086edcfb3bc75f5866e94153", + "prometeu-app/src/main/java/p/studio/app/mcp/LocalMcpServer.java": "30dee6b9b1f557faec37d0fa04c4bd6ecdaa0bf0e8862f70f280c6b042c48a7d", + "prometeu-app/src/main/java/p/studio/app/mcp/McpAnimationTools.java": "ed0975206ea18373f6e5f436d7f714c96e93bd728f941fc3548cd7739f5a0486", + "prometeu-app/src/main/java/p/studio/app/mcp/McpConnectionGuide.java": "3ba03150cc1fe52f91099ec1d04c66db8ad5c26be45aeaa656b97766be8494ab", + "prometeu-app/src/main/java/p/studio/app/mcp/McpLanguageTools.java": "af90229a0e75a6c04ceecc26f9effda1e7c29c17dab7de8191ec01f961614af4", + "prometeu-app/src/main/java/p/studio/app/mcp/McpProjectKnowledgeTools.java": "ff0b69601eda76fce68d376b4701166fdc3595c4e2aa9175d33803fd3446c205", + "prometeu-app/src/main/java/p/studio/app/mcp/McpTaskTools.java": "e2cd15030193380a63d50b034d8216396c1c86a9b2d28e66a34bf5a6dd7e892a", + "prometeu-app/src/main/java/p/studio/app/mcp/McpToolCatalog.java": "6c6e0f9ece429994431253150afe687658c8e42ac754408f2f370c5b4d70391c", + "prometeu-app/src/main/java/p/studio/app/mcp/McpToolRegistry.java": "b3e8a78ef3c48da5d2fc5dfffcd91a66edbbd625c4e46e6cb1b4be5693b84d38", + "prometeu-app/src/main/java/p/studio/app/mcp/McpToolResult.java": "b903a5b1ea120346460bd30052e04f67a91774b97513d8c0124f7bb0adb174c3", + "prometeu-app/src/main/java/p/studio/app/mcp/ProjectConnectionFiles.java": "74b637a5a00ac546df5c374e0ad5075773fa5e31d041384030a33b638652e228", + "prometeu-app/src/main/java/p/studio/app/mcp/ProjectConnectionPublisher.java": "90edfe7881512505872655c61523ef4e137d45b064ef5642341330994ee71118", + "prometeu-app/src/main/java/p/studio/app/mcp/ProjectCredentials.java": "7d116f5eb28a18f2c346169f4d58818f72cac2e610a18858fba2cb7d9172b8e1", + "prometeu-app/src/main/java/p/studio/app/mcp/StudioAgentPreparation.java": "0b0e1296e17515ba9e9e91161cf021f01c241a1859d4e43494d574ab0b430cdc", + "prometeu-app/src/main/java/p/studio/app/mcp/stdio/StudioMcpConnection.java": "5344c4e1c2354b9b0b32b33aa00e75f702d60efc4625ed590bfa0bd4268c5d1b", + "prometeu-app/src/main/java/p/studio/app/mcp/stdio/StudioMcpStdio.java": "9d2edb30bcf11f0de04db588b229e5c25accc3e71cb10ee30393ac64491262d4", + "prometeu-app/src/main/java/p/studio/app/operation/ExecutorOperationExecutor.java": "b9786957a141f37b1f4db24c5ef5cb559300a28a9f93f81ccff0fe0ace71ed66", + "prometeu-app/src/main/java/p/studio/app/runtime/ExternalRuntimeGateway.java": "5298a0541864f8d434d03d06726fd05ccfa0ca93b84538ef65a7158aeb86d9af", + "prometeu-app/src/main/java/p/studio/app/runtime/HeadlessLimits.java": "12b68b16e2f3c64b2fd3f7c84c8c88550189781a22d7ba1d23e3d4875186fd75", + "prometeu-app/src/main/java/p/studio/app/runtime/HeadlessMemcard.java": "71521eb4bb62e3e5cbd3e3a6d37b6bfb48762db41346d71fbccca91dcce0612b", + "prometeu-app/src/main/java/p/studio/app/runtime/HeadlessProcessGateway.java": "f77350d1e4ee20479effd1c83a90efd1626d868fafbf6e35fbef9834e5eed7c4", + "prometeu-app/src/main/java/p/studio/app/runtime/HeadlessProcessSession.java": "eae7597d96f81a00d40a06984eb65c8a642da3bf977fdf5a12652fd43e5c73af", + "prometeu-app/src/main/java/p/studio/app/runtime/HeadlessWire.java": "94538f3160db45cb5614dc1cfd61aa973bcedb84338c959a16a474eedad3d4f4", + "prometeu-app/src/main/resources/mcp/studio-tools-v1.json": "742e8b060265a0ea94e7f4fbaa30e313a4dfe5dde94ea1e1fe922bf7d9e050d2", + "prometeu-architecture-tests/build.gradle.kts": "6959fb81a7d8a322568490753754681a74f503b470f93a433b807d29d8b5f9f4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build.gradle.kts": "6101fd95a4d55a947d533218d15f3c26426300e340d7f1a48edd2cc49a052f53", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/PBSDefinitions.java": "9732cbf9c3d17f31bd9843b0f3a6e9d1120f8abfdd9ed8b462ed81f753495eca", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/PBSFrontendHostProjections.java": "1362f147a9beca78ee769869f9037e5e6617d8f5ec1bd17cbc7cece0003e0bdf", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/PBSFrontendLanguageService.java": "f328dccad9f040c84d769cdeffa5d8783b78e86664a4187ff5c23c7cf81b7978", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/PBSFrontendProvider.java": "f3bfd637479031543936c4ef43ecda93dfd905523401dd879cf7436333bbaeaa", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/PBSFrontendThemes.java": "2ead33c1368d8d91a501ed220e5a2cb6300074fa8db1eb562e2c03682cbdb34e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/PBSSemanticTokenProvider.java": "2b8d17e5ba0145e880af4bc76d4ffe56f20094a0528701069edaf790f61d97e1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsCallHierarchy.java": "7f4464a6677316cbab8f0148e4b1a1835784741d6365550a6c0ba01b4ca1aa1e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsCallableSlotCounter.java": "ff57258886cff5b367fdb78ee9518188aa98daffd7d6af44536757d3ccfb7b8f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsContractTypes.java": "3ab546b5e93345442550e385e271b7152aa6a749f1d2b7a7cab3b9b29521c76d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsDiagnosticFacts.java": "95aa45cea759c21c92eacbf7a07f994c2ad36e6d33c2aa922608bdfa564dbbc3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsDocumentFormatter.java": "5008db05d6d15ae0382ea5b190c887ec5e7106d76959ac8cdebe5537009cb345", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsDocumentationTextBlockNormalizer.java": "f5348c4a0b77405d99820b1951d689df37aa3f76886b93ab6bdada2e2c936b50", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsFrontendCompiler.java": "5fc5f7beacc2443abf8189a9e71a0ee1ff3145585ad7aaaa318a18d077dcc036", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericCoherence.java": "8e3fadf2df6b3b33d408f16070cb90a174d1582be00f4a235134dbc41671252e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericDiagnostics.java": "8174e5a8470db9065365c89a975327923ae5c5448e626c18ee3631110de4ce77", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericInstantiation.java": "d4bdf6179293b12af929369fd332a5e42143d042db64b2a248621a59a5d93a46", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericTemplateValidator.java": "e0555266418d9409736cf2eead5131c46e9998fd06286c8270bf26728391e15b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsHostAdmissionErrors.java": "75441b5c8186a4dc7bd31da74345ca49dc5b208d98a324da24f17b5b632c4416", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsHostAdmissionValidator.java": "4c81a7af9d704529f4bcbf71b1bdbcecba6845da6ae81ba91bc45aff99ca5d4d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsInstantiationBudget.java": "163f231bc6f059b344839bd803df21de1fb1f12408ecb4ec567f9823327b8d10", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsReservedMetadataExtractor.java": "dc9b13410f0387bec2924311207ec52df79f17828cf45756171c80e84b3e99dc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsSdkCollections.java": "e4480f091cbd9d8ea92750f31cacc667d0b288ce82b810e0ba0d952abfe8d4f4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsSdkMemcard.java": "cccc92a11da2725f114371938535d2bcbbd9ed9f39fec856d22bad8b3a7e15fc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsSemanticKind.java": "4f69c2b8ab8953e77d22b4cc7cbd0dc63d3494bfc241210a2fd9456bbcc34040", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsSemanticTokenOverlay.java": "e1e15d88ce9ca92be8bf96adaa47c8cb3df0604dffc04819e733a90773194b4e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsServiceConstants.java": "4a27c8c09b1d7de0b5ae94f5d1561727db7fc15473fd3b0889b018f5cc47b0e9", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsStdlibConstruction.java": "4365be38ea866eced4606fbcf53e61992355f6bbdd8398b5418a01b2e68b464c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsStructureRanges.java": "4c40082db21f37dd3f116842a977c571413b253fe1e1a8f8dbc58bd4fec88119", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsTypeSubstitution.java": "f2751377e6e9c945bd5494f7ea9ab764c0c2eb74a87a1341f57aa4ac364231f6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/ast/PbsAst.java": "bae95724d6b31f5367e6bd9ca96a7da1805be8141d30d506686e7f9a988b0bbb", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/ast/PbsAstRewriter.java": "73954236ba33bcbbdecf5f8f8b6c45dab8a7dd2488e032abd34a3c12cb0a659b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/ast/PbsLambdaTraversal.java": "0b6c1caf15e34d15f98b7ab9b4a5383009636721423592434c1cac7e96de2001", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/ast/PbsTypeTraversal.java": "e04e5a8be4b553581efef9fd968b0ab117a9af6617e8681eb4f5d30f2d1aae09", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/documentation/PbsDocumentation.java": "f857ceeb553af8cee6cbc5e10608bb60b5f75a0d7ff2a361bdffa279a0f0abe4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lexer/LexErrors.java": "efa1b3d922464b9ec3ee86d4a307bb068ce9d7909eabfc7a117949de16dcc358", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lexer/PbsLexer.java": "6f018097b72e1570497ce5644eec9f0ddc82390dd6aea57a0068d3bbce328f78", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lexer/PbsToken.java": "915f92d87b775928a77d12c5d2cb5b8421692d1091823d48df4516fdc12d8656", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lexer/PbsTokenKind.java": "eb55df9c36ba7c7308df405d5c24fa7e8d99366d21d1ee027cc99e55d8c40c57", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/linking/PbsLinkErrors.java": "3ec2417f303c644d350ae7e5ca2fbe4def61daa15deaf861157dd61236fcbc4a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator.java": "947a00fdf7cd8aeebacbd764a80b52514d6cf3c3fca72dd9f894e3fc5b1f0dcd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsCallableShapeSurfaceService.java": "1d9f7ce9b7ceb1712483e79f572f83bbffb73186334de58d8ce34568a29f72ef", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java": "224c5d8d6faa02480292432f0d1e27e4268cf899ed372123a98b82904228e9a4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallableRegistryFactory.java": "e4b947f2702a4d945e3275aedd3fce96101cf73b1e7222863b2a28e8645b77b1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallsiteEmitter.java": "65a5b8116c5d3a5f1b872751a24552497863fcb2375e4df0b3c5b9e28bcc270f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java": "e2ce5cbd77cc779da88597111b0a1046fa88b7a786206510ec2b259c5f5c6024", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels.java": "20db335c356b9dd2de638ae45579799a86733a3149cb27b3f3e21b9fc525117d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringService.java": "d1b5d4f56b8588187d1c681730e5f656cc3c7fbd3975f4dd56a5ac830dcf3910", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableMetadataIndexFactory.java": "c8c84fdbff6e770dd3c98882774e4ab2d4fc4719381e64ebc9b6f2dd884327bf", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableStackAnalyzer.java": "c64c11ffce06554da57861c373f81897739c9f93b05c8f8559e292b19d1233b5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsImportedGlobalSlots.java": "5a196f64752aae6ad7da776174ceab71b7d3362da6354a166371e4e50a989d72", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java": "b6248dd05405b3a2da54e3bb7a97a9c77a8206bee7cabe3b749256304aa88c04", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/ParseErrors.java": "1885b2106ca0d6e86a6b58e302a1db3ad2e53e1a0cd3ed28f2f506aa1bed02e8", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsAttributeParser.java": "4a29dfbfac27a41abaef7f678924fe1ae15974c6dfd048672575f7cf24753626", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsBarrelParser.java": "3e31f07815ef2e745214eab086626c8893e6c0d7eb46d7d7c33aa50669a454ca", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsBlockParser.java": "fa1344f2de9a86e1db861e9fc149928e32f0a9ae1a5b1704712a66a92ac2f6f0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsDeclarationParser.java": "5c6777b8d57027b18f3c19133628335af3a76008f629b9e3b44b8e5fa9bd47c5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsExprControlFlowParser.java": "c84d7fb01186a1248ff75d27aa7a24d788093d6da84dd0bf3364c470b8d52b23", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsExprLiteralSupport.java": "046ee2565555ec0a18c20861c6856bc670786417fc0d9b3387d32eb26b1c6ead", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsExprParser.java": "f9c7712cd623319096a382cf7b35a614072a9ce2057e5671b4c561af6121800c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsExprParserContext.java": "7b6de40de18fd676210bcfc6655b0dbbd10d589513d35f1cf0c4b01cbf30e7d5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsExprPrimaryParser.java": "4a697d6dc1b3da03f10d5aa9edc28f0cdc9c3505ae08b7e32a7cbeb1ec03f1e3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsParser.java": "eb2d70a1e2d3b3900cbfac5fb1eb5a35a30861c8a42a6c8f0f1e6bd797e91241", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsParserContext.java": "3ca8c774919f86f9e19e84a75d639cc1a7e39bb557c238ba296481f1809b5855", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsTokenCursor.java": "ce9436cad099e1513709521403ff03d618fb7f06f065085d0bdc3db58b119f92", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsTopLevelParser.java": "43425116161b785ba76fe276f229ded6171e6928b18818061b67cfcb93d5e022", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsTypeParser.java": "5b6c7761ce6a1b6eae602bbd7b64ad2c2cf7bca2648f11fccc6e8e0954ff92b8", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsAstDocumentSymbols.java": "11ca535fbced6f7f3b3986aa7b47b9a666cf33efdd3471f4be56d12ff59fef4f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsAstWorkspaceSymbols.java": "000230f67c03cb0dfa49aac427352195e1526985d81bf18db37a1ba1ae4e0220", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsBuiltinLayoutResolver.java": "63cce09cb2e8a4c40a3208d9fbf9b9e7aa4fa3391a70b934cf633f374f9c058f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsCallableScope.java": "fc40774ea419cab94319cfa21eea0008642fbd5eca387800f54ac81cb0d720c5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsCallableShape.java": "a87aac3ab505194b1e0392c30a25e38470cb833ea1773259fba13097f98db5a6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsConstSemanticsValidator.java": "31d447db76399afdd33b0bcd796dadd09102d4e335cc45450258d2472002e7d3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsCtorInitializationAnalyzer.java": "5a4a134324b2effce4c9e8ed66d1025e393c0fe61959190586d7ea103ad06f47", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsCtorReturnScanner.java": "eb5502d12359d171464fd67492856c1f8fc7458fe7de70c7ad9f9c146c04a4e0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsDeclarationRuleValidator.java": "316ccad0f0b46fb97bcc872b8307a525f70083b4aa11a4831fccdff5a8e6b6b6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsDeclarationSemanticsValidator.java": "17e43cc02a33af36debb05f0af237d05813f61b9cbef15d23d96cc7722819c38", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialCompletionCandidate.java": "1e9fc331a9d0db919dcf1853b2eb083d94f339277a9b1df57e3fc00303eea023", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialDocumentSymbol.java": "39c337022ff95f9c3b5793f48e721147cbbee78dce205b566ee829ed3c50346f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialLocation.java": "b094bb25aa2826bc49f671f25a1dd0c82ea73f0561137fef921e53b2c852f421", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialRename.java": "a9b48a4a06ad71ade66c5ccdff309177e349cda5d4db67aa072bd7adaef0e96c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialResolvedSymbol.java": "fd572a6cb1afb7c7e307039b8e1d1a25fec2bb3d37d65a734988f47582ce148f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialSignature.java": "694491c7464189f6f81674f2c7e68cb888753164d04a9d687ae77601396bd9f6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialSignatureHelp.java": "1c930de6d01094ad5d1484cf237e3e797360dfe43bc98642bae30c7112fadb77", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialSupportService.java": "b5cc039430efbfacdc3720f72495bb661e50d195fb520cbf6dab31445147c9a4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialSymbolKind.java": "4df7540d4bc2fc68569475b19f0533925a35b38b8298b8e7291f6b555d810da7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialWorkspaceSymbol.java": "98a12a4c1f73f60afa51e303e57e55ef9c1623f92dde766551f0b512555092d5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer.java": "a8fd6fc3f710b3b3b65a66761266b675cbce9056d5ac2c4d6fdf28e28cbe41f4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowBodyAnalyzer.java": "833316905b9c0ffb33e6bf50bf321f715b9510c9e726b91f38c8892f676186c8", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowBodyContext.java": "904b1bdf3899b2dafc069b8bad7d16c0186bb2f25ab1f78fe7ad8ddcd77cb63b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowBranchExpressionAnalyzer.java": "278d292e86f2507b53d448fb51a394f9a2eed25b08932e5c75ee3ab33b3ed9a1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowCallableBodyAnalyzer.java": "6d66ece4b78faee4d98bde1cec80864976fb12435bd51005f7b2bf96ce1c3396", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowCallableResolutionAnalyzer.java": "881a9e5432a4a388905a363d3b5d05fe29594249cf842967ef81e164ce42e75f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowCompletionAnalyzer.java": "58db624c842b08ec8cb794d99295b577255a3d55fabcd6e2756125c4d84a7bc7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowControlExpressionAnalyzer.java": "73566291ca29a944e384b9b4d9e73ce562fe0bc5f79e19b33baaf12fb72cd648", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowExpressionAnalyzer.java": "d3d656a09c5b422b04b69fb8e6178be925e368b39dd52a48ca79d174dad0eb18", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowExpressionContext.java": "d6f0dea0f641ea862bb582052e07afd86b8a0322eced5d298866ccc69f79684b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport.java": "061c248e8de616e3ce8412b76930744248b1fd36e59454a05b91185bc27be7df", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowSemanticsValidator.java": "741c343a7f4e1aeb8b862263d6bc67bde403b41e58e3886176c3d7ae063e7381", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowStatementAnalyzer.java": "d3b676ca6538632f0f11d6f5b8513b36bc2ca172a12d2ddbc635cdfd84bc2f20", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowStructuralExpressionAnalyzer.java": "d35633448a3023f837c743d2c96cfc0ccb1df23f2956d0d5934dc1824c686fc6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowTypeOps.java": "de0ca705184b50a02346c7164807e06dbc1a2ef60bd1c648b185552f7f0a8e8e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsGlobalDependencySupport.java": "a681ed7fb0ffff3d23429f565bf3f8accb65a050b2c48d26a6bb5703c7a06c37", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsGlobalSemanticsValidator.java": "3f6705905baac9d112f1d2eab1f83556df9ef0cb8f5947e099059704d5e3a88a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsInlineHintSurfaceFormatter.java": "15fe9d32df22a6bffe6df25a89f98f6e5bc9738d267b1c7b18ffb0a844568736", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsLifecycleSemanticsValidator.java": "9088660f6885b9a9a2aa994c4dcd592197f2a1ab958446cb93768af5dbe954fc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsNamespaceBinder.java": "93c223bc22164e6726bb475546657957563a1e00c5bf09a5faccb8146b030f70", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsQuickFix.java": "762157154d8957ebcb108454319f4229ebfede4bdf18ba5b07095783768e2404", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsQuickFixCollector.java": "6f84b28a06b9e16c3dd370459a835b26fc3ccca1a75af227ac05067e3b2f05fc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsSemanticsErrors.java": "26f56b90f647fe8870ae69efe436599ace45358ae7b00536381ee17014217163", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsTypeSurfaceSemanticsValidator.java": "5d3c65e34e74a41ffe7e8efb4d74e7d2b0545e429e5ea2e143508e10a3cb54a9", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/stdlib/EmptyStdlibEnvironmentResolver.java": "24511dc73f02de93564d817f9b5d4f80ff2edb2de37db174a0509be7504fb6de", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/stdlib/InterfaceModuleLoader.java": "95af2d8931ec105314023800d0ab6affb603f1e205bd292593fffcee1c0a17fd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/stdlib/ResourceStdlibEnvironmentResolver.java": "983b1bac884b188c750a2a5661709d7162d3d8c503d2c8e36646f1fba6b5ba9a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/stdlib/StdlibEnvironment.java": "c3268837e2202e21118d92efcb9f0295585d8a7d0eff6213025e70628480bc7c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/stdlib/StdlibEnvironmentResolver.java": "add5a32a2e971842a2e09ee870ff0dab5ac688a194b41659e7a485b773f9031e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/stdlib/StdlibModuleSource.java": "52e6099ff6f40368eaa232ee14db05fb1309b434e41a5148dc186b519bb2f76c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PBSFrontendPhaseService.java": "5c22469f531143e0f1e3d74496145b79ac3a5016e6661c0aef9a3a16e29a11c9", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsAnimationProjection.java": "b65b02effea05dd9a10b32a9a03c9843a92c1ada9902ad19b14e0de7222cbb14", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsGenericProgramService.java": "6f1a823cd9fbeb8cf5b6d049bf887ee0d743ccdc0a98f5816d5cffda3aedc3ad", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsGlobalReferenceLinker.java": "2f9be9b447385b0e66370ba62c7b66882ed2e0d9ea146ceee949d4331ba432a1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContext.java": "9a1e076aa550b30143d1537d14f4667564f2330849b243e552a0624d7a2027ad", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContextService.java": "2ec875e55922b8393a1eb7f1f328e4e986a0a7395b5d92cfe9a1f37c082087fd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsInlineHintSurface.java": "50b36fc4597d02199c25a194155a91112399da991f8895ccadc5c17e20831474", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssembly.java": "64510e2c69a70105599afd9246ab3a6ab4f76c035f7ba83db7f950c3fe0d1ad2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssemblyService.java": "b7fa4b8e153ca28e3763bb19f21031bc47045d35609770736a0fb9fda823acf2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsParsedSourceFile.java": "1a8aad19140d61fa476f1313ccf3ea871bfbb0fc14cdcbc1f33e56a27daa89be", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsProjectLifecycleSemanticsValidator.java": "049d769c68becb32fb3a51584699642df6b42b5d79e027d3e57f12b82e2aea79", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/animation/main.pbs": "5907731d1a10036d50021fe8263c2e8f9f2b79d0fddfb9a70b2d8449b42aecbc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/animation/mod.barrel": "36e78b0dafd0a4e5f4b63499a5f197870d9abaa5a2c02364339ffde3a87c3862", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/color/main.pbs": "9f53b51de963c3524dc94f4c29d28ec2df8323f68325bef3baee59d86e639f57", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/color/mod.barrel": "d27ddb4c8dd7bc88d5623483246e05110d966af695338b24846a87a171ab5ca9", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/sprite/main.pbs": "61b530fa321c3e69983c8c6e0a48503534a280a9d4b266cd1b62a5fe54d9d382", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/sprite/mod.barrel": "29c4ffff336a54ab874ed8dce996ebd877f7b3145cdf5844836bff9a2f3757f8", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/asset/main.pbs": "f2c6a717e6d93ad8185ed097a9860cd02067673d7a7a264659680098ab296db5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/asset/mod.barrel": "d508aa056a444fa4a03343d2284f955e70afa33899ec87fe45982125181abf21", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs": "ac41b92f699aba21fc885b00e6ae59d313f24e084d5436655b493257430364db", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/mod.barrel": "6567377cbb58c2e2332556fa759667e63923b7e1cfb44fe65e440c6db309d15c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/composer/main.pbs": "c92f3ab13a0cd2cb2e2adba7b236ce1282b89733d3dde0b1e396da950a7b7552", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/composer/mod.barrel": "643deb907dd8cf3ecbfdd061c9cffa10e9b03c8ff3a0b6768925fc347f954e64", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/gfx/main.pbs": "1ad24c64723a4a488847f3c8e08bf7161be6b961d53e5db7243e54a0210b3296", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/gfx/mod.barrel": "88f95f637d4982cca334582329437bc8ddf33135f6e7d64fbaf744ca806964c6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/hash/main.pbs": "5fefadf0c171849db43a84a8e96ee9b65f9085630c54fc2605b478b052202f3e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/hash/mod.barrel": "96c5efc77fa829cd1ada41551455d5ab702af7d93003bff166a917cfe94d5c91", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/input/main.pbs": "d11c86bd0d8eac9b1a154495e88ad47bd5d3bc66697203699a05844a26a6e7a3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/input/mod.barrel": "72b6ad3d2ab5595779e76a4e9382befae7cab6f00f55d189691821b3bae36c04", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/log/main.pbs": "0dc20fc6dbe6cfd50b5817846e6c655480d2db2ac127a262ef1fb77e1ea10816", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/log/mod.barrel": "977bbb548f9e465baf2b61e38af278238ab9e52ff5fd19dbe214aaf5405294c0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/math/main.pbs": "c51fc028504c17a9e14518dc026277d42658a9567dd88d50a0a140f8321381d0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/math/mod.barrel": "b522c3a04b1f53a600196b903f0b7a346bc5aaf762a121c9fb1bb2736239fd6c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mathf/main.pbs": "642af3933021103294b8439b1c950382f76a477aa439f09fdbe465a98a15035c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mathf/mod.barrel": "0f1f5f3961b3a53b0b19839e6d27f8b008022e1fd78e447669877c632ad2c49a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/main.pbs": "6c3f57bae8d41949535ccff50f52a50843237716bd74547b5d5adbe8028116ea", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/mod.barrel": "b86c49a3f6dd7e7d179b4919099904a249212a09838492e2bc6b27617d85ab85", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/main.pbs": "c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/mod.barrel": "7924c022a140b9bc634f3699175c8775f24093d3aa82e650752232971b0380fb", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/ANIMATION.md": "639beb705a61799351f22109b5356520498824f326ab1af1fd711daef4cdf641", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/LIFECYCLE.md": "fc078b7f68be79179bddfeeee744e05bf299c32f0ae1352be628a4b4a82a8669", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/MEMCARD.md": "abff1506115508c077bc9e37fc5d5f9ea5cdb093b3f0a6e2b37f1f20745dde6b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/memcard/prometeu.json": "efa72d4d74865cfb5e29caf999a19c05c8936b253dd6a0eb38f12ba798d7add4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/memcard/src/main.pbs": "e3c770368399aaeac2ad4e4583958c7294790432106cec3c3c09d369e73ffed0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/memcard/src/mod.barrel": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/prometeu.json": "d858da746b04800892c180f45d9f6b51eedc325c801f2b767820b66cacb56669", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/animation.pbs": "2567aca3b9e0a733871c2f736c7f0a4ce43415cf5b43dddfaf93963cd6db19c6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/arrays.pbs": "db19768350c471d4585121f74042458c8f4050a68c2a3302c2e2fa9a37d21f89", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/closures.pbs": "570cd71c7bb4de98b512c2671d410c057a188f8861f3e5e77dfdb8a26d7d64bd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/collections.pbs": "1dc2910220e0b7ee7f5e51105986d088eaa8035fb4e793ba457aa4c6449eb836", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/contracts.pbs": "7a854cca79f8d8160e2a5cfc1108f562701f11b45d5981b539d2c27189f8a524", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/generics.pbs": "a791cabb967558f53fb745533d040789179cd15a2c8c389e9ad1ecea79cf8ad5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/hashing.pbs": "51a535c87ea1f6cfe63921c16116325e98ff5b792c52d29c554708f6f747fbbe", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/lifecycle.pbs": "eea76258ef59e43be782bba2813e9398952fe97a224e2011f5b8ffbf16bfccae", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/linked.pbs": "061d9f67c7b01bec16d6b60eee68ec023bdd6478cc1bbbeda0c83c914f040550", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/main.pbs": "08bd09f2f36465ee4e7ae93c7382ce4307dcbe8fbad80a746a7eea858c358822", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/maps.pbs": "25d85ee0698f6e5e0ffae561ebf639a5942b4c990418fcbd5d9a4992c37109ea", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/math.pbs": "a3fde92e079565ae2b67b755b6eb0d4dfeccbc5f578c61e36d144de825bce83a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/mod.barrel": "75c5e944a7ca74896cbe526ad5ec40ab64ed8779e2abc22e5c325232c16bbdd5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/random.pbs": "0b18a24ba471d5b533347d47145ae6d995c83e14b701696c8654d383a15b9e1a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/sets.pbs": "af301f0399bbf960efb011bc9a64bc203198b5dd808cfce4e726d28460f081a5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/stack-queue.pbs": "053b62206cb45a5c5736ef43b58c869031bd0524a06b29be1353bba25826abe2", + "prometeu-compiler/prometeu-build-pipeline/build.gradle.kts": "be65d777f43e82312d565816442bbb565dd00c6005c606a11ced58dbe6dc6f97", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeEmitter.java": "f4d53a1520741f9945bf00e9e4ac52d4a867a027e2469254a85825fb6ab78f64", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeFunctionLayoutBuilder.java": "58dc4298f62a45348d33637db8dc3a61caa16ec1949cf6f6b16cab5ad3360411", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeLinkPrecheckService.java": "181221027fd404cc3c4b176f4ef35dce47c35040aaf12ec446c753acb5cf7baa", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingErrorCode.java": "f3f9c62f1a5dbb22d31027025a0fa6c1fc4d70ae70dd31a6b6c4f14ff61f9dd3", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.java": "dca268822d9b814d8d493b210b358035c1f08a71f0321bbba2fcad4f7661c841", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeModule.java": "30386eb768a6394258b3bdff297e074440122a3404cfaafbc3b3d961047e1b8d", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeOpcodeLayout.java": "6924220bb90f36d8e14a7e58a9b645863661fa5244ec2984f380dcdcc135a458", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java": "4e0f0e9a3cf1bc2d5194deed1d7612a45be568c8f7044dcbdc39c0efd1e619a5", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/PbxRegistryWriter.java": "b9bd7c8583035d21a75d9ac9493ea8d32f2576712e3d36ffd4652164ed7c6299", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMBuiltinConstantDefinition.java": "93294f5738a744c981f505d00092db046751715500eb55a07f0ba80f5a73e6fe", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMFunction.java": "b12f5102fcdc8052eb6e71f1ef7058618e887330fea890466c51bc13bdb8bb94", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMInstruction.java": "c925849d14d39943154d061bcdc15639d73963a7fc8b9adee74038f1cf677e26", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMIntrinsicDefinition.java": "4a03263237b9c305d6104187d6841d0db17ec5640347f7fb03ff019e622dd176", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMIntrinsicProfile.java": "a35a01a35a0aac341bf3c79555192d3c167609f80e607dd0ad72872722434a07", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMIntrinsicRegistry.java": "60b872cf6a12bdf2708ed1210f52ebff5cf265f69c853163280b54de164b2caf", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMLoweringErrorCode.java": "3d5cf95ca61e1a5b8a10f2d09ae9e6c375fd60724b3fd8a2c6ff35dff26161f2", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMLoweringException.java": "0e9583fabd76ee402a063bf23bfee218bf7c66a440072cf82a8d3ecc670b10ef", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMModule.java": "08b36698accd65c88d7d30cdaaf3c40da68dd37305a339bbdc22de274915d92f", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMOp.java": "e7fc4c73d8e044d65b2d7c74a909ff550aaae098031d8cc8cb616e12b3d42dd8", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMProfileFeatureGate.java": "67b6a4c080aa15a90545ebe4bf1c72992905b9dac57e3df1e555e43cfe9afc27", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMProgram.java": "83f08c234860d92f8dc23a6cfa55b8594218dbc6861365376c11e4d29700d3eb", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationErrorCode.java": "a2892b114c3ad3073e44b6cfb6cff0f136e29a848ecdb9f7034ba8d818b1ad45", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationException.java": "68a63169d4e27e7a310ead1ad69cbb8e9337f691f493ef3d8bc4c9ad755eb051", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java": "19e78fa955599319b4604552444ff833e7a1e161080773b003c3057d8b460f7c", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/LowerToIRVMService.java": "490f96aedc587af4f2253a8592fa90ecc2b6496f281d91548274a99cc7435090", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/OptimizeIRVMService.java": "031999718a94a0c001990c48f1ead63c4170f3762ed3cb721cad29b334c1008b", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/registry/LinkedRegistry.java": "2689c109f31ffdcb761932e059c5b87f007ff36a47db280c43c3cfcdb4eda627", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/registry/RegistryInstructionLowerer.java": "ad66da924ae8a41358f3ccfe31fab2e69e961892bc24dab2dbeb8aa148cfb20e", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/lifecycle/LifecycleAssemblerService.java": "19ec73e38da092a5851b7d312ef90f02b89b40dccbbe4a5f9b9ba24e4b91058e", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/messages/BuilderPipelineConfig.java": "947c76681b2d869645eea0719c5f7b7aacedf58d4bfd1cd0ebc245a3b11ce8c5", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/models/AnalysisSnapshot.java": "29a3961d1a50f3d5379f90b68941f3074ed061a33a99d51dba35672f212f877c", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/models/BuildResult.java": "796e42349235368968a498c798634c2be2afcb8a443e88956b643fd4b9190820", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/models/BuilderPipelineContext.java": "f4ec6a28525d2493d6d160409437016bf8973cc2cc01a6fe072a364fe50c29c3", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/models/CompileResult.java": "5e7fd0992c11f4533e662fdc3d95ee2b658c414a7aaa97298795472783391b77", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/AssetSurfaceContextLoader.java": "8d6e05a68ebb707442356b9b2975d80a412b6993fe62789c6cbbbc9243e732a3", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java": "a2d68432fb286cec0c37ab8fab8649a1b20104ae62caa43a4105a83286984716", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/PipelineStage.java": "8c58f967be36781f62c731ae675eb92e357f87bec6196df2cd2fc33cc11d1e8f", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/AssembleLifecyclePipelineStage.java": "8b18bc48c185681559da8d530a17ff3affbb022c29b3e5242765bc39683284e9", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.java": "d633cdea6da55fd42a5712fddd5a7440bb6e20c0f3171a598ecedc191ba72364", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java": "fc97a8d23109adb03e9cd72acd07001651bdd1c5204bdb64069d46911a2d0e12", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LinkBytecodePipelineStage.java": "0e2bc1cd8acbc48037705601e841d8599d44926c418adffa4f58e44b3bf1aeff", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LoadSourcesPipelineStage.java": "a94b976b3ac2f10a288175c29dbed60c241639838400a55b8c8e3763f062a487", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.java": "bd5b6ef34f6082b8e04e52334fe8bedaf7d1e4b9a2acf43e76eb46acd2f1f75b", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.java": "b46c31aabb3991b300d3e2e080568c664300e385c15b95de6e46e4699b98bc1d", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/ResolveDepsPipelineStage.java": "f452a4042f5e3aefcdc230fc5f3bf73fd91d1924bf9810a771e74aca4c068118", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/SourceCrawler.java": "a2412ee8f96e2a1607108782edcef2b0f90b083c9d7186eadf2084a6372c459a", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.java": "ef0eb0ec2273da3d1a2a923906103c00dd736866683a3f0b868bae8e82282dba", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.java": "504d9a3da17ccdab33ab705d229452ba75684170f499f378d38c79d7217bb7c4", + "prometeu-compiler/prometeu-compiler-core/build.gradle.kts": "222c4d99fa69e7e3d5314ac4b11be548db3638be8cd4c2a057f3663fd0b82365", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java": "aabde8f865fec51ad6abe5c64da26bd2c547b95535c7317cb490065199f71406", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssue.java": "11a9fc8d25463b339a83f5f50d4c2fe4e3cf4cb992f00fad00fbd7daf97c433b", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssueSink.java": "3b3c72d206fb4f3e258fb12076fae7943ad086bf9ddb470309f7c2dfb1a35b58", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/BuildStack.java": "b9463c78892355b8b1e40f87b269373a7750ab8e2e60738577a59adc7c3b92e6", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/FrontendEditorPaletteSpec.java": "1ae954e3577486627969f0a76052698762f5708b359fd4e28d68064e90797572", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/FrontendHostProjectionEntrySpec.java": "1823f4884bd3ba9b8bc113343353fded312f5f48e50b389b17537f78a0344890", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/FrontendHostProjectionSpec.java": "eeccae28bf63d71d0966a4e186dd0c7e4148aae0ff44bf99193d6f39e46874d3", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/FrontendSemanticPresentationSpec.java": "88f3984a0d2a162c91f76a6105fc90bb32d00c54b58bdc60a51d0af122c83ba6", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/FrontendSemanticToken.java": "dbc1319909ab54cb7a6a5980d44b43cbb868164e7712b50b2fcb6baca0c80660", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/FrontendSemanticTokenProvider.java": "dee283ec0d43322654a1f3a570836cc642f15ea93bd26e30bc7b4bba456a69e5", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/FrontendSpec.java": "f3b1dc1cf0e9c153407faf53b0390cda9bc180ea4e95ff3d9d1f9de3e4a38ed2", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/FrontendTokenStyleSpec.java": "d2506c6ffaeb6205dce782f0e312f6b4ffa21262a8dd69ad96d44c85fbe9c403", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/FrontendVisualThemeSpec.java": "52e34a5eeb9628a201dec2657a9979f815f2b657fb6a1c61bc42274697e0d4c7", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/ProjectDescriptor.java": "84b2817caf625c0f364679fafbec8c5d8b4701ed1986bf7c897fcbcdb17b7105", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/SourceHandle.java": "9738a93e4856a0a701ed0eab9dc4b03bf735f16aa7f1fad4738c146850c72e99", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/SourceKind.java": "0029af38c20c0b840e4aa89e212c4251955d21a06517019bbbe089080e7d0058", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/Span.java": "1491578699bb28fb544c50881642ae2b86564b0c83454bd2dd1b6c562339a269", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/CompilerDiagnosticProjection.java": "8f799ba65004882a7fef1e7ffc7e05ac310fa8ea94e72869db64218277f34e6a", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostic.java": "4abbbef2a8ac9932ffdeb7a34536c2868cdaaa3714acf9364ae7d12270bf9a91", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java": "300d16c6ce06ca2f7b11e8c88d56340e6128132568b61088d56b054cc45e1a9a", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticDescriptions.java": "c9202c82e3d696b318ac7190183aaa6f7c32903851179bea0fbf134f0d4344c3", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticPhase.java": "6b3bfb24c0f6880e6ced7a153eb1631df80f7c3ddf326bdeea86520257f42e11", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticSink.java": "1e3b34302e50941e604d733f2bbbd9a136665ea45859a8c9dcba1ffc82db01b4", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostics.java": "f2c8d35b0427c37266d1b4bbaf918db1853c442b1326b9160fc749d12fa2eebd", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/FailureKind.java": "ebe2a126b799400ab4cfc1e7eb9da21c39a32fa0f071fab65383af144a856861", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/RelatedSpan.java": "7b4a99d52f6d8e15c0f1d86d1760c8672b671feab619ac30029a2dc1882ebb92", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Severity.java": "3b04e3af0b2673ea26078242a937d1c5d02c2b4d4d40eaaf9e480049371baa33", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java": "7a98719249e33b40e3f34c574462c2a551fb88f016983d7d63b38117058ae63a", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceReference.java": "d4375230ee3e3e700ed7900b2e6adbe6253d4dcff43c04eef71754680876eeda", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/VerificationContext.java": "201ae63f91ebc9dc6a589ed5cbb464147d5983ea8dbcec3b8abb0a65b0a3ed44", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/CallableId.java": "a9a9ca3141a88dd9e0d35c0dfafc23f081578b9d66f6b3507c2cc7b009cc2df6", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/CallableShapeId.java": "65c802383c9df0a5945aa056c364adeb1d5d4c4c99dc3d948029ef6b3493c17f", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/FileId.java": "eb547b4d09890d1663655ce66571cf95e25493e150522c89ed2991078a92d645", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/HostBindingId.java": "e9e74cdb5f3f822c9c0a719cc165315374763026a8c9e460b33f5af9b141bb7a", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/IntrinsicId.java": "adae807cc197c3cc8372aa9d822c1d280a40a1c4e06ef881d55047759c80853f", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/ModuleId.java": "602167e02bc66d2f6f5af8fa01d51749b2fd5625d45b34ff3f351b162a603a56", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/NameId.java": "fde2ee9a6fed2bc5d5f2c9e8f932eb59f81c2b6af286e5e8278e086d3eb7007a", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/ProjectId.java": "ce1839e196934967e1362630f8915bf504bc18f5f9bef5379fce3dcfae94b547", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/SourceIdentifier.java": "1155324e171afd711904dc40157711e16d31d5d2ecf5d83a15a5bc4c9934248c", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/identifiers/TypeSurfaceId.java": "79c8a1216462b2804e6ef0c038491b564e583124ed9a960525158d596a83da72", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/CallableShapeRef.java": "e5ea91c2dd4ee2dbc41f1ad1214d1809a3f30d0c85be95d49c2b4cfb15bc6a50", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/CallableShapeTable.java": "8e74aa59e0c2c0c3e1b5c38e5af776a7a168397cf54d35d183569362c074984c", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/CallableSignatureRef.java": "f43f09cb30213c5da222a52a051765c9119fcc95d01bb0420ae3ed092aa706a4", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/CallableTable.java": "6f7e27795dc58a8c9d5a098a56d36db670cb10dc3b6da0b93b193697fc8cf124", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/CallableTableReader.java": "961bc4a4d3aac70d21746f610ca4b725bd0e813fb188c7018a4252edf488adc7", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/DenseTable.java": "1d453a625d68d58ff2804d3c45463153aa2e8eb4fa6d24fe142e64ca762ac2de", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/DenseTableReader.java": "fde94281e7e61cd7c3af32c4d78c30d1eeaac573747f4c390d761a24b5d220d5", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/DenseTableWriter.java": "4bbf8b2cef155c17aca7008b08b2c473aaf8f634e7071684799e2585d1be32d5", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/FileTable.java": "3ad07447b59886bd0f6d52f70ad7f356ac1f401030fc3b7647af36ec5b236d11", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/FileTableReader.java": "547604cf59eccc45c1ad677dc7ad1d8bd09cf5ba55b47194dfaf10c71ae0510a", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/HostBindingRef.java": "b8b0354a2a2c592982d03cc5a346cbe8d52304d27fa68eb84630478b61f72e75", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/HostBindingTable.java": "d859d2e25a553aa247484abaceeaea6c4898f1bf63be27be2a4cff5cdc561904", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/InternTable.java": "7569750361dcb67ddbb605d306a81a31b8a54b278947801eb536a9e0dd325786", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/InternTableReader.java": "a332166083713886e5bc3c34f745dbade66e26992c3c54465090d9c6f72d1482", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/IntrinsicReference.java": "28c3e40c03991aa96f14c132b882349f9d078ee19070d5771da88f74b8d14e72", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/IntrinsicTable.java": "0bc3620650ad3cfb3ebcfd0bf68e21cdfbb8acc7b2a405292c144479739a6002", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/IntrinsicTableReader.java": "257539b7ca4b977d8d821cd2b819dc74c6596b6b78d4d863a19173c58a545671", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/ModuleReference.java": "2be72b81ef94e2088db8391a365c98f50f7008e773538cef2f059ddba6eb4194", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/ModuleTable.java": "417426fbf6d54d4af5a32e314438260e6f3db4d2952b8bd01de02cc96a4cfc0f", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/NameTable.java": "cb34e10af809f14d4f6f668643cb6e100738277b46c556c71931ec629a4ef091", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/NameTableReader.java": "ca19519394ce12124755da6f612cb3fb1964ce4496705e4d9f9f792ec5ead4fb", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/ProjectTable.java": "2b3f19ac3fffb0fbd2405f0105e5f3cfc6d0ab5316127cb0da676c24a771af53", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/ProjectTableReader.java": "b473255b846c228008a5edb12286af2d8dd376688d48670cee85899bee9b78b0", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/TypeSurfaceRef.java": "cac5db20d6ce55ec17a370812cc6184ef5f3e5282466b1f17f53f9b16a2e06a9", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/tables/TypeSurfaceTable.java": "b712b8eb460c971cab31eb416723e5f7f42b0ada19ef720d2675c15d95a56d1b", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/utilities/SourceProvider.java": "42154ca9bc85768eccb723f1edd7a13be20df61c2d43cff88e805cf423ea0931", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/utilities/SourceProviderFactory.java": "20b9ee2d3f7dd8955b43a94c5ca3e8e14de4dc4ecc6c3e00d6b9ff5ef5f5f449", + "prometeu-compiler/prometeu-deps/build.gradle.kts": "363bcb0cc5601e10615f9d4ac98d6aadd987b5e89dd4e906b64e207e8fdf9233", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/dtos/PrometeuManifestDTO.java": "003edde284c72cd89cee2274f880d1a7aa0f1f1ec5426c669f43e8562907349b", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/messages/DependencyConfig.java": "da2d2139834ae2f2c1ca91a64c15d7cf8e8f3bb6c1dfd3e673cea619c1e7b0a8", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/models/DependencyContext.java": "06ec9a74fb5639f2943fc8a60c487c45d3d149dafe81c177a91d5596b0a549e7", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/models/ProjectInfo.java": "8f46a2de8a77040cdcf84ffa283e2950edb420c92b9913331e77592a77a7faaf", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/models/ProjectInfoId.java": "b5a4bd3fb930d4f8728b032748570b28f763fbbd9d95eb02c9d8260192c72bd7", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/models/ProjectInfoTable.java": "7e4c71dcbc2ebe0209573800eacf438322f75f2f2034fa80ff81908613cc546a", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/models/PrometeuManifest.java": "bf87f252b52e7d0baf8254ed7f0c57749a8a8cec7ccfb167f02e4ec2a2841956", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/models/ResolvedWorkspace.java": "1a18de4835042f4d8c4891a91044ebd6dd5e89187f117448e3c1a5f80cf42afe", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/models/WorkspaceGraph.java": "07bd1bb4cf922597cb1f19bbb04790a2eb0c118dcc208c5d06829028087160e4", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/utilities/PrometeuManifestUtils.java": "78262b934a9f9b0b6b5a91313ee70700f04d9788dacb8d68c89c56200491328e", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/workspaces/DependencyPhase.java": "d7ea4a26791a2524c5860f23855c4e80fea75136712c0c3532ce06f2b58b6a45", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/workspaces/DependencyReference.java": "80d48f6425560aaa4ff72889b2efc8769991596626debcee8d4ae4e618ef3041", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/workspaces/DependencyService.java": "afa6f6c465cfba4d8ccae4b4edbce3318ff44d2e3baa70fac8f488d1ab4dccdd", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/workspaces/phases/DependencyResolver.java": "a1dd48c508ef951eb32677a88cdb2583bd5672a2a149bac7c8dc118fcf796f46", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/workspaces/phases/DiscoverPhase.java": "e7ec9df177ffade6c2b04d7d8dbc31af034d115ec60ec1bd1bd6869c843df03f", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/workspaces/phases/SeedPhase.java": "72f4435289213d79447d980b9c144a51bd1d51161082868d6e9e5540bdf612f4", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/workspaces/phases/StackPhase.java": "966aad5ab52da260c56d99e0d33057a73587432518a9c56d17ce85ebb6b01d47", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/workspaces/phases/ValidatePhase.java": "f1b0cf646b13397913898a165fde0e205d1b2d1f60dfacf335dda506aab7f8cb", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/workspaces/phases/WireProjectsPhase.java": "9d7004b03426788b7910694b783f1ed4d21c32a073c6632db5468b71d0d6f199", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/registry/models/ProjectRef.java": "1a26914dcb0b00de660616295811d0518095dc60c05d53006bda9134f636944a", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/registry/models/Registry.java": "8698756fa070751cc98e882dc53121b7f945753858607d779c6cd7f5b4349f33", + "prometeu-compiler/prometeu-deps/src/main/java/p/studio/registry/utilities/RegistryStore.java": "ace8a488ddab2c575404f2e80545c1f375c94fb0a90c5cba684eab4852f6642a", + "prometeu-compiler/prometeu-frontend-api/build.gradle.kts": "9a76574ee95514c0bd69d1468f55216984dd57210efc2677798dfbb899f53b81", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/messages/Addressable.java": "eee384f89a277ea6ab3dc33b401caf2f2f473e7b51fee79012f2381f79230060", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/messages/FESurfaceContext.java": "bf4e92a43215d760967e476bf899d0cf9f42ab26ba74c0a4bcb40f22248c8788", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/messages/FrontendPhaseContext.java": "0403853629e7f0a96044d2838dd7201713dcb9611e98ae337f2b1a9b0bb10a2b", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/messages/HostAdmissionContext.java": "f86bf4c60cc61b37d5c120157a30a76529e3bc45d655a62d982e68a7447e1370", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackend.java": "6dd64469aace24cea81f2b6767d3d2c6fd7ddbf85dcf8376294a8c26ec67d244", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackendExecutableFunction.java": "07441d57e53f8de5cb2df803f73675c761a56240c28ec93fbdd59896e6109b22", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackendFile.java": "eb85bd109faf3cc7d21f6998f8c32beb982c8a33c93d80cd8af7fa40af372cad", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackendReader.java": "2776a3a75fb247c4827bb211bb52ccfd6144099fa9de163f0eee2312d56d5616", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRFunction.java": "acb43c410df6b15d75638289fa0966477d4019996d039dd4dcfed34e4333aebc", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRGlobal.java": "7696dfc37dcf34abc97e464cfba9e6446323577234821e1e797e65886af58cb9", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRGlobalOrigin.java": "02a0ab56c3a86e50aa1b11d9c9179b207160b51c64b00ae571f90391c6b2b0ae", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRGlobalVisibility.java": "a2647c08b2b36fd84e644e0e72a4f38348d6806fe28d6321f46f2e46414cf37f", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRHiddenGlobalKind.java": "8cbd1bb4138a66ac740fbf360929d2438111ed4c4711327455b92a709b741491", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleCallableReference.java": "26432ae2223a749582b525b2f0712919c252c32437210d9963465cce370df563", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleCallableRole.java": "6c7a2f54c4718f3c5cbbc802b823ac27519d5afbf04c4afcd1398e773184791c", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleDeclaration.java": "29fd17fabda2c80c2dc5c2c19d63cacc88f57cb15e79ba5eaf4e0fa2c9a550e6", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleFileDeclaration.java": "3b22c6368a39e5b26e98514a1de7cf74683162f8654a892638996a4b7498ab92", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleModuleDeclaration.java": "b73f07f25ab47594318625fe3ed2b714c473b3197ebac46e7d52ed9e3b3daf2f", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRReservedMetadata.java": "7c39ceea0a0ac8ac10cbb382f61c5ee274c0fe2b9f53d90fe8225f8c1f3c9d4c", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRSyntheticCallableKind.java": "7c757c4aad7850f4ee83e8b32817dfaf670d12381fd68974762dd5a6d32b9d2c", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRSyntheticFunction.java": "1b9e888ce1ce356239b2d9c3be9683627938f6df38aa8a81d73f1537dac309e5", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRSyntheticOrigin.java": "030d8c35cd35dc2f7fefa3e9a655d662310005dd754246e05b1c3c3bc30402bf", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/registry/IRRegistry.java": "65e708356efe9f21e569da732627ac29d0156c90342e6386d75cd5c3df8a144e", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/registry/IRRegistryInstruction.java": "5b65afa2b540d9322e66e51618e3b30ef48773c21b3b22c449f96151fabff4a4", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendCallHierarchyItem.java": "70976960596e2a157f01105552d0066a0fe755de2a10de6ad580231abaefc097", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendCallSite.java": "f4cb66cc8cd0486ac468040453bce1c4bee4c87b68ee2b35099ffaca453ff671", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendCodeAction.java": "8e6edfcc4ac7a830a88c6710201a4bd147654b110a3e9024412e77cfc4608d84", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendCompletionCandidate.java": "a8102b11375ea166748bd90f61b4dfb5d6c680186fa076ddf452c6bef7eefef4", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendDefinitionLocation.java": "7856a477d79e2a9d7e3676647474d34df6d3fc8880e4dbbaa10ce25a80b149c5", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendDocumentLink.java": "98d66b102add4a9ccf7b6d9d0a27ddbb3d65dc8dbb4cdae46beec4bc9ae0997f", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendDocumentRequest.java": "ad9d421be38223f59cf60300ba6cc8e3385f1ce118377e74c1741740ac026068", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendDocumentSymbol.java": "84572722b2dd8daa2b180bba637ea808f110592c40c935077faca52d9e141755", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendDocumentation.java": "43932fea3e585ff782e4ad4c0ae9bf8cd0c67b9b919f2a29ac1fe0d032666ae3", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendDocumentationFormat.java": "f10ea6dee605723571de0b59bab63ec15a4a00c1cc18989285d595c4aa88b17e", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendEditorialContext.java": "7e771ba1d5f224d9c843d554bc6413496ca225e1aa62649cf2ca35eaf29f5fa3", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendFoldingRange.java": "95ef6d59a8c258d563e2fe9612019bbd62815d97de5a0db389839dfc13214f30", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendHover.java": "3b8ae5f62896f319996d66781f3cd06f9a82ecb8dad6a7d492f813e24797f6d7", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendLanguageService.java": "a2110dacc027329d7bb3a1aaab91350dce42dc134f325c9524aa512df14d3b10", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendPhaseService.java": "4fb7caeb9626a71c4bfa4731dbbd3ebad1e6d6c574c4ce4244f26c127c6934e5", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendProvider.java": "37199d5e1b8a8e9f619bc9477444c9e066359b5f680eebdcef9da9f22196b9f3", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendReferenceProvider.java": "b4ca2fac1c5b9008f6766bac7911c20e773391fa8498a2afcb1becdf8582d974", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendRenameEdit.java": "43d03e91375425b8aca9d963ea347eb279afd315b63f9b2f3cce0baaa419eda6", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendRenameResult.java": "5594ca076b60ac9c8266e1742b3554da3e0aca8dc7b8332053ee0a7155a5a4b8", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendSelectionRange.java": "317c3e931005c4641e6ade9bedd813676e108f1caf6742acb6cd115e24ebadfd", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendSignature.java": "a9a857ab5e20a2c76c6a5639b209e6f94147f980af76a46519e4c3a55aa8b38c", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendSignatureHelp.java": "af97f07a243bf65353b1b7dd479b374c8d10ae1dde0a3746c117542af4f6def3", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendSourceDocument.java": "bc7d38ec152c1ff250d45d3eeab1b00fe9a9c83fc384599e0f9c0a161c654863", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendSymbolKind.java": "ad6c87896a5b05af34ccd0aded7cb9063e7bac289f2c1faf049183379a4f4442", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendWorkspaceRequest.java": "9b95396231a403cb7b422d0778805725bc3436a26d634a623e055cd4c79d8e0e", + "prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendWorkspaceSymbol.java": "5d2c33fa6914737896701349564a8344f1e0bc0d7b4f699cac96cae9acdb3406", + "prometeu-compiler/prometeu-frontend-registry/build.gradle.kts": "41309fd7b1002f64870f0fd9b913d7596bb95f0f9c3026591e790d0e9497c6af", + "prometeu-compiler/prometeu-frontend-registry/src/main/java/p/studio/compiler/FrontendRegistryService.java": "a3865e71e92f53a88ccdf33cf8a4ee106c0a7630ee7fdcec8156de93d4a959bc", + "prometeu-infra/build.gradle.kts": "53adbe386a66b2b1f46b6b049a01dae2b6bdac838807b67c48f3f4a7294c5b60", + "prometeu-infra/src/main/java/p/studio/AppMode.java": "d5fc40af3ce40c47b5c40b05808f14ec96bc836dcef63e92ae7cdb9359c2a317", + "prometeu-infra/src/main/java/p/studio/utilities/PConstants.java": "194c13bada194a7a9f76c2548d160a85d7d1a3af4bf23b2bad24904e7bbd224a", + "prometeu-infra/src/main/java/p/studio/utilities/events/EventBusPublisher.java": "f8ddadaadaec8a30f4054a432139abf77738e4cc529536a9013344de1ef8fe9d", + "prometeu-infra/src/main/java/p/studio/utilities/events/EventSubscription.java": "95671ed73fefb39854ebc40471012a52136290bb8b72c82180ecbc4f1d04ae7d", + "prometeu-infra/src/main/java/p/studio/utilities/events/SimpleEvent.java": "edd7172199ccf011099bfcfb7990819c6735a6f7845a4e87657b14bf255db916", + "prometeu-infra/src/main/java/p/studio/utilities/events/TypedEventBus.java": "c86736d4ed3f3c68d6cec4b54938f23d982884bbfc68713febce17cd2c9dce16", + "prometeu-infra/src/main/java/p/studio/utilities/json/DiagnosticPayloads.java": "6094ee187624d975b18d10763eec13fd333635f2fd72c74035303ff6e8a3f2c8", + "prometeu-infra/src/main/java/p/studio/utilities/json/ImmutableJson.java": "93cea5213c6042319d95dfcf1e82f9f488fecd3062d065b4c0461c1ad2ff6aac", + "prometeu-infra/src/main/java/p/studio/utilities/logs/LogAggregator.java": "b732c7609a2ac92be69543f66dc4a626232578b217dd4d7f7b51965520668a60", + "prometeu-infra/src/main/java/p/studio/utilities/logs/LogAggregatorImpl.java": "d3f807aeb4db1f0efdec337fb04b9b9215b4873aab3aa9a67e793d6fcabf8d97", + "prometeu-infra/src/main/java/p/studio/utilities/structures/DependencyGraphAnaliser.java": "a32252533271359a815f3085c8195942cd40fed09d27e3e39987040846384a1f", + "prometeu-infra/src/main/java/p/studio/utilities/structures/MutableList.java": "91bdd086ed78f05631c2194daf762a00f5829be9d17ec376a7ec7ad3ca68c18b", + "prometeu-infra/src/main/java/p/studio/utilities/structures/ReadOnlyCollection.java": "e616c45048470ec35ab307c362b1a0b8c652c27e237e1fc3d4d3200ec2bca263", + "prometeu-infra/src/main/java/p/studio/utilities/structures/ReadOnlyList.java": "4a18d6b91a470f48ebd074ada0db8ff2047397044852035dd07d1aeb8e29a716", + "prometeu-infra/src/main/java/p/studio/utilities/structures/ReadOnlySet.java": "79292414768af67a633159209423dce760b42f0ffb30d3092aecd8c3b6109f36", + "prometeu-lsp/prometeu-lsp-api/build.gradle.kts": "210f46f5ab0a3f9042f3f4b47a8a3b3faa151a121e6e9b02e0ab0abd5610a491", + "prometeu-lsp/prometeu-lsp-api/src/main/java/p/studio/lsp/api/LspServerLifecycle.java": "0d0e37ad4190a52a551da33595c22aec6560d87c835988c39468d11b33bb69c2", + "prometeu-lsp/prometeu-lsp-api/src/main/java/p/studio/lsp/messages/LspProjectContext.java": "dc03db336ef6c209e9cf98db52cf59c645801a7813ad6e58a850ce3152803b78", + "prometeu-lsp/prometeu-lsp-api/src/main/java/p/studio/lsp/messages/LspServerConfiguration.java": "bfdef78070beb96acd96b27ae32569657487ecd82145aad5f7b470415d2e1fde", + "prometeu-lsp/prometeu-lsp-api/src/main/java/p/studio/lsp/messages/LspServerEndpoint.java": "0bada521d6dba521b7d9ecaed07631389a4283597858bbe97fd05f7e8744741b", + "prometeu-lsp/prometeu-lsp-v1/build.gradle.kts": "ec16028b8e5d7e7540bcd2f622c43f930d58e5d6169aac68e07a560919ed664c", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineCallHierarchyItem.java": "e2a6a6c9618fa1eb927f68fb9179c8cd3fe16f12323be9d9fdbd4233216edb1c", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineCallSite.java": "9d4de02db68d2f4212d43c99d5f1881e6c23782256e6ae015f65d42dcbad11cb", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineCodeAction.java": "4d5286fe4877c5c2f3ca187cde946ce83245c620ccf2d5097708c7b690d71ad9", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineCodeActionDiagnostic.java": "1c26bcc55ee1b3d859f9b4d0823be248a98d7a621c8e684caa3e6bddd6fa71d9", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineCodeActions.java": "349483a24be3a21926504479e7d1be649c43caecf76628d58c77590446de233a", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineCompletion.java": "e3053cfc80b020ee75e1bba76bc1768970597750cefc532b439455c817135e04", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineCompletionItem.java": "807632c669c08f9e94093bc1ab68599911bf73fa8b25136f545be481c89a12e1", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineCompletionItemKind.java": "844bc73c9b377eaaa4953ac90f89863b9e14c257ffef10755524c64665d97903", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDefinition.java": "94d68f35bd7b4e5d2500198f4aa5f164b0ffd48718c14fadd4e52547752b8942", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDefinitionLocation.java": "452c0f33a67ad3406557ebac0b57ce85a95d2e0642a3d6bbf39de8cc7f34746d", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentAnalysis.java": "4aeb43deb55e8c4244957a26a8cb13b78eb0173f74814632aa6fc811c0c08f2c", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentIssue.java": "04cc8205f1d2da9c4262ac4f105febf27a4a096011124e62a8bfd1cec6098f43", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentLink.java": "6d94892131d655a1b366437a19fef560e5a0d4bcbca799c8958a5017171e7287", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentLinks.java": "d033b2700266b911f35faa262f67fa4916354550889776d6d335101a3556b468", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentSymbol.java": "56cdcb212a8d31c62b8b25b0c1a12912d0d15189dc3509b736766bb8e723305a", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentSymbolKind.java": "700b1f3c225f88da079f9e07a596b8374dc5b32b7b38e708651701029c844f1a", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentSymbols.java": "8e3f1f24e8026e0602ee3c5de1eeb157532289ae081264a72bd7457d109b80d3", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineEditorPalette.java": "f97c84aae956754164498dc6c46a141da940eeb87cc1ed4ebaa43f85febd9035", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineFoldingRange.java": "63a63cb00e4ee1743ec84ba74ea9481179942657f1c799af9a106fb108c102f4", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineFoldingRanges.java": "845bf88e1e7a97bf8f2e577b256e88e1dad4c2f523c57090b9a7e105bcdcbc84", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineFormatting.java": "99ae4c30f267e2d9557ea9ec90022811ae22bfdc3e02107cb1d531824d99402f", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineHover.java": "7e8df2caa739b8525a8ab32b4bc3e2c7f1691ab06838e0cf1679a71c9e51021f", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineIssueSeverity.java": "772c78d27c1620a2bc47b23ba3f0e2668b8116143b58eb89b473de47a36e1f35", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselinePrepareRename.java": "b600794387f49093cf8f3e54ae674a67dc362da1d5deb67712adf612e274d474", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineReferences.java": "b2b4d1bf075a3bfc54ac78df020ef9edd131816d7b732647b7b90ddd98aa39bc", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineRename.java": "6e7297beb66d1cd6ba155e3173d38e70c48bbfb1198d44b99ce49271161a2f91", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineRenameEdit.java": "a1b11fe5b2e3800d5a4ac27c2a9171c5b9f49a8ebc3d764179244a9a79e82920", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineSelectionRange.java": "da393cb82f2b5c779f6ff2bb9f3ce1dbc2ee7dfb549f135c8e97ac21dcb577d7", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineSelectionRanges.java": "d920373618a64e4da59f847628cd88cfc1a1f2ffb6b8156e7bd00e911db58f0c", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineSemanticHostProjection.java": "fbb8d89d2cbbc8117ead3f62c08cf8cab7da2c67c924c3d94dacb38c136e3ac3", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineSemanticHostProjectionEntry.java": "627df4e7b5699642764f8522555dcea534a6284e6622024a10a46205bc780db6", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineSemanticToken.java": "e7aac4c6de04e59ffe85b2510931c7ed359869d3107d2f48f018d8566da05190", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineSemanticTokens.java": "c503fc4c17f2ee16222354b4d14b5e10a86eff73dcdc4ea4295e2eacd3924c1a", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineServerDescription.java": "8c99205a599084b9ebd8d8c4016700f57e7134fe9e866f4c81e0787b806e5d65", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineSignature.java": "585e183d09cf7c02a82f468973ea9cc5aa31a998a018ad95918b078529496caa", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineSignatureHelp.java": "57b46ca5a1034fcc39ca861c98a639d097a7673df69c8dafb90b05b87296531d", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineTextEdit.java": "19221b3b55e47240559a7cf2583f643ae2f6577ee4ac283d826a090ad0894dc9", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineTokenStyle.java": "8b59bcc76f466c10f50c0cadb4fe74c2d70b73facc91c8c5795df6bdb5b6c00f", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineVisualTheme.java": "cdba034cba38cfb2e0afe67d52441452b7be3d5daf9a495ffd5b6f2b037c013f", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineWorkspaceSymbol.java": "48709b428630ced892cbb9df93a2601559a19fbdbbc73aafb8ad2721ef9908f5", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineWorkspaceSymbols.java": "8f9f234900f0e16e7388e93d11b644e0a42ca5a184e2937c2aebfd050c4b2625", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/DocumentPosition.java": "456599afe5ae1204d71539279bf63dc1ead96058c28c4f9d08fbd6a0360d95a6", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/LanguageServiceBridge.java": "33871739f2bdfd72f66c4090603a35678733d2b786abb8c9ecd4fb3d7b803bb3", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/LspServerLifecycleImpl.java": "6ec24293d82e3606663acf993106a6275094c47be0da28d720762700a56373cf", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/TcpLspServerHost.java": "37f9f383db8a3d5dad6c574a78a1da1ad36671d9af8198f370d7be901fb30ddc", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/TcpLspServerHostFactory.java": "62d37aa1aad91a1ce77ce91d541edffaea505ea0289f966b5c6853bfe9274de0", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridge.java": "7800d602a4100d8d4651f23f20b80fa3c1597e3fd9db7ad404a4730deea9cfce", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/DocumentPositionMapper.java": "ff76d02efe52b1141856794e8fa0548896adaaa8a3326d06ba4c5538baaf2564", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/ExternalSourceRegistry.java": "2f391046cc51604d00a1876cdc99495421d9893a324bd8b2c28edf5d59853a9c", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/ExternalSourceLanguageServer.java": "d6c0734c23501f6aa619ab0d86869e0fbc11b0404dae361740c447dc7110d05d", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/ProjectConnectionValidator.java": "c7e04c745e3e91ddb9ead4825fcbacf47e471399a29f1d8ab6bf239e0f18f31c", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuLanguageServer.java": "f94af0c2f128bc58cbfcac0f50993286ac2bc4d3bf252ac0cdf069274cb81c28", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuTextDocumentService.java": "9c44ec5adeadd4fb2f9a16ea569b750f0ee74a35afbbf4fbd15dd0b4eb68f118", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuWorkspaceService.java": "1575629989d628653580d800d14e29b8c66beb0d30b3eda8d536c9cbbbfacdfd", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/mapping/Lsp4jProtocolMessageMapper.java": "a03ed201a0257265cb7984993bc5aabc99c49113eab46cc72532ff9f3c190827", + "prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/mapping/ProtocolMessageMapper.java": "bb5d72ba1707c7b5aa825ddfd985960710013486fe12e58145dae7e3a474d6e4", + "prometeu-packer/prometeu-packer-api/build.gradle.kts": "603ab77b150dba2ea25bc9df3fe6dc1f99ec2d338eebe078c281a607b2ab4ac0", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/PackerWorkspaceService.java": "13079954d52a51b77880ee5988349323eb427b09001f47d1a48f0fa7532aa0c6", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerAssetActionAvailabilityDTO.java": "e4fa8c04fd75a62cc502269e46bafe76eefcc369d27ff4f0824c993ce33e8a70", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerAssetDetailsDTO.java": "806ce2cec3db939a661fb09e9bf76e261985bd02ca3935f1b66ced0ecf08e57d", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerAssetIdentityDTO.java": "19ac2f98d65960cc7708fdad3b6e2b1a29593bcb2ca849a76c5efbe3db034c36", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerAssetSummaryDTO.java": "600a5e37d3b3d3d88cfe12ec422e40ada8cceb3c4cc3e5b41c3a69bfec0ca1bf", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerBankCompositionDetailsDTO.java": "bc771df444fdba840a380d1a98c97b7a60a35c75741f93f6b850b42ee6d1d697", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerBankCompositionFileDTO.java": "344dee59a367d1f28cc57a928176fc8767243e9ee529272df77d91e4a770cb3a", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerCodecConfigurationFieldDTO.java": "ff5c95001262a297e46940cad828fd6d0c4ee1a7187353d67c3d82fc36bf576f", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerDiagnosticDTO.java": "dbdbf993fc6e17162011de3a3f365f98226bada0a3fe56efe16672108369eb78", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerEmittedArtifactDTO.java": "b7002a9beb5c229c85ca7828fbfdcde1f416fdc33dcf0ae1bc8ad9874ba7db7f", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerGlyphBankLayoutDTO.java": "c35b1ea511199fc91dab4a7401e37d8a91c0a7debcdfe2b516194fae26ffadb1", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerPackExecutionSummaryDTO.java": "c0565fd9fe05d43f0d2e91154a74ad2cde0fe210a0d250764378778015e55902", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerPackSummaryAssetDTO.java": "a2b1533c546abb84d6780c567e631856d50d80976f67a362565ba24e35ad86ed", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerPackSummaryDTO.java": "862a74f6d63ad004c7d01b941b83716617147fc7fd20d7e15f07041b4b1c8880", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerPackValidationAssetDTO.java": "9aa5ead4439b4cca9700bf35a28b4849724191de981e498928288e258002e7b4", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/events/PackerEvent.java": "7a4dff1c3eef3fe39e0b5f4f870e6bde11bdd40d1a952af7b24e47a716fb7cb1", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/events/PackerEventKind.java": "a91536c088b2e72671fc8c7f6e145427e0e6d5e37cc8bdb0b89ffb54d20b11cf", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/events/PackerEventSink.java": "4ece22568c20eabaf7cec1fccb1ef7131f97300e2bf64db769a4180e04ee5654", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/events/PackerProgress.java": "1c1f2572719eb17a1c0ea3c33fd1edfd8ff17501638c128cf574ffa0a58fe79a", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/exceptions/PackerRegistryException.java": "2203aa775bc0710d8fe922962676610988b9c0904fd5fdc4c8f99f2e3f46c084", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/ApplyBankCompositionRequest.java": "c6837091aab3df09fcac992c593bcc5f80a6a8478b14b76cb30d0941616d7f83", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/ApplyBankCompositionResponse.java": "2dcf6d00ff55c3ed19c77279421f124b3d5771a4ec2041a9e3ef6f5ccec8a250", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/ApplyPaletteOverhaulingRequest.java": "73331a161f63a568417d4e29cdb36e47c1a7806dbd44ff46975886ba9461cc6b", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/ApplyPaletteOverhaulingResponse.java": "ba146edb40af26c75fbbd440667264e4b33bfc98338012bc2be6e674eea33224", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/AssetReference.java": "b2f15ebd9bf6163cd6d74539dcf404c6edb79c09dc721dbd30f7e09970c683bd", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/CreateAssetRequest.java": "7e66a21404870211c73b6deb755646d766d4b0fb50b38663384f2330fb3bdac3", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/CreateAssetResult.java": "a2018fe13be6b2822f2cd1810ea2f5b12292d5bea4773d5c94a1fbf881e1e39b", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/DeleteAssetRequest.java": "04fb5e3d4ec68bdf25cdee0f51b80437b58580750754e34a9a5b73012228d382", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/DeleteAssetResult.java": "ab776997250847b19830aa8a23891d90a5ed59faad752a239c3daddff2d579f9", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/GetAssetActionsRequest.java": "043608c92ffbddb08eaa5a345fc05aaf9cb1bd0461e240a23e463f0b12fd7616", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/GetAssetActionsResult.java": "85360dd7a06bbbd0aae9ca4748ecc3c1c4f394d42a116d713ce8b584085917f6", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/GetAssetDetailsRequest.java": "114be244d110276d972af036ee255d21cf112810c5a02c13fb7349f8d3b0ad64", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/GetAssetDetailsResult.java": "2ab0bb772bcdc787b7b3f55bc3635637aed1d235e8b1ba75e66d967e8b3e1af0", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/GetGlyphBankLayoutRequest.java": "d2659d7d9627557e907dd8e77d490c63ea72f2b3e33252601b43c66be78b953a", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/InitWorkspaceRequest.java": "b7e091846e32a172008db04239b6ad5f631ae5e6e268dae8b38faee8edef9f13", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/InitWorkspaceResult.java": "f309e31810a113f35bb9210f53f70c521f24cc3d05db01d4c17dbd1637caff3b", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/ListAssetsRequest.java": "319ae7efa0d05b482d7b0a0dcd73821f99ae5971f064033c1f4acd926467ec06", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/ListAssetsResult.java": "610ad5d34c1cc878b433216ad770742bc9855f9473df00993d89d119198d61c1", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/MoveAssetRequest.java": "7de95a979709dd571f47e32f13ac265ff431db4007b78fe87cc2b49febf17a12", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/MoveAssetResult.java": "d41dda655d5e2123e6f9f8ba59324d1063dccf21c7b1d37d272308b7f6c7033f", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/PackWorkspaceRequest.java": "88a066a73f7688d6255b17364e586e6cbc00e4cfd1ecc6a0eb5ab4b194d987f8", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/PackWorkspaceResult.java": "4f4d8a0dbcf097d59badd6f2f54db5ca3114b33707538e0841a96b39bbc93a64", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/PackWorkspaceSummaryRequest.java": "d12461f435b54fdf08383f07fe0e031961c69771c0f32cfada8dc39cf6872f36", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/PackWorkspaceSummaryResult.java": "4b813a97cc1ca6c2019f43e9362b1fa48aba6949df43915cb43b24b9b1ef7677", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/PackerOperationStatus.java": "6c5084b5f0aa5a2ccc92bc6ad2561170e7c0863fe1024b6cd9d64fbd38eb6526", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/PackerProjectContext.java": "99bf761176ac70fc796455d4d84c3eaa29d3cbd776e2bee542b88d90f9755691", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/RegisterAssetRequest.java": "6432fdda3bfe4a603c2c9cc81032f13d9c76e6a976b2b72163c3484a7d4bd791", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/RegisterAssetResult.java": "75a2888b76cdb8eb4c1edd5cdcd1b279c8c36d6a6c7679b7d48af72071fd01bd", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/UpdateAssetBuildParticipationRequest.java": "b45d6ad53a15c588604db0ea9297970805033cb5d9972972e42e51f5d3dfbb6e", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/UpdateAssetBuildParticipationResult.java": "b6869be751263352397938aaad209fce43a9fe1b9d67f414f76ffc276de62d2e", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/UpdateAssetContractRequest.java": "fcce9282a29d2a0a5f864c9fec6d671848c9e12d06988c966665090ba5da44c8", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/UpdateAssetContractResponse.java": "8a7e4aa025b3394b815737e5b6667b7c2ad1ea30968a50f83c9e8cd2fa840b30", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/ValidatePackWorkspaceRequest.java": "929f815e5fe0ac5b753f7604e7d95574240dba737e008f5b4aefcb5232f3f549", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/ValidatePackWorkspaceResult.java": "16b6a044525726f11af2bb9539bb036a7744fd8c225cd9236298f54f2f4fe013", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/AssetAction.java": "bb77946c5d586ca16b3248dbd5ef2cd40cc9aab1f70fa8c87949e7a049cfa9de", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/AssetFamilyCatalog.java": "ba0f1859a58f0b2d131be61332a983d7321bd4c03e4c2f9154e67789c9c3aee4", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/OutputCodecCatalog.java": "ee4b89ccf0120da299bd7894de31c31f84d3ec6c41fe30e28f6fc36480c199cb", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/OutputFormatCatalog.java": "f973cdb1d03aafd4c4dae9971fad985191f78a541ba0fe17b711e7c72a72643a", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/PackerAssetState.java": "9ddd82ff01e90aafbb72f083919dbbc211950d4145451650faed3735b7e0650e", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/PackerBuildParticipation.java": "5f1608edcb66f366b2583dc992b5362edd5c694b69b06484ed3b48462a3b21c6", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/PackerCodecConfigurationFieldType.java": "2dfe1e8b0e8b60cc7b0c5a8cf8cb8a85ddb0edc2157b9d382bd92ec3f4e87621", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/ScenePackLayerRequest.java": "304ab8c54d9144c0a4a9c7024c0ae6431054dff5fb4f9c98db7b1f4b836507f5", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/ScenePackRequest.java": "420e8d4d8e0d8929285e454dfa4c81b849520059c72379105faf750fea614397", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/assets/ScenePackTileRequest.java": "605f2c873e71273c07eb05cac2991057e0b8c5ceac849e67d0e3ffe737414e17", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/diagnostics/PackerDiagnosticCategory.java": "7c220ce9be18d42bd564b39472784b0e0768116f9e9d95be53eda0af567b6e2d", + "prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/diagnostics/PackerDiagnosticSeverity.java": "e7332fdea38a92eec6319d9962dc32771d91a7906e2c73a47e1846369affedab", + "prometeu-packer/prometeu-packer-v1/build.gradle.kts": "f5f0b02c6d392ab58d4267425da1c979144207128274a2523206edf13cb9c880", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/Packer.java": "dba1dfb23763e2a07eb0261d86e59a76c7d002029f9af2ff47bfa53392c2dae8", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/PackerWorkspacePaths.java": "b5798fec3127daf411d77dee6875a796b241fd2a3b1bdaaf9371148d7e5528ae", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerAssetActionAvailability.java": "2151120f1d3b32d9f94a367ebd0ae346f844abf17ab40091689e0a3b934faba4", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerAssetArtifactSelection.java": "47aa4292b038213e75e3c96f1b0c7f664a3249ad8622b5311232028ff3cf9c3e", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerAssetCacheEntry.java": "4516b776c13e3e7b092625020c8b2b2255d931963e52670541891dbd3ce81901", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerAssetDeclaration.java": "f3332b5a4db79d6fbb33d2777395a704bf2a010a730b915a6993ce71fbef2ca5", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerAssetDeclarationParseResult.java": "eb9c5621d315a99119ea0afdc18348d8047ade0210e606c78410aed440f492bb", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerAssetDetails.java": "07edd9830af9c86fa0a02226c3d0249911742d21f0e0592ab7e226fef0d3a056", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerAssetIdentity.java": "054b0292ca72949daa8cc134541c315a2e879f9c2eb5fc49578f9f8563452ff2", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerAssetSummary.java": "172b067cbd885515047521ff17979ca4bf0177de79340c64cab88e88d0abd51d", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerBankCompositionDetails.java": "a79f8a37fff13ae1b2e900784127eb6f3d332efa9d945ac55ab71bdfc0ca6c5f", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerBankCompositionFile.java": "9406d40595aeaa03388eda1ea4b9b92f2b2c3834f3bf69db1b00dee838e837a9", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerCodecConfigurationField.java": "7d88a5f662517062969399e7446b1e8d65980d871ada8a39430e6592c3c7a33e", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerDeleteAssetEvaluation.java": "6bc456965972fae0256af8a93605bb2f59425a90a2c9f3ad023c316469ac4d59", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerDiagnostic.java": "9210471b9c6f591626e2cc33916aee80db1f9f68d3cb7a54cbd9c0f1ee398e50", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerFileCacheEntry.java": "41cd417d93b467c3b544dd3319bb173f027f0fd6af4c751885aef0f61e448083", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerFileProbe.java": "6ae17539296a73b843f05ca902eeadc91e6098e4c6fbbf2cc7579b68134e5d2a", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerGlyphBankRequirements.java": "14d92d85403141869ff7e9b5477f21056926df3929ce32fdf00c7a7375751826", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerMoveAssetEvaluation.java": "77e2ad3ce4dd9f3429f962bae1f8219ccbc6323a5edd579b500b9d3cbc7a0bf4", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerPaletteV1.java": "c222bfc228bfaa3e8f4ff91da986d6d1d22771389eed14df5908eee96cb08f4d", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerProbeResult.java": "6a871bf3f4289a24eb973826a724a0bd7c7328c6936a90e358c17de0627a2525", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerRegisterAssetEvaluation.java": "7fe7b2ef719a82bb5abefb2163fe7d611fc1be5f4065e1634b0443cbbdd7d927", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerRegistryEntry.java": "8d9dfc520f3a8e00e962b2ced810fe17def1325ba08316e99520ddc73d7b7ee2", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerRegistryState.java": "66c319c3159c13746b58e6eccccc7491cfc4c8be3d7982ecabfe28a8de7374f3", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerResolvedAssetReference.java": "45e2f1855d426aae2076752ce23506d2901a076e9e8ef11de305b2b968182b08", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerRuntimeAsset.java": "e140d37a8e1ee72b62d9fda13887b1a86404458c60f985a2fe1a320fc7e1a77d", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerRuntimeMaterializationConfig.java": "c4f4f7a38df1b4310125eef10acd68614f2eadb100ea7481d25feda56e44e50b", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerRuntimeSnapshot.java": "10caf25646cb400b0702c5c0aec893c2d9bcde548bfadd64a6ed7a3548bb42ae", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerRuntimeWalkFile.java": "36d24d8b3848026567a89b5bb0b95ea1d6ce09c9dfbd1baad9f10b13353c2420", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerRuntimeWalkProjection.java": "13c60efb6448f62fa81c2ed11245d1868a98c57448aa20994a23c1f4f5eca002", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerSoundBankRequirements.java": "0d918775a5644dde75b62a338987b1a530d46566f26509c1a1690840724b7546", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerTileIndexedV1.java": "63498b292cbbea8924c461d8b93abb0a3b3328ae5c0054614c80e1a95b37cdd8", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerWalkMode.java": "461a8e3e74d1429f1de323b72047cfec080c9d6499a99d7b6514e9c4aa4917fd", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerWalkResult.java": "55624d69a24caeb7af3bf6bd205aa98e0e1f8a5513620d0cab4d9c494f95f69f", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/models/PackerWorkspaceCacheState.java": "59eef7a97a7aa35a78dd8edc528a753c1de0982600ec4aca516b0646a392be9e", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/FileSystemPackerCacheRepository.java": "86edf573f7c4d05059899d177e4f48fd45708aee245cf9f64214ecc321cb8ed1", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/FileSystemPackerRegistryRepository.java": "95177812f245e571526dc91056d7557f37dd5794b88b6cd4d36657479982d817", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerAbstractBankWalker.java": "8b686dd77199cf275ced2101c6351bec4876ec1dfc0dbf723d3c826e68d9a1b4", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerAssetWalker.java": "4347d5db3e4f5e3928151d939227cf6cae1e37f24db5d310e609b05e3f857185", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerContractFingerprint.java": "209e3c37b5ba7604307433559c9aadad83a4935ed1389227221ca0448644a565", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerFileFingerprint.java": "bcb1070546768ad261c56c7428a07b78df155cf4ddf0ab98727f57cc6cb1fe8c", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerGlyphBankWalker.java": "ec533a14d73c8e2c94471ccaac3bf110551d2d1f7c6dc8d75bf5bd28c352fedc", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerRegistryRepository.java": "ae9df25610765036e16d1e442ca03c4711fbac4b778cf255043fe863039c2bec", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerRuntimeAssetMaterializer.java": "7058231029ca723d585a5106d92df2803b66ec7ac58d5e889b1da1afa4f89fec", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerRuntimeLoader.java": "ce61fc11c160abc52970a560d89f0662efebbfc33bf945870b36e001dad8570e", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerRuntimeRegistry.java": "3a81353f12e0cdee10e1443aa40769f8c817572cdda53c9a58765ffa8f5105bf", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerRuntimeSnapshotLoader.java": "02b637443682f91396acbf83c3627b92642917e01131e495a14099e25fe92cb9", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerSoundBankWalker.java": "e180282f23a6e7c259ed41dac713ad8abf3dbbfc8c6dcb1fe3bc77f200ac5c36", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/FileSystemPackerWorkspaceService.java": "276d878ce8e864e4d3badbc54bae754935d7ff565f72b150d76b34be443e0a22", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerAssetActionReadService.java": "92a76f7d2fac8958e8124fcbaac3b9e5f5621e03e96552faadde18a77527f8e2", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerAssetDeclarationParser.java": "e5ad5e2e72c36e3d568c02fd4b3e7d3f1abe508e395a2b66a0c55ca6cce33bc8", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerAssetDetailsService.java": "35b9be7f5e0262c5298319de90783b9e3134c519f179b8cc7c08545050d763f8", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerAssetReferenceResolver.java": "842508ec0849a5bef07079a9f7178f38cef32ccd22950f776285d1f7e82402c7", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerGlyphMaterialSupport.java": "2c5781b622039156d2a564c3cc8120bc30d8f0a9a848e2830c62d4745e2be2e2", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerIdentityAllocator.java": "91c48284fab43896dc2615a4501e2771f14ff0541ce6f3cfdae59659c8a70cac", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerOperationEventEmitter.java": "ffac60b4468e0065d48fedc4f15862d50102d62634d5c066602c8562b8093c20", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerOutputContractCatalog.java": "f2fa2d15a6491ce844dd85d001b0c7298e2c92978c5320739ba28c8cd50aeb98", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerProjectRuntime.java": "6f71761be7efcd4f69f62b1f55496d7b993e563c7db66715cb73599e72cefec9", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerProjectWriteCoordinator.java": "733b47c281c0d5967214398add5850bf163ef7c6bf34bfc498465902e78d11cc", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerReadMessageMapper.java": "51302b0b6c93c9b02da01f7d2bb6d9f29c802877a0e6e40b98f0826d6872b56d", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerRegistryLookup.java": "7c0f441c4654998e9bd6c4be034b398c2a5cec779b701528d40a19ec88678b1b", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerRuntimePatchService.java": "68be0c7e3b707ff0508605a0c3c42cd097775bfe2e889a3c97c524e77e432b00", + "prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/PackerWorkspaceFoundation.java": "a9f1428a57965cf36adb00f378db84df94a83c082c0c46097f40f62e2c1a58b2", + "prometeu-studio-api/build.gradle.kts": "be574dbd774f1245efaa6c98f9396f19e6b2fc12eeb99c259182809ba016e2e2", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetActionAvailability.java": "6278c26e3f145bd37e8ad287e3bb2fc5f15b314250898ae38aaa00b70a0be0b3", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetBankComposition.java": "e41faf3a9d1ab1cb2433362bbb8f86ce39eafc9f6c5e5fb29e768c7a405b17b3", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetBankFile.java": "f729f6a36695ce8c73fcaf0df81da3b2b35194035a8d38a831c0ff9a04fddd4b", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetBuildParticipation.java": "8d941a0c9a4c9e19d5dfaf7ef35c219a98590326f75cb0c3a579c571bf89e042", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetCapacityLevel.java": "a5fa433b6d5ab75c05fd3d04b457b5147588db6eff26f6e9deb551cc4dcc6c08", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetCapacityPolicy.java": "543e48939599a74247f325c3762be5b1440c6b16973c0d0e7684452c15f3cada", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetCapacityState.java": "a5358af3c0e98e60916d5f603e96df56ddbc4c71cf446967b8fab4bfdd04cb59", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetCatalog.java": "9519a3b02d7b232606a620456283435f06b07f70acbbd9bf2618a96de9e4c88f", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetCommands.java": "e2cc9ea77570a2116719d87dab1d7f56e70c8676c201ca5f11a7c542d64e9add", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetConfigurationField.java": "3ea223dab69d5d61d297db1484aa7deeb31323b37cc96036227f4c6c21e72a7e", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetCreationCatalog.java": "a7e4d26eb63e68e4d8ac1fdeb59969cc7cd4691151d053522181371770036d56", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetDetails.java": "608ca5570c14f495c31eb57894464a7ab5a219d75edded9108d08a98f5054627", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetDetailsSnapshot.java": "65a391b8d25f4d07113fb708eec3f2ac0247d55e40f1ce6b8672f5617092b663", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetDiagnostic.java": "80f8cd3eeec1da92f8a1934dc25e148cbe28cbc78bd022bcb0e37fb415be404a", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetEmittedArtifact.java": "c5ce3ee73907892387eb165f37e741b55ac0d89cbd9693df9552f67f0ba5186e", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetFamily.java": "7b876a92b61f4e9f47289329ad1103f5616e15f01a0459fd2075c8ef0e2691f1", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetMutationResult.java": "a563992258911deacabe0323dccf0f3d1f7950aa67450c8df4bd3b7780aa2c3c", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetOperationStatus.java": "c2ddb5595ba59c6a355eaed338f4dc45520d657a73a89b22cce4ee9f4558b64d", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetPackDiagnostic.java": "9ff698e0cde5f916f1bc80145bb0876d828b459f471aa154d5b1eb62be4ace9a", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetPackExecution.java": "659f2b1a5498a9a20ef68df73a8de55dc4f6afc2baebfaceb65e3a99835c6e80", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetPackSummary.java": "9dd9f41f22cf3dc6f5f0a9dfd07704aa831fd8fc476b7b2a49dc6063bd5f9563", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetPackSummaryItem.java": "1e17a19ea1865cfd621cc7e31f786eadedc3950f6b66e8cfd2162a12c452665f", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetPackValidation.java": "a718e3ace63eb625b773330d46917fec5cdf89868aff743efd76df468e2bea73", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetPackValidationItem.java": "19da1a0ea4f86438bb3a46322cb07a01656514433edeea7a905108f05189ebfb", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetPacking.java": "fea9402dd770b464eb50ebc59329f243cfbcaa7f12ea8361533bea0514f1fd94", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetReference.java": "0b5fb83b34d2c5984e97d1b546691a1dfabf1dab121481cbfb451ac4f08ade29", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetRegistrationState.java": "06c27ffcecb80f31dd549cc50203d655d0343ec8095ea72431e67e3e27f0d996", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetSummary.java": "c9570929f5b3b7e99a42ba7f1784f763a4f35c9896bd3998385a3a3a1e8562fd", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetSyncResult.java": "2a61dd3a2320c21b009c837d3357422cde4d47553e17d0c0e5e775a74c3f52fe", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetUpdateResult.java": "491faa2cc9e6fae44d8d44ac9d3e536d6fd18266899cf602b39f9a4548746da3", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetWorkspacePreparation.java": "15130c79bdd5ef11aa17fcfafce4aa9b20b75c56619d6d8a8d9047a50bbd248c", + "prometeu-studio-api/src/main/java/p/studio/api/assets/AssetWorkspaceStorage.java": "1da38668df3d3a3e28964645458444abcc0612f5ce07cd31fd89fb8985b1cd92", + "prometeu-studio-api/src/main/java/p/studio/api/assets/animation/AnimationService.java": "5581216eb1e3fbc09651120b889f75ec6619e6f4b0489bb0f6dfdd91794d0347", + "prometeu-studio-api/src/main/java/p/studio/api/assets/animation/AnimationTasks.java": "fc5542118b270ada7c6ea383187028af87920192d7358b6a011adddf114c3af2", + "prometeu-studio-api/src/main/java/p/studio/api/assets/bank/AssetBankCompositionSession.java": "d93dee1e83a7f4c442443b28d18bfde0f9ca8b117a2ba4f04356c0ac33b44494", + "prometeu-studio-api/src/main/java/p/studio/api/assets/bank/AssetBankCompositionSessionFactory.java": "08a1dbb42de43d7966748879fc49fa070e060d3760c5c2a315cb2fb46436575c", + "prometeu-studio-api/src/main/java/p/studio/api/assets/bank/AssetBankCompositionState.java": "5f262085ce46aa4dbf4930f068115df82704ca53ca09254e9494db92f2b2af01", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetMetadataService.java": "1143f7286e659a43ab58b47f6035b5807a42e67c33b86ce73015c22a2d7430ea", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetMetadataWriteResult.java": "2512b830d44b9b35840f8d9727452fe0a84ffd43ffdc20f1b3b6f60da5050ab7", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioGlyphMaterialArtifactBinding.java": "36206cbc601213556cd622ebefed174c4fa7e6d5e7afc628fcc5bb47c491a94c", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioGlyphMaterialMetadata.java": "0e0e8f641f233f307a7cae3a10c0e415daeb7199e02273c80c6f8e5f19224e78", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioGlyphMaterialPalette.java": "9665acc9a5ad67c731a42ed92df47a9c5be90b53bf24dadaad1f8524057a2128", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioGlyphMaterialSchema.java": "eb7ed168b85b12885415cf4d3a0681f976f7a76b6de5c58a67527460d457fe93", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioGlyphMaterialSchemaStatus.java": "aa395b2dc0ab1f34da10387bca2b9183d4e02fe8fb86e6e0318935d60bdba83f", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioGlyphSpecialization.java": "5ae7e9d1ddb80f1ce6a7385dcaf85416e04e93db3f5d37372fbebb2316dddb07", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioMetadataSnapshot.java": "1f26e6e375d2ae1120fd3be00ae60830a5adb01613f39e73157d4ea443d730bd", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioSceneBankMetadata.java": "6b1ee951ec8b1bd82d5030946a502414ba41f1ff078266535f2b511b6af3f732", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioSceneLayerBinding.java": "3adcf8c2fcfa5089714f6c9b2e73033b6345843caeb927f0c1b7e3ece9340099", + "prometeu-studio-api/src/main/java/p/studio/api/assets/metadata/AssetStudioSceneTile.java": "67670c1efca9ae3d57f0efb85198c572532b6298b5ddf805739e47162d5ed18f", + "prometeu-studio-api/src/main/java/p/studio/api/assets/palette/AssetPaletteSession.java": "c7e8d2824d52df2b04c5e7de3ce5bf53e578370e6c66e463d826c95cff76d121", + "prometeu-studio-api/src/main/java/p/studio/api/assets/palette/AssetPaletteState.java": "2932b4f1ad4f58e9999dd03358d931b6fe5553d074a0c1dfaa50ce1b0241baa5", + "prometeu-studio-api/src/main/java/p/studio/api/assets/scene/SceneBankWorkflow.java": "fbe52c38073c9d72a34727a1775af8138ee73b652de9d2c617f9a84adc5cacc1", + "prometeu-studio-api/src/main/java/p/studio/api/assets/scene/SceneBankWorkflowResult.java": "79bd4dd2726a12590a6414f71a79ea3db2df955b3d4087df02ca2602de48fdd5", + "prometeu-studio-api/src/main/java/p/studio/api/assets/schema/AssetColorSchemaFactory.java": "04a5d67ee50b4abccc0c7f3a1abe693fa21d7479466d1ac76ef4a9388dd44e37", + "prometeu-studio-api/src/main/java/p/studio/api/assets/schema/AssetColorSchemaRules.java": "dbc9eeb3fe4b1fb4fff971e497a8323792a11a049a16c9df0a817da7479125f9", + "prometeu-studio-api/src/main/java/p/studio/api/assets/schema/AssetColorSchemaSession.java": "4193b40bf5fb447a2c3242a14640ca8a85f06eedf72a288460d6ba3acf97598c", + "prometeu-studio-api/src/main/java/p/studio/api/assets/schema/AssetColorSchemaState.java": "63c5735bbe48461d47c8d312a0182fce48dca7538ac8bcd291878aa39a910871", + "prometeu-studio-api/src/main/java/p/studio/api/assets/tiled/SceneTmxExportDisposition.java": "6cd52bfa7c60fc7af91f36c5266b2a902b97c356bdd610cb460fe495e81e190a", + "prometeu-studio-api/src/main/java/p/studio/api/assets/tiled/TiledAssetGenerationResult.java": "bf265455f4996c769e4a65df1a8b297450f323919128d3fea4b1b8b71fe29b2b", + "prometeu-studio-api/src/main/java/p/studio/api/assets/tiled/TiledAssetService.java": "47fc4df7e242067693c432143a533df8f0bd02f79ba6415c476765575d18b4af", + "prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceAssetAction.java": "236bcff15d959823ca0eb3e49ecca4e058502183b17c39aa8f257961a2d0c1ee", + "prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceAssetDetails.java": "7c0fb591feabe24543b046800b1011026052ac7ce97f5b3a2dadad98fa88be09", + "prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceAssetState.java": "dd9da62f472b1f138caef9c38a32e609d70d09165a58bc19ff3f6abddab53bea", + "prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceAssetSummary.java": "4435e427529b0a7ebef4e98dc870e7598ec5d647578b9c3cecfcee2a717bada8", + "prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceBankCompositionDetails.java": "cfd292469e0f29ca61749d9c3cfd90ba5d36172a0b07e10163fd4e1d39e24cd9", + "prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceBankCompositionFile.java": "60f3b0fcde1205c49199cdf3953c2c89cbc2dc9bf8222b9892f5610c2821e2b3", + "prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceBuildParticipation.java": "c541c28956ca3a858e41e3b856b572e591c617fcde402fab3dd53d053b3df069", + "prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceSceneBankStatus.java": "c531244f1b1db73df81556d7c92f79603eac74d41384acaf4df2678960119929", + "prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceSceneBankValidation.java": "b65d1b2d5eeb7f6f7752981db5c3ed7d96ce8532d8f48403f0b763f22d5e7530", + "prometeu-studio-api/src/main/java/p/studio/api/automation/AgentConnectionGuide.java": "970bfe3947a775b10e9df935f9e6d444729a8ae7d801787209db93a83171e54d", + "prometeu-studio-api/src/main/java/p/studio/api/automation/AgentIntegrationPreparation.java": "a5159c44af7cf9987df53caea5d04ebf2491e2a18eac4909925232ff2a45bf23", + "prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationConnectionLifecycle.java": "6c4b782c4fa62e221deaa2c2951a2060acf1aeaae680f43f6cd47feb40d1fd99", + "prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationException.java": "7384914f087834615d6be387a2d8e385de31aed440bbb8dfff1a793a6d8bb291", + "prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationFailure.java": "2c4b08976a22b1d8ef8dcc93aaf21e465eb548ddf5dedeca15b83935d29039b7", + "prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationOutcome.java": "04c71849a69df4c89c8ef17942e9f49bfb7672b8ebffbff5eb1160ef338fc49d", + "prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSession.java": "3bce86481afeaa86284fbb3ec69b353d156688f6a81fba46a007ab9d92a889c1", + "prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSnapshot.java": "bc7b0736847bc0b8927f6e0a9f4e5ac7fc68746f29460a532d4a357ccc5719cd", + "prometeu-studio-api/src/main/java/p/studio/api/automation/CanonicalCapture.java": "f692dac9af69ae1b19a764cd69bcd4c26ae4fca7ab64410f29aeb162786d6830", + "prometeu-studio-api/src/main/java/p/studio/api/automation/ControlDeniedException.java": "1ad262843b28389f2c36b9c769b8eb4666fee21ea333f524eae8a16bea26b4ec", + "prometeu-studio-api/src/main/java/p/studio/api/automation/ControlResult.java": "f668918d438f66e6f1ae49b4787e72aa5cd238cdd98d45a2c2e5b31e87b1248a", + "prometeu-studio-api/src/main/java/p/studio/api/automation/ControlState.java": "034b20b4bb3da2491c1f6963151809ab51167b07518d97529047c476a8ff98e9", + "prometeu-studio-api/src/main/java/p/studio/api/automation/DocumentHandoff.java": "da6b12a51fece3a3c18a6ad1c7a6ba89acd2b243fe4964fa90f8ccdb5659b4dd", + "prometeu-studio-api/src/main/java/p/studio/api/automation/LanguageQueries.java": "35b45b9c41c5ab8c97ac7895bbd336868cca33e75b4473906510c218dd248498", + "prometeu-studio-api/src/main/java/p/studio/api/automation/ManagedHeadlessSession.java": "65cbd2aea7a3c6ecf9374d29f1af216d1fb993f245bf59f8bdad5f3ce2389b5f", + "prometeu-studio-api/src/main/java/p/studio/api/automation/ManualLease.java": "bab0b6e37b08649e9c4d63904dca934e10c2ead60664da67f653c1f0762121b7", + "prometeu-studio-api/src/main/java/p/studio/api/automation/OperationLookup.java": "b1283fc9debf65ef409978df9bf50e2cccbf683f0c68b0b654ad6984dd74f2cc", + "prometeu-studio-api/src/main/java/p/studio/api/automation/ProjectAccess.java": "fe9e4070536f8a6304d8df0dda525c8341f1f22089573914d7caaac7a52e6bf7", + "prometeu-studio-api/src/main/java/p/studio/api/automation/ProjectKnowledge.java": "68424e4e89bda2ffa90bf492f9d413925e6e2e769da138e92a4aa04db0bb5e25", + "prometeu-studio-api/src/main/java/p/studio/api/automation/TaskIdentity.java": "b1795aca636d87185fe81e3cf94ddd2e44d7ed96b90d5d8f0c377326d553f9c5", + "prometeu-studio-api/src/main/java/p/studio/api/automation/TaskTools.java": "721e9633d475f1a40e70f7acb2844fad624893a1d0b72fa4bae68bd057e4fef7", + "prometeu-studio-api/src/main/java/p/studio/api/automation/TrackedOperation.java": "d49b145bd63964ab8801b0a6e726684fea9acc955165af51c1a3cdd26978e592", + "prometeu-studio-api/src/main/java/p/studio/api/diagnostic/DiagnosticSeverity.java": "1f7246dc911f632fa5b66fa41242f3ae6066ece4d4ee9f9f18e79732078400b5", + "prometeu-studio-api/src/main/java/p/studio/api/diagnostic/StudioDiagnostic.java": "8a9916970f02ac50b8be2e6140730a57057db4c633eeb5454bec6ae1b53f8fbb", + "prometeu-studio-api/src/main/java/p/studio/api/execution/ExecutionController.java": "e0a83bb56348ac7db829446cf55250842d55c219c593148d3b7ec5f7d156b261", + "prometeu-studio-api/src/main/java/p/studio/api/execution/ExecutionControllerFactory.java": "596e411fb7f64eea3056877327f178becebe65b6ba5d369d97fd332f0ad2407f", + "prometeu-studio-api/src/main/java/p/studio/api/execution/ExecutionLogEntry.java": "d8a61cbe70ea7772a86cbdaadd73636a25db28169e69a65cf4f02e132c362b3e", + "prometeu-studio-api/src/main/java/p/studio/api/execution/ExecutionLogSeverity.java": "2c6d71cfd7eb7940fb9318e739003799681d90fdb318c17fdbbe50b819ee339a", + "prometeu-studio-api/src/main/java/p/studio/api/execution/ExecutionLogSource.java": "6ef10660802b0b2a06eaa81acc2b3b88a0bc1ca6e01e6368d781de4319330113", + "prometeu-studio-api/src/main/java/p/studio/api/execution/ExecutionSession.java": "2ec3233835a73d47755987c643ca94d91b12c1fa5969e91617c8467765421d78", + "prometeu-studio-api/src/main/java/p/studio/api/execution/ExecutionSnapshot.java": "b4e62962c566335aaab36003ce73c0b9807e32412fe5b0a2e28f47cabba86f78", + "prometeu-studio-api/src/main/java/p/studio/api/execution/ExecutionState.java": "80e4e793d3fe06494d64d2b6eab418889e57454eec69fa357b629838a7e1c7ea", + "prometeu-studio-api/src/main/java/p/studio/api/operation/OperationExecutor.java": "2544890f75187d846d2623a56de039c176f9cbbf5b814cc7d0377487c4fa69f3", + "prometeu-studio-api/src/main/java/p/studio/api/operation/OperationHandle.java": "2202682c95aca72996b8037015a808298368b01d04bf0865c7f449f0672f9267", + "prometeu-studio-api/src/main/java/p/studio/api/operation/OperationId.java": "3b795efadb895f912be4990fbd5f4db998625f08446193ce2a26f29fd1887154", + "prometeu-studio-api/src/main/java/p/studio/api/operation/OperationSnapshot.java": "92ba75e398150ce94bd44f73a4ed33febf31250298e30a63477685c91cf0b7eb", + "prometeu-studio-api/src/main/java/p/studio/api/operation/OperationState.java": "3af2638d356abc44024f4d22aba627c73bf704bb3cceb81427c693d5c1027bdc", + "prometeu-studio-api/src/main/java/p/studio/api/operation/OperationSubscription.java": "de0913d152b4155da9cfc5e991e7b9b6610d23b62ddec0991ede5c28e8f26807", + "prometeu-studio-api/src/main/java/p/studio/api/preferences/ProjectActivityHistoryStore.java": "b0724feb790b270679b4fa431142fc3a80f336bcd7236c7ef1b03e26ac4be5f3", + "prometeu-studio-api/src/main/java/p/studio/api/preferences/ProjectActivityRecord.java": "4c1b8781ab29d068fc01fefb1caaee38e04ee1b6cc6af5b3cd51c1afbe9881b2", + "prometeu-studio-api/src/main/java/p/studio/api/preferences/WindowGeometry.java": "26a344bb05116778db1d2ada288aea559c14c50256097ceb4a4ea51398a0baed", + "prometeu-studio-api/src/main/java/p/studio/api/preferences/WindowStateStore.java": "f52c18e1f2c7f9b0d8a9e061073a36190015c76ae11a71a1ebe22f73878bab10", + "prometeu-studio-api/src/main/java/p/studio/api/project/KnownProjects.java": "c302b4d48824949023939277a8384cbffc45990cae0aa208c06db2689b2a3547", + "prometeu-studio-api/src/main/java/p/studio/api/project/ProjectCatalog.java": "67d1700a5418ec5c8be30e400eb6037dab5c2e78852dec9f5b1e55536d219141", + "prometeu-studio-api/src/main/java/p/studio/api/project/ProjectCreationRequest.java": "4edb602a5bef277d34fbd80bb672c1fc3dcc11b8983a5f74aea5f375e9d04f13", + "prometeu-studio-api/src/main/java/p/studio/api/project/ProjectLanguageCatalog.java": "bb0af47bb906d4fb7ac1efd8f7952d8e8be28b1ff306bd28c06e42b500d7755a", + "prometeu-studio-api/src/main/java/p/studio/api/project/ProjectLanguageTemplate.java": "51743bf4d1b656adfbd4a9dc90c10e0353ea66ea66c5c424c021a2cc2ac669f5", + "prometeu-studio-api/src/main/java/p/studio/api/project/ProjectLocalStudioSetup.java": "029cfcaafa9623c9c433a34dc505737ef309e67e0867458c210d1621747814b6", + "prometeu-studio-api/src/main/java/p/studio/api/project/ProjectLocalStudioState.java": "466bb859ce2e1342a7e5d8ecfd5bee188e003cb05923bb630eca9d1386e7ffc2", + "prometeu-studio-api/src/main/java/p/studio/api/project/ProjectReference.java": "922ba262e1f6f7777d05bcc96ade037bd09589cfddf4a74d7e0b3b38c20ab7d5", + "prometeu-studio-api/src/main/java/p/studio/api/project/ProjectTarget.java": "1944c934058fe8d414d3100a070d420b8ad62b31d82c04bd89c0ee1d177eb17c", + "prometeu-studio-api/src/main/java/p/studio/api/project/ProjectWorkspaceInitializer.java": "9699694c98b8fb475ff1aa49ca2ae464632486f5bbc35e16c85bea8a66ecf0b3", + "prometeu-studio-api/src/main/java/p/studio/api/runtime/RuntimeLogEntry.java": "21f47d31c65d52d34df144b5c2d7c37975a549303dcdf131c19b5034eb1624f1", + "prometeu-studio-api/src/main/java/p/studio/api/session/ProjectSession.java": "70091b3bfaf72a5b090dcccfd496a531e2f9be2aefdfddc5d3133f44fc0b13f4", + "prometeu-studio-api/src/main/java/p/studio/api/session/ProjectSessionFactory.java": "4f7f5b45c0f8fa1702d52d427cb2ad46d5a0a87f0e0fad55cfa60352436d3b7a", + "prometeu-studio-api/src/main/java/p/studio/api/shipper/Shipper.java": "1bd22a5529e6b81a6fc55ba7c6c9665cc574a9f523cf658c7e95167f3499fe53", + "prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperLogEntry.java": "9477d2431e7e26aabdcf21b16856f5d6dbcb49360788cf02caf36e9b42b87448", + "prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperLogSeverity.java": "7b33791a23f543bde0b50ba7ca3bff02953252649732f8edd7c0408bc3d1ad3f", + "prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperLogSource.java": "036de4c290d15741e1a5b0bb0c9e80b1d8b0c7f724f95c4859a69a739d8cb70d", + "prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPreparationStatus.java": "5867fd0354c7b3cc1aa8e07c8bfe2a731d0312a7b724bc8c285466a4c18e200a", + "prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPrepareResult.java": "4e37e21f36faa73ea7c6a101710f4edf775e5219e6149c43babc3c8c5f56516d", + "prometeu-studio-core/build.gradle.kts": "d16b36c2c4d780ba178a94c4c82c6cf4e107e4536eaeb3b6b1a13296c39601dd", + "prometeu-studio-core/src/main/java/p/studio/core/StudioCore.java": "1db719a462461bdc75b3d954012522cc5f5c22b72aab0a4b2f294791724c3571", + "prometeu-studio-core/src/main/java/p/studio/core/assets/AnimationOperations.java": "455af9c0f133ab62a70f30758208afd337a202c7a92b8c4064cc1c977ecd39a8", + "prometeu-studio-core/src/main/java/p/studio/core/assets/AssetsModule.java": "c00b8e5078dd6ab4c7fa0e07b16c46a1f73963370196107904dfe9c662006062", + "prometeu-studio-core/src/main/java/p/studio/core/assets/DefaultAssetCapacityPolicy.java": "a9b8c6b9022b891d3d58a87249a4e07f02c3979b6695266374e5e5efce56556f", + "prometeu-studio-core/src/main/java/p/studio/core/assets/FileSystemAssetWorkspaceStorage.java": "be289a090d4f36d2c122b40842c65ddb6a14f8984a5b6b69ed5821dfebddfedb", + "prometeu-studio-core/src/main/java/p/studio/core/assets/PackerAssetCatalog.java": "4e3db0ca8c1b47ac2f8d253188fb93a7d3c6fdccf8f755ab898b3f41181c27f6", + "prometeu-studio-core/src/main/java/p/studio/core/assets/PackerAssetCommands.java": "6ce52e80d364daf89d36043b544dd2cc19cf0350f7555fd9eeb67241bc3c0ab7", + "prometeu-studio-core/src/main/java/p/studio/core/assets/PackerAssetCreationCatalog.java": "7b57be187f65011feeea30218147f9de5567f0daf6b0a8ee8ace4e4df1482bae", + "prometeu-studio-core/src/main/java/p/studio/core/assets/PackerAssetDetails.java": "7cd160b03ca0ef1892ed1c8ac1713ab541a4691bdc66680514907ecb0b260ea4", + "prometeu-studio-core/src/main/java/p/studio/core/assets/PackerAssetPacking.java": "d09347674e2be5c1b8217ae406b54e31b52458650619094519fb1b2d969b5949", + "prometeu-studio-core/src/main/java/p/studio/core/assets/animation/AnimationPreviewRenderer.java": "420a53d8a86c6e3e2d66022f03a616396fa863e2632be4346d470d9808d4e17f", + "prometeu-studio-core/src/main/java/p/studio/core/assets/animation/DefaultAnimationService.java": "f19f1fb878eeeb5b4167602520042e271f9102c0aef796e7ffe0c5590d88f52a", + "prometeu-studio-core/src/main/java/p/studio/core/assets/animation/ManualAnimationService.java": "aaddecc065e53d8942e594cc2e3efe969988084aa7ca30906acfa5f730359c08", + "prometeu-studio-core/src/main/java/p/studio/core/assets/bank/DefaultAssetBankCompositionSession.java": "0fb635d5313501652b88db55d6a11a47f4eb93c1cce89d6566e108c93014f1e7", + "prometeu-studio-core/src/main/java/p/studio/core/assets/bank/DefaultAssetBankCompositionSessionFactory.java": "35f101c1d70edfa9de281fb2c0319bf9c28454aa4ffbd8ff24a6dc856e0fec76", + "prometeu-studio-core/src/main/java/p/studio/core/assets/metadata/AssetStudioMetadataService.java": "5dbb3640ec917ed89e9a4bd27ab5648c7381565d1306e008e6da9c1fd58cc564", + "prometeu-studio-core/src/main/java/p/studio/core/assets/palette/AssetPaletteDraft.java": "6b50b7b60816cea36e53b552e8cb6cbabbafbba701d8433b012dfd7b6495bc80", + "prometeu-studio-core/src/main/java/p/studio/core/assets/palette/DefaultAssetPaletteSession.java": "19f6ea4a29c71ea5647d508bfc38e2d652710144a96b9e1aba94f587fac1b235", + "prometeu-studio-core/src/main/java/p/studio/core/assets/scene/SceneBankWorkflowService.java": "26e8e093174dfd95a96bd5a93e66f3ef5a5f9e607b4224471a91ed5e8d55db1e", + "prometeu-studio-core/src/main/java/p/studio/core/assets/scene/ScenePackLayerRequest.java": "29a333ed4d925b580f5d1fd7bd0923bbaba3662a60d696f3d2b434ad951fd74d", + "prometeu-studio-core/src/main/java/p/studio/core/assets/scene/ScenePackRequest.java": "7c7d8b2ca9a5d34e11e67af4d6e975aed05b282636c601a16c6a59350c7bb33f", + "prometeu-studio-core/src/main/java/p/studio/core/assets/scene/ScenePackTileRequest.java": "ad07382b0b8d4f75ebb86a1cc3cb60ff897fc9122f6476b1764756001e006235", + "prometeu-studio-core/src/main/java/p/studio/core/assets/schema/AssetColorSchemaDraft.java": "d10ec20d3cbe886c0c71baad3a68756f08c0fb3887cb460455649bb2f2aec29e", + "prometeu-studio-core/src/main/java/p/studio/core/assets/schema/DefaultAssetColorSchemaFactory.java": "555da12268941a50b5b9f2ebfbe2cdce509f1f2c789f500b33fbc3475e9885d9", + "prometeu-studio-core/src/main/java/p/studio/core/assets/schema/DefaultAssetColorSchemaRules.java": "e8dd91538f7e71d04a35a196d8cf57f4f3cc80fe49d277bdec0cf1e4941aacef", + "prometeu-studio-core/src/main/java/p/studio/core/assets/schema/DefaultAssetColorSchemaSession.java": "749370a974f6c12a93c490bad95559d624045ec9e56f5640e03f3770ee08b1ef", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledAssetGenerationService.java": "1d7c495ebfefb289ce3cd5ed3dd074d235ebfb71866a736287bc2d59bb8b7ed6", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledMapDocument.java": "e64bf02d0fe7630b9fbee578772ca3a285a093d6674355b1a8bb9f21e1db6d44", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledObjectData.java": "42e65f09b50e111733ecf6a0453cadcdf55d40552cb374b8e3b55de0fd6bced9", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledObjectLayer.java": "42fff986e65a1d7956d0c5b5f836a60ed68093fdfbbc04fb38245c1a8d4a72aa", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledPoint.java": "f138d5f39275ce58db3368102155a3109b1a627047232fffecc69c823ca3b833", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledProperty.java": "21155a65af4c04a9427ab23e49ad5201d4775c7bf39bacc4350fbfb4dab9f18a", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledTileLayer.java": "a662e563b532be9433570016a7d3b31c8e5ee50efe94fac44efbefd589b63373", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledTilesetDocument.java": "f83f93dfd70c593d3ae388d2824e9736557ce43b1d215b3e8c517492276e2758", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledTilesetReference.java": "2a5ac4b445704a14aa43988399845083671dcf351b4373e07adfd7e9c9f0207b", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledTilesetTile.java": "5f52558e4061f12365a9d42cf5ec055bd5add328aea16158e9b5f8a7095483fc", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledUnsupportedFeatureException.java": "77f1381833fd2d70b277bd5d67f6b3bb6e8ac25de90465d741a7e0ad4f056a1f", + "prometeu-studio-core/src/main/java/p/studio/core/assets/tiled/TiledXmlCodec.java": "2acd6532ebfbe0052a60ee4e820b2c95f086b4ee7afbf12c8bb06f41fc92f8e8", + "prometeu-studio-core/src/main/java/p/studio/core/execution/DefaultExecutionControllerFactory.java": "4212d6808b0ee2505ffbbd644c09e16bea963232ec2b306ea68ea18c17602a68", + "prometeu-studio-core/src/main/java/p/studio/core/execution/DefaultExecutionSession.java": "5fcadec2b2b80230ec9d78cedd3a9b7fec0af0489418cf6273b0f84b77a6e82a", + "prometeu-studio-core/src/main/java/p/studio/core/execution/ExecutionModule.java": "46acaa660cbdc169719ea551c01b0818979d11c435b35817acb893822bea3d57", + "prometeu-studio-core/src/main/java/p/studio/core/execution/PlayStopExecutionController.java": "86cfdb1869f37507e140b3c3fd66e00192c02532046f1bd68764ba3c7484a225", + "prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryExecution.java": "a12760d7d1518589565a800fc91615529eb94bf38d530482073af40c997410c1", + "prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryPort.java": "f84c04aa0dfdf08883bb5c4aeffb8986dafb24b16e5e3bccc9665905f9912557", + "prometeu-studio-core/src/main/java/p/studio/core/language/TaskLanguageQueries.java": "4454052bd296a44fee24731a60ed4e49ce2f51de1883e7f2d5838558a64f71fc", + "prometeu-studio-core/src/main/java/p/studio/core/project/KnownProjectsService.java": "2ced771949eaeec523ff4891aeb64119b2754cff0706b95714f0f234652d992d", + "prometeu-studio-core/src/main/java/p/studio/core/project/PackerProjectWorkspaceInitializer.java": "d80d6efb1414bcf235b42d2c8bdab53498eaaec34361bda7a119423a63470a86", + "prometeu-studio-core/src/main/java/p/studio/core/project/ProjectAccessRegistry.java": "8ac899f15900881d508e7e189d13faa39cb3db91961c0361351c148f9eeaee3c", + "prometeu-studio-core/src/main/java/p/studio/core/project/ProjectCartridgeConfiguration.java": "54f804d015f3d0879d4f02dc0db6cd546196e1131341fb03853f62ab21625b4f", + "prometeu-studio-core/src/main/java/p/studio/core/project/ProjectCatalogService.java": "74f0eb96a0d36086da50f8e730df10948c444902fdf952ee6a1b0fcf33a3f9cf", + "prometeu-studio-core/src/main/java/p/studio/core/project/ProjectLocalStudioSetupStore.java": "a797e62466871b72180ac773e6de85874f393e946cf17b88e38515d61a81aa50", + "prometeu-studio-core/src/main/java/p/studio/core/project/ProjectLocalStudioStateStore.java": "0f1402d29a3b33564b3e38d5bdda863a97d76aec3793b0bf8b084bfe24d2b760", + "prometeu-studio-core/src/main/java/p/studio/core/project/ProjectModule.java": "ebd15aacbfe7a7b5e760693a88719c3a703f84ad1d81c57b64ec6cd3fbf07f45", + "prometeu-studio-core/src/main/java/p/studio/core/project/ProjectStudioPaths.java": "5fd16209b2982618b61a38f2e760a43b01ad48ded4d79c4c1a1ca1cd0523d279", + "prometeu-studio-core/src/main/java/p/studio/core/project/preferences/JsonProjectActivityHistoryStore.java": "b5475af8663652077f7adcad1d36afb568b3b0913c89bcd5e8eea575eafb50c6", + "prometeu-studio-core/src/main/java/p/studio/core/project/preferences/JsonWindowStateStore.java": "b079a1919b5864764563683dacad3528d5ea27abb20dc0c4d80a2269b86e976e", + "prometeu-studio-core/src/main/java/p/studio/core/runtime/HeadlessGateway.java": "23c64a9af3b9bda83129df3e4e637d3c1fe3b50c40d587ea923a2ec505e85108", + "prometeu-studio-core/src/main/java/p/studio/core/runtime/RuntimeConnection.java": "5dd5ac15435463e57b29bcdd35e9bdc486e0f0a2412f4a7fce7161fff305979b", + "prometeu-studio-core/src/main/java/p/studio/core/runtime/RuntimeGateway.java": "f06c32d56a676131ac0acb281e01b8aa24d2f6c8a7237b892aeb9a22d43fcbe4", + "prometeu-studio-core/src/main/java/p/studio/core/runtime/RuntimeModule.java": "e8ff11885062e8ff415b75eaf94c6a80090c0958c67cdbced696607baed838e4", + "prometeu-studio-core/src/main/java/p/studio/core/session/DefaultAutomationSession.java": "d225a1431a91c455c1f644cfe80cda8826faf3c90e829cfce7c6ab0338b3450b", + "prometeu-studio-core/src/main/java/p/studio/core/session/DefaultProjectSession.java": "b6b0621c64fc1aba1f267fdfb318db2bd3f086a736551c542af73620b3f55dd4", + "prometeu-studio-core/src/main/java/p/studio/core/session/DefaultProjectSessionFactory.java": "badea0cca606fd4eea48dae14d3e84c651eda2986ff5944f3f222bf3c71cacaa", + "prometeu-studio-core/src/main/java/p/studio/core/session/DefaultTaskTools.java": "b2d3000a40b775d30ac34dc7fb0e4b2086df2f8c9cb381ca4bac0c340b3f8e06", + "prometeu-studio-core/src/main/java/p/studio/core/session/LspLifecyclePort.java": "3c53050fb89fb6bb753c2dfb542eb4bb633937226bebc553ea583dd6dd1642cf", + "prometeu-studio-core/src/main/java/p/studio/core/session/SessionModule.java": "c0c0b585b465a5addf496e4474803018d89ca4170dfe2096dcf0d4f77b08f147", + "prometeu-studio-core/src/main/java/p/studio/core/session/TaskAnimationService.java": "678c32d2cbd9f7d4a31737263fa1f2e56c7bfe4b83e168d9a79448a4c7906761", + "prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildFailure.java": "1afdf96d57907f5cefdc97f6f1079356447c8ea030827b1133f1ae4a8f6d61a1", + "prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildGateway.java": "c4dfd68e090da1180695411a477d0012e30fecb5c4e710a368835e6e0893bcd3", + "prometeu-studio-core/src/main/java/p/studio/core/shipper/SavedProjectPreparation.java": "4c4ed5ae3d7d5a5ac3d602776f724811a4f7a17f4f2b134e9988ffdea7ebf958", + "prometeu-studio-core/src/main/java/p/studio/core/shipper/ShipperModule.java": "b20b25bc2a0e66ccc132f3ce18f038c17735c20475a453df7b15b25d3d4f2518", + "prometeu-studio-core/src/main/java/p/studio/core/shipper/StudioShipperService.java": "1a5d6eb9aa3f64e0af8f249362961e7cddb1540986dacc794e1f71eb01476fe6", + "prometeu-studio-ui-javafx/build.gradle.kts": "480b4c9457e02418d2dfc5c726f3836bba2225e0a38c7f6a1e02310b33ce0548", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/StudioAppInfo.java": "da49dfe99a59e652c134debc8f9e982f9af2a5e17af2107b8d3ab16576fcbf23", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/StudioJavaFx.java": "3e96c74f5f51929cd73014bc7a24a1363c489113ee927fd979c5fe1a035afd74", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/WorkspaceDockPane.java": "47d51e00e8ba3ae31207db21bd69f61d9e897a6b3e7360d0da1aa8d4592f6279", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/banks/StudioAssetCapacityMeter.java": "d04252d221c151479f6fd93f58f4c5526853e4e8eb9944a248455acd279c530e", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/banks/StudioAssetCapacitySeverity.java": "5257081b571e0432351f4392bd9eaf9885b6ee12922d2ba98a1422b35202d8a1", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/banks/StudioDualListView.java": "970007b3c1088b3ca381050db744f8d8ac5b477b068d6d85e7f05e31d284c914", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/forms/StudioFormActionBar.java": "d2a64090595387951510be705e38b8b3be0bb75b70560d6005a15581b72e3544", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/forms/StudioFormEditScopeChangedEvent.java": "eef40a982d862e2d778e6cae8d08901e72fa3ab4741d5bdf2e8fdb86efc38675", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/forms/StudioFormMode.java": "ab964d8611de99708688ede9e8c1d6801a37e92813ad9345f1c717773d190309", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/forms/StudioFormSection.java": "f8be9ca1fb47a8222704e24b6f1b8ab29bb766c6b65c5694fba81f0b6eef0f0e", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/forms/StudioFormSession.java": "fae22ed9dbc8aba6c2fae47443de420ed67d3c3d97856131d7c252abe9ce99fb", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/forms/StudioSection.java": "9241f649403054ee180c93c4c22d56b4344dfe20bf7fbdc5f2a41eb81d953a15", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/lifecycle/StudioControlLifecycle.java": "2aace10b6c7936dfaa9ccf83718fc78a7d1793e11e136c620ca2342fef34d29a", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/lifecycle/StudioControlLifecycleSupport.java": "02ea42ae5fd08e53652a8c159d33ce38b4957ec125b3050db7a2953cc6546992", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioActivityEntry.java": "812cbb259e4f76c2b6d1de6092cdc1239b04676ab486cf038ad8d47d446df66f", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioActivityEntrySeverity.java": "1f005e034bd268e2213ff6bb5b4fb0fea9818fb5b72e640391679923512e84fb", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioActivityEventMapper.java": "ab03e410d1eb76f17e72f77d9ed3b84b7b5181726570da219badf64838ab41cd", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioActivityFeedControl.java": "a3f2fda0eb1ecb377d8b92cb16c7595aa34ab2f91c3b711cd8719f8cf825ca36", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioActivityStorageService.java": "b528c392c17b35f3a093008663a185d88fc23c6baf08afdb32fad398ad92adf1", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioRightUtilityPanelControl.java": "c6915af8ff78a2e85c0b0fd37fe7470a9da5f6fa57b9ee67084f1615f299a058", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioRunSurfaceControl.java": "496c4f66d45773187869b0a086fcbb53d3e3caee8760012af40ed36dbe56ad34", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioShellMenuBarControl.java": "3d1c49567a36e16df06f201eae0d7225068a35dba9394dbc3a2771942a37e114", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioShellTopBarControl.java": "3c67ef5fe850b40888b807bc00bec001b1f0ffb28d53f6b342733c6909e551dd", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioWorkspaceRailControl.java": "a5b66c31c46eccbf360bd11301fcb4d195f8156d70552bf9379d77890a99ce47", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/controls/shell/StudioWorkspaceRailItem.java": "a217d648968c10da7bf2e77fdfd28a28d62ce5b67507fe9b32f334418c563bd4", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticNavigation.java": "44a67281f0968b73f1c0212f19ecdb574615f9c249f7a249d65209b55ee8d3a9", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticResultsPane.java": "4efd8ed531d03a35a1688181637b88eb6e0a4faaf70ac3435c01cfc5cf88ca03", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioAnimationOriginRequestedEvent.java": "cb5fa3bd1d1384145e0cba59bdf18ad8f288949526ec6d00936089ba5a695a0b", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioEvent.java": "9d3f6aab5864e037a1c5ebef02fec0bd4dbbc28e4d000ed85eefaa130391d3bf", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioEventBus.java": "3464217a415e1e559d7fa5563b3ab733191017ad276f6ad4f437d101ebf6a848", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioEventSubscription.java": "8af16df42ef197cacdb549a631431c7333d389bb7d1241e4a70b198b5d1ead37", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioExecutionLifecycleEvent.java": "ac28abd0ae6f87d55b6a4f08088f37565d0694dc888b5464c6d363c5e7373075", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioPackerOperationEvent.java": "8b4639f8e6151183ab38a21fcde3b4866ac664fe996dd6a89f1365867e66ac14", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioPackerOperationKind.java": "202459328257cf2cde7b5303246f5bbad6a904fbc6e745ae67efd73e3e10c208", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioProjectCreatedEvent.java": "66cbebaf30a7bd251a69349af6f0a93c8d46b9d46eb513c28cabf09dbb7dba05", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioProjectLoadingCompletedEvent.java": "aa6ae62afbdcf9ad450649599c70d0114d8079e9811bf07b6f7412e3a5a3ca09", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioProjectLoadingFailedEvent.java": "cf97f7040f42c79beb0e4dbf6465bced0f94709300a21f67b61ced0a787fdb38", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioProjectLoadingPhase.java": "e33bba9600bc03a217b3f6a7413a863a2debd015583839491ca83f229b96a585", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioProjectLoadingProgressEvent.java": "97fc31ca17c1a0ca26cd4d3325800d4ef51026e5f656cbdb32996e57657a42e3", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioProjectLoadingStartedEvent.java": "1a52943a45c44196d448f0bb78f30439fdfa961c6d05351e8c0b6f4ad1a68c31", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioProjectOpenedEvent.java": "16367bfba54906e46406980f3db8602159b6bec3998bbf107ae41832c56c6e9c", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioTypedEventBus.java": "4cd50ca44d139a17ee7c9ba030381e736435951fdd581c4e70fa8cdd7b393f57", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioWorkspaceEventBus.java": "394710d9743e3c9153e2087efc31f5c6209e763cf9336d60d821a10c1c03e411", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioWorkspaceSelectedEvent.java": "55a263429bbc1c9971ae4fcec7aece88d500354b061d9c1abe57be245444e7d9", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/utilities/ThemeService.java": "28b8f2bfbf97c6b8cd7012b67d42104395de01a571c30cb8c272769b7ff16bd3", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/utilities/i18n/I18n.java": "fb39152701e2ca5e63a8a3a874071fce330ecdd5c6262e031abea8ca74ad5071", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/utilities/i18n/I18nService.java": "15185759cd2048f3db68bf95c64c35d5e52bb1838ef2de7e7e71fed5ecea40f4", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/utilities/logspane/LogsPane.java": "3d94c1133731423ef96524e57d6dfefff3acc3466fcab3bef991a8483dd2922d", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/window/MainView.java": "a06eaf5fdf327388ca00073e33deb7751bd97a766161d594d51c7180799f5e04", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/window/NewProjectWizard.java": "cc6f8b8e8a66e23d97dedb4cbfd9801553494cda87b2c4e32a24b861c15e503c", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/window/ProjectLauncherView.java": "5716fb5bb7ddeb3944f271be12e6b894f3cbbaf870115c1a631b784020d33fff", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/window/ProjectLoadingShieldView.java": "71bb133a93b0e454350c787f11678f7111f3f26677b835bc40ee189b936b7c06", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/window/StudioWindowCoordinator.java": "0f928aaf0e3d6cdc5224e7373ef3afa951d810ee8803b0632d07c56fd997d7ca", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/window/WindowStateService.java": "a6121508b361cd3ce6f33ba6a2d5d1c83d1af926c1e510379a7fca36fc20552f", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/StudioWorkspaceLifecycleSupport.java": "9001f5fb4fa55fdfda97eedbd0a4168066c2ca6c3f5de5828dce30d7d8b9bf22", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/Workspace.java": "f4fd0f14ce0e1fac10a4c20bfd6640dccc6e0be20e2edfd7624f723faab209e8", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/WorkspaceHost.java": "c13dad7ad3b5d22ce6f24986b5f3ea7ea3e2cf186fdf42b1c32e4e5b39b5d76e", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/WorkspaceId.java": "cfe48cd290a302477b46d9e0d42bdc5cffabcec59298c856ae0ecf14f8f0fd7d", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/AssetLogsPane.java": "7d4363adc08f2a817c39a10b6d3c76b47b4715e78ea942db5c39f4ae93d3fd19", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/AssetWorkspace.java": "be51cd5bb0e91986578d4a33c510f1728f66f31011f89ce43c05963f9c5239c1", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/AssetWorkspaceState.java": "79d9a4b91c79a9866bddd748d8db6e9421946ed48bcec0cdb7ae661a9a3cc1e8", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/AssetDetailsControl.java": "b95ec37e9554f5fc4f6d48dc5cb13357b36cdc476341898c69ed3ac78d5babd5", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/AssetDetailsUiSupport.java": "518e67f8449ef921c48411aaa90b2d93ee434972d0664ad726ded8b2158f637f", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/AssetDetailsViewStateFactory.java": "b30eaf802e68ecfe7b9c511863d0f0e52d2771c0a745cd6e9f1c192f862faf89", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/AssetListMappings.java": "bdbb2d8fcab150c398da0a41dec219f97f6b4329d5676b15e01ad3cf8ae6080a", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/animation/AnimationEditorControl.java": "4701d71fc568480a3c204d117a321cd1e398d4b29bdcc4b498396bbe9343d288", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/bank/AssetDetailsBankCompositionControl.java": "7898a5077f7f685288e0b082e0dfae4b4b85af7a7da80b77b043638ceeb5586e", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/bank/AssetDetailsBankCompositionDualListView.java": "805f2224f7c0929d194e217d140fb613c0374f2e9ef62a0f9c2f008098d84e1e", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/contract/AssetDetailsContractControl.java": "b893c6331e577f834d9647e3f62ff2928c41160973f9afffddd198858852baf1", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/contract/CodecDraft.java": "079f89782529d84ab6c0037fa3b2cbd26f97e079f4f040a508826fa993003e58", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/contract/RuntimeContractDraft.java": "5c176e91d8dc37371675804e0bfe207bf8934bede8b959192737108cd20473b3", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/palette/AssetDetailsPaletteOverhaulingControl.java": "df266fae22c1de42063c340a56a2406add228723f3d6d54b4e7b7763a34b6d95", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/palette/AssetDetailsPaletteOverhaulingDualListView.java": "22f6d9b00d915120786d9379cd904b7e66aa1fe9baa13b6a17fb7385502e00d6", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/palette/AssetDetailsPaletteOverhaulingPreviewPane.java": "d8caa2eada7bddbef7c650c9da631ec6defdf204d8f505d26143513ea9b52283", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/palette/AssetDetailsPaletteWizardDialog.java": "da5195a1e4ab4ebef773d87965f6ba6a8c63d32d727f1a1f36229d9707e0f3d5", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/scene/AssetDetailsSceneLayersControl.java": "80a051bd56afcc10d349d60bb931dc5396801318406c2f39e7882a22660185a8", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/schema/AssetDetailsColorSchemaGroupsControl.java": "7e6bfed4af01ae343ea02a65553cb05b2a4872d58f8c948611b02e40a76f6c44", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/summary/AssetDetailsSummaryControl.java": "d7cf29fbcf1b158a1b31184482c16146ceedf1e1d4d7da50b2a95415b718f57e", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/dialogs/AssetDiagnosticsDialog.java": "eaa3129af50c1a2ea39209bdf9fa7dc8daa7e3a2f5fe88dafc88456ebe7bfc42", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/list/AssetListControl.java": "0316cad56bfb0ea9b177fdb1bd8e2b4d0bc653244f7e50f85784d03a499c0540", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/list/AssetListFilter.java": "b39c86203224425b8abc15a60c483ffd75df6d4ab002c3bf957b2a13ff89b29a", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/list/AssetListItemControl.java": "4d0b64fbb8d923c58188a8be8c6894c36e3ef4440cb126802e5942c14568b41f", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/list/AssetListProjectionBuilder.java": "273ad23cbaac3801e8df5482631875fb09b834086cad04d676d4f85c6aef1543", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/AssetListGroup.java": "cb3d29e55ded27844378eaffd6eb21365bc021ab1c323b3beb60d46f19239f67", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/AssetListProjection.java": "d571030a13ce1642ad09a3c445d931641d55abe41b5239f8180de8f9fadd0c85", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/AssetListViewState.java": "9ecf702783aa77dbc613a11eef2b89d549b8de75601cca38bd708d4788e6e970", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/AssetWorkspaceDetailsStatus.java": "0de85c471e3868e2b5e7dd215d31e53846c569e7c3bce92eb7c419320c4947be", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/AssetWorkspaceDetailsViewState.java": "e9ae9e16278f581b295213efa0f8f1870560aa9c68dd40f990bb9f024e6bedc9", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/AssetWorkspaceStatus.java": "c66df01a99467418cc67f3e34e03ae13a09c75b99652e0023790aaf2be19c7c5", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetBankCompositionAppliedEvent.java": "3baebb86e1d0465256772d09967a5dcb64c0599cedbb3d364e446d1ca9b0f363", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetBankCompositionApplyFailedEvent.java": "eeef9e8826768f8c8d392948228457407a82fcfad68b262b00af05caffce77a7", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetBankCompositionApplyRequestedEvent.java": "33fe05daebae6ece6e15cd5701cba1b41aed2c9c2e02997290bb8079466541f3", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetBankCompositionCapacityChangedEvent.java": "64c85fcfe3183cdd55881b05607669a84120d58aff6715ae4caa4901d3405bc9", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetBankCompositionDraftChangedEvent.java": "d619d276876f6bc693e08da6ab404d2800845d3679a1ccbb0e4bfe9af606899b", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetLogEvent.java": "d44bd0ff04bebdef787f2a7c53dbc0595cb327553df499c563b35096225c4c02", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetsDetailsViewStateChangedEvent.java": "934ff9ccb0ddaabbb5f2ca155c8b0452bb860b16c6c6c53da1a5ba75baaf4b84", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetsNavigatorViewStateChangedEvent.java": "4ba4a3f68bdc7bfd3f1adbd96cb019b555498a5359f1d408cac2273fed6794be", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetsRefreshRequestedEvent.java": "b016585ea6440911d65ae5513283a54d7fe1e251e8cec5d7df9ed1843d5d0906", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetsWorkspaceDetailsSceneLayerChangedEvent.java": "6217d571c7856a78d0be03b1337b356beef84849e3bfcdde5c6be292d6206f13", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetsWorkspaceRefreshFailedEvent.java": "f77d5054e0b83ec13ba6fac1ea43510d596df3ea0ba17ee178dbf0a9deb96afd", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetsWorkspaceRefreshStartedEvent.java": "04daf92e6c8ce0c0267affb05fbfc6378979c362abff3363ce94ff2e755c8d74", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetsWorkspaceRefreshedEvent.java": "35fc71cb4d5ad0df0b7988064799d63c386d930a28d02c26e29b7fc0c923ae77", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioAssetsWorkspaceSelectionRequestedEvent.java": "579188b46e0af3be92b653acd57ca4210fd19d70756f905d5a9dfc1b80ed7eef", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioBankCompositionChangedEvent.java": "2035ffe3dff8f85a1fc82021a98ae85fc3fd2ef1ab32f57c1fb5d42b45c2aa91", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/messages/events/StudioGlyphMaterialMetadataChangedEvent.java": "de09a4617b2a925a17708f2a0b87b13e46b7dd1ff200e27aef138a84b78c9410", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/wizards/AddAssetWizard.java": "a07e9026a0f291725cb6bee1346e66ce58808379f7ce2f53835a56a93a70d189", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/wizards/DeleteAssetDialog.java": "a04780e2885854092ff82987cbe62bfc60feb8df3e63de3004a1220423abde9d", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/wizards/MoveAssetWizard.java": "f60d817877136a69d580efa10aa8d351dcb56e188af47c3987c6f5fd28dcb9af", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/wizards/PackWorkspaceWizard.java": "e11256ee58cee4b8017b5ebf9d0647221e5930e8d0e49b303c81b9720c8f1ba5", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/builder/ShipperWorkspace.java": "85d62c1f528baccd9c4587d060b4f6588216a1107f0475012f5c0818661f38e9", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/debug/DebugWorkspace.java": "8ef4f0fedf17cea6d3c03f6d493009a792c57c5abaaaa1394aa3ec1e4cc8c30d", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/debug/DebugWorkspaceProjection.java": "4a4bcb789dc95bcaadb0d55cfda1fea4e3ec0e5a770679d7e7e795bab83e3452", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspace.java": "2b9ad8fdf1a1dc47969be62cbb3e58bc9a63e32f353c9aa8338a430850f57de2", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspaceProjection.java": "f85e98c1423399df5e6db06060df45f4c3ad48171e6acea3eddcda4bf71b3a4f", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/ManualProjectUiGuard.java": "b4f298a8d3c013079f5def612b227d7d3935761e34f60bfae5fea6d034b37c82", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/framework/StudioEventAware.java": "8431f9b5b178893e5c3642bff5c5cc88f39f874a35dfcce0ed3e2593a6a4fd70", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/framework/StudioEventBindings.java": "78a7c1ceda33843cb05fe5be45968a079850b7738f3f0b6c981b1d6878448999", + "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/framework/StudioSubscriptionBag.java": "ffa61dd730f0570a8f4d7c4df78c592024b831a434935850b37142e6875893c4", + "prometeu-studio-ui-javafx/src/main/resources/fonts/.DS_Store": "29e2489050f20489ada5236bbb508c25970bb2a6356810ea2f3ced157143cb6b", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/.DS_Store": "e7a1ee3f483405066acf92b3ee56c5c1776b24cf35af29a92e4beecd330819e7", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/AUTHORS.txt": "33f99c94ef0a0909d7584a5d4bde1fb9b1630daa620f5a788c28c43327e79412", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/OFL.txt": "30f0c136e3c88e422d0791acd97238870f9054a9729bc34cf2ff0d4ed8cac4ad", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-Bold.ttf": "5590990c82e097397517f275f430af4546e1c45cff408bde4255dad142479dcb", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-BoldItalic.ttf": "4039d5ce0ed225bf9c8b2c8c6436290ae2f356b7e90d70fa666227238324aa3b", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-ExtraBold.ttf": "8e501d3a6a883e83ea4f7852804fb0894cebdd67751bb1006b37a476cef34cd6", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-ExtraBoldItalic.ttf": "ec3a860fa87d0a3b1451277d1c2f3072f5ba19d2367aec54f7169d5710872610", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-ExtraLight.ttf": "8391e7ec13e8ba758c1838f56bccd973228ccf4dc74aa5bffe9525b9147b12f8", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-ExtraLightItalic.ttf": "3c7fee57538f18b61cc5f0784a8133fe5ee95feb41f633e8f6f7ef609e6207ec", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-Italic.ttf": "9d0a1f7a708e6af183f1193b7e81d40da294f5c67682c085d8401c60aac8ded4", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-Light.ttf": "60c18d7dd58d81b3bbd12e8ce32744a8771bfe2b5280574082b0eaed46c60d24", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-LightItalic.ttf": "18ffadb91fa711b45feae027ddfd561e7f97ace805ec4baf9905046cf450befb", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-Medium.ttf": "31c92d01a8a08528b718a43addf0ad3df0af2ca4b7b3290a452f70f358e14d3d", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-MediumItalic.ttf": "4477fda6bd472ef96b11bc1083370f7fc3ff427bdc807e682ced5819e3dee9df", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-Regular.ttf": "a0bf60ef0f83c5ed4d7a75d45838548b1f6873372dfac88f71804491898d138f", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-SemiBold.ttf": "1b3bfa1ed5665a4ce3f9feb68d2d4e40e70bf8b4b7d9a3edd418f321b4e166a0", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-SemiBoldItalic.ttf": "3b3000507a7285872395ddbb4e53a28f07910dbf494fb0d5e1421dd60b5d8436", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-Thin.ttf": "0756e8e8cf1d65fa7519776764479b3973efb15af4f419d5d7274dc27ae1b702", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMono-ThinItalic.ttf": "ebcdd13119b6beb7457e2f76b31094cb8cf1108e567030f8402b24dde018e76a", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-Bold.ttf": "0198e841824025f8876e5c297f0b9b497ee8d6eb9969710a3328e1303f996ec3", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-BoldItalic.ttf": "6c2716f2e85101f4109a8c16916061eb38176b3b10342834858d6221ec2fda1b", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-ExtraBold.ttf": "673f0209e5428e5f73a159df85806f8a5bf7f83316bb9554427a3eb877ee0cb7", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-ExtraBoldItalic.ttf": "0f386a0bd99bb2d41079fe438725b471b49a48e355b8d57399b7a6e8e1c63da6", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-ExtraLight.ttf": "4ffddcd8bbebbdd8c066bd66ea32aa7995fdb7bc626777b1a8948074c85a2e9f", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-ExtraLightItalic.ttf": "7d5c8b4d42d7a4c268398c066f71b606f7f071864e73740c99a58838c55efde5", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-Italic.ttf": "c7392a134293e1af1d36fbf04940dd844f632afbf97f8325d1591d3af5096cb8", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-Light.ttf": "8bf1b1733d0a32c4ada2451deb1bd36e6945be3bf2bf2ba80c2be7c95e57f230", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-LightItalic.ttf": "edbf41bed6eea37ae5d6ccd4353158d5bef140f1d078408ea20e4e599622b895", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-Medium.ttf": "44099e1efefba55637e0abbbf8dd3f526e59523345888a257bb01d39df4af74c", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-MediumItalic.ttf": "2a5c56075d7bec1d54fa9761d5eeef7d4267e134d86962011425503b27e61ddd", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-Regular.ttf": "fb3b2575d7b0657359707993288f12a7360344d39387bb26050e276d61f6bd2a", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-SemiBold.ttf": "2c5dc6725fdbb0dccf65adceb38fdcd95e5fc8a5b74d5c150e38a5faa02a8945", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-SemiBoldItalic.ttf": "f813544badbdab235b1f2f9933bb978be0a87cbde0133aaa05b80a84a7d94c22", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-Thin.ttf": "1acb532f18726155022a1e8b717bf7bde3eb30e9e064ccc6d17b3d91e95204b0", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/ttf/JetBrainsMonoNL-ThinItalic.ttf": "58812240c633523eb930ac6ce86f392f4e2b5ad920549278d1758d70af972ad7", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/variable/JetBrainsMono-Italic[wght].ttf": "f115aaa12113718c02ce72864fe6823b87241bc23d3e44cf1220155f861063f2", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/variable/JetBrainsMono[wght].ttf": "662a196d58f1183bf2d77428b6d5283fe3f45161ab021bea4036bc98e5cac016", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-Bold.woff2": "c503cc5ec5f8b2c7666b7ecda1adf44bd45f2e6579b2eba0fc292150416588a2", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-BoldItalic.woff2": "3a013466c0eee979fb9d42c2d7a8887cd3645dc8b897cfc5b71781cf982efc5a", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-ExtraBold.woff2": "88097a36a292c145a14394f1fd5133f76b9a3d6fdb133834b2c94a3db61dd39a", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-ExtraBoldItalic.woff2": "67718afd5e93925277efb878127107f0ff668059ef5fd799fb31ed12aaae7a96", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-ExtraLight.woff2": "e7964fc553a794d00167f168dc174fdd19b083c30ad213bfc2e6a95876912a44", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-ExtraLightItalic.woff2": "c43d0dd87523c65879334d43651d3fb1815ca1d18d27507356e6704322d63b79", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-Italic.woff2": "cb6a1b246318ed3885d7dffa14a2609297fe80e9b8e500bea33b52fa312a36a4", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-Light.woff2": "43eb798d59b557c3d87c1402ce684b3fda1ad66bf7ec8021b0a43dc31ad9c572", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-LightItalic.woff2": "49c50b344b458c1322d859f4f0d9db7f770533c1dbdab31defa0987c29925b9b", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-Medium.woff2": "086c48dfbea9ddaff1320f7e09399b8e2924e88ce67453721255db3bdbb5a353", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-MediumItalic.woff2": "1c9b7a62ee6c3f77c82982a3d0ab7ead8805f5e67ccfc1942037fc65f398f22b", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-Regular.woff2": "a9cb1cd82332b23a47e3a1239d25d13c86d16c4220695e34b243effa999f45f2", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-SemiBold.woff2": "918edad542a1da608fd2ba8daebaff9ac802309103fe760eed465b8b4e47faf1", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-SemiBoldItalic.woff2": "07daacf7fc1956b5b68d902ab4763a062b196a3665d713e54bff066c667c0674", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-Thin.woff2": "01c7c4cd01380e75fb1b5ff9900508afcd89a83d0b0e6f70e96ede53183ab53a", + "prometeu-studio-ui-javafx/src/main/resources/fonts/jetbrain-mono-3.2/fonts/webfonts/JetBrainsMono-ThinItalic.woff2": "c261d07880deb91518e190c19816ddc93a69bf4539b8486cad316b6ed59a065d", + "prometeu-studio-ui-javafx/src/main/resources/i18n/messages.properties": "5366d28f895d60ec1bf05e93e9fc2364b5fbb37258f17a152a5898a0ebe9dc14", + "prometeu-studio-ui-javafx/src/main/resources/i18n/messages_pt_BR.properties": "bbea7a6ec32ab392232df4e40b7f571a6c40387cbbc074cc39438ba5ce85fee3", + "prometeu-studio-ui-javafx/src/main/resources/icons/.DS_Store": "a2192b22fa1246ccb8154050e6d7a7d41ba3f01b8084945db49e8bb73e433103", + "prometeu-studio-ui-javafx/src/main/resources/icons/editor/.DS_Store": "d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3", + "prometeu-studio-ui-javafx/src/main/resources/icons/editor/lock-closed.svg": "36a0f7460e8a135d4854699996bace121ecb2d7de5d1a999a7a068669fb372f3", + "prometeu-studio-ui-javafx/src/main/resources/icons/editor/lock-open.svg": "a3c5d1b64b1f6b0dcb1e7121d3a8fde0be0e0083b6ab5063d0912d59ddcf28f8", + "prometeu-studio-ui-javafx/src/main/resources/themes/default-prometeu.css": "a32672f4cc7a6daa907b96fbed032c433e5e48656bc5e217888f3c3444fc7147", + "tools/pbs-production-corpus/PbsProductionCorpusProbe.java": "a1c16e4c60cdda3f26614d2949ad815f3737471554f2a57da47155949e60c6b2", + "tools/pbs-production-corpus/README.md": "90b0f5ab4abaea299d81d1ed2475999b2a377d3d83645c5d9d29297746288219", + "tools/pbs-production-corpus/run.py": "234e6cef13e03d0fc05b33d3a51b1e6387ca68d280efac962a2f3948bdfe7a0f" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/cases.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/cases.json new file mode 100644 index 00000000..6362d3db --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/cases.json @@ -0,0 +1,451 @@ +{ + "schemaVersion": 1, + "cases": [ + { + "id": "F1-local", + "family": "call-comparison-return", + "description": "Control: method result materialized before comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { let value=data.value(); return value!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990" + }, + { + "id": "F1-direct", + "family": "call-comparison-return", + "description": "Method call compared directly in returned expression", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61" + }, + { + "id": "F1-two-calls", + "family": "call-comparison-return", + "description": "Two method calls as comparison operands", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()==data.value(); }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f" + }, + { + "id": "F1-service-this", + "family": "call-comparison-return", + "description": "Service receiver this inside a returned comparison", + "control": "F1-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { return this.value()!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n" + }, + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089" + }, + { + "id": "F1-service-local", + "family": "call-comparison-return", + "description": "Control: identical service call materialized before returned comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { let value=this.value(); return value!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n" + }, + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb" + }, + { + "id": "F1-condition", + "family": "call-comparison-return", + "description": "Control: direct method comparison in an if condition", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\n[Frame] fn frame() -> void { if data.value()!=1 { let failure=1/0; } }\n" + }, + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014" + }, + { + "id": "F2-locals", + "family": "nested-call-expression", + "description": "Control: effectful call arguments stored in locals", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let a=next(); let b=next(); let value=add(a,b); if value!=3 || calls!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218" + }, + { + "id": "F2-arguments", + "family": "nested-call-expression", + "description": "Effectful call arguments evaluate once, left to right", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next(),next()); if value!=3 || calls!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c" + }, + { + "id": "F2-expression", + "family": "nested-call-expression", + "description": "Effectful calls nested inside arithmetic argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next()+next(),next()); if value!=6 || calls!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073" + }, + { + "id": "F2-struct-method", + "family": "nested-call-expression", + "description": "Struct method used as another method argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { let value=add(data.value(),data.value()); if value!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894" + }, + { + "id": "F3-single-file", + "family": "same-module-files", + "description": "Control: function and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "fn increment(value: int) -> int { return value+1; }\n[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a" + }, + { + "id": "F3-function", + "family": "same-module-files", + "description": "mod function called from another file", + "control": "F3-single-file", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod fn increment(value: int) -> int;\n", + "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1" + }, + { + "id": "F3-global", + "family": "same-module-files", + "description": "mod global mutated from another file", + "control": "F3-global-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod global count;\n", + "src/state.pbs": "declare global count: int=0;\n", + "src/main.pbs": "[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n" + }, + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34" + }, + { + "id": "F3-service", + "family": "same-module-files", + "description": "mod service called from another file", + "control": "F3-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod service Helper;\n", + "src/helpers.pbs": "declare service Helper { fn value() -> int { return 3; } }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22" + }, + { + "id": "F3-global-local", + "family": "same-module-files", + "description": "Control: identical global and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global count: int=0;\n[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n" + }, + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924" + }, + { + "id": "F3-service-local", + "family": "same-module-files", + "description": "Control: identical service and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Helper { fn value() -> int { return 3; } }\n[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb" + }, + { + "id": "F3-file-private", + "family": "same-module-files", + "description": "Negative control: function absent from barrel stays file-private", + "control": "F3-function", + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); }\n" + }, + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb" + }, + { + "id": "F4-distinct", + "family": "homonymous-types", + "description": "Types ARoomData/BRoomData; dependency=True; direct=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct ARoomData;\n", + "src/a/data.pbs": "declare struct ARoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: ARoomData = new ARoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct BRoomData;\n", + "src/b/data.pbs": "declare struct BRoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: BRoomData = new BRoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811" + }, + { + "id": "F4-same-no-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=False; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=1 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); return own; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5" + }, + { + "id": "F4-same-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831" + }, + { + "id": "F4-rename-a", + "family": "homonymous-types", + "description": "Types StartRoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct StartRoomData;\n", + "src/a/data.pbs": "declare struct StartRoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: StartRoomData = new StartRoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e" + }, + { + "id": "F4-same-direct", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=True", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { return room.value()+B.value(); } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e" + }, + { + "id": "F4-public-aliases", + "family": "homonymous-types", + "description": "Two distinct nominal RoomData declarations imported with aliases", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { RoomData as LeftData } from @caseapp:a;\nimport { RoomData as RightData } from @caseapp:b;\ndeclare global left: LeftData = new LeftData(1);\ndeclare global right: RightData = new RightData(2);\n[Frame] fn frame() -> void { let a=left.value(); let b=right.value(); if a!=1 || b!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub struct RoomData;\n", + "src/a/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n", + "src/b/mod.barrel": "pub struct RoomData;\n", + "src/b/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n" + }, + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207" + }, + { + "id": "F5-shopvisit", + "family": "imported-struct-construction", + "description": "Imported ShopVisit, alias=None, positional=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { ShopVisit } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: ShopVisit = new ShopVisit.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct ShopVisit;\n", + "src/scene/main.pbs": "declare struct ShopVisit(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { ShopVisit } from @caseapp:scene;\ndeclare service Link { fn read(scene: ShopVisit) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38" + }, + { + "id": "F5-scene", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f" + }, + { + "id": "F5-scene-alias", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=WorldScene, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene as WorldScene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: WorldScene = new WorldScene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959" + }, + { + "id": "F5-scene-positional", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=True", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7" + }, + { + "id": "runtime-trap-control", + "family": "harness-control", + "description": "Deliberate guest fault proves frame assertions are executed", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "fault", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "[Frame] fn frame() -> void { let failure=1/0; }\n" + }, + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9" + } + ] +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..52d81aacb8f2ce95fbbb107cda68ff323061133e GIT binary patch literal 1176 zcmZ{j&1=*^7{({9tzQ@QU{OR0UB!zbLiJED?RpVUi5Eo=ad$h>K+;{ZyH>@62!cuv zih@_cFGMf?9sX1Po|%kGYklCEcYg0XnVHNaY4^5~4!d^$W{30v9N{(+-Mf?6aFx^@LuNiYy2b#% zBaYAYGqdC>84qesMIC6y%u?!B@nbGgiOG3da`hGC=giDm$G)ivKX5qCz~Pz$A8nrr ze0&f4HH-;$9k~>E+0l&8@8NKH`p5=YyO#p5di=|4Eng*W;`Nple&TM+dhRm5-ttA_ z6|5T#()hH6uwUJ)6xe_KGuG`&FYqgT4@=^=xDcRs_&u%!NOkd+06oXw@kD?=;m`Pq z0DZw<@iQ!`F4l9>2mB4c6rix*MUUnjG0#WMu(lIBjjOV-gU5r)#zoVsZNA;~MkCvF z>O`N^5!|_74g0-n94B*-u03sreH%aQRZ}|;p1{o5AIC*m*}U8;C!HeEzqH~j|E^UJ hH>Y7}oh&d+b~_+CX)$At;V4qkEvl3hUdGez_7C4QXF&h} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..52d81aacb8f2ce95fbbb107cda68ff323061133e GIT binary patch literal 1176 zcmZ{j&1=*^7{({9tzQ@QU{OR0UB!zbLiJED?RpVUi5Eo=ad$h>K+;{ZyH>@62!cuv zih@_cFGMf?9sX1Po|%kGYklCEcYg0XnVHNaY4^5~4!d^$W{30v9N{(+-Mf?6aFx^@LuNiYy2b#% zBaYAYGqdC>84qesMIC6y%u?!B@nbGgiOG3da`hGC=giDm$G)ivKX5qCz~Pz$A8nrr ze0&f4HH-;$9k~>E+0l&8@8NKH`p5=YyO#p5di=|4Eng*W;`Nple&TM+dhRm5-ttA_ z6|5T#()hH6uwUJ)6xe_KGuG`&FYqgT4@=^=xDcRs_&u%!NOkd+06oXw@kD?=;m`Pq z0DZw<@iQ!`F4l9>2mB4c6rix*MUUnjG0#WMu(lIBjjOV-gU5r)#zoVsZNA;~MkCvF z>O`N^5!|_74g0-n94B*-u03sreH%aQRZ}|;p1{o5AIC*m*}U8;C!HeEzqH~j|E^UJ hH>Y7}oh&d+b~_+CX)$At;V4qkEvl3hUdGez_7C4QXF&h} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-condition/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..3eece9eaf23289955a448b6fa148d51d4104708a GIT binary patch literal 1198 zcmZ{j&1=*^7{(`C+xl@)4;DqR&{ez`BB+OYY1fN*N<4{|b$6R+AnC5zT}4kK2rWqQ zqtJ^7!7oHF{we-P{+{`8X{`@D^Um*mCo_|oB<R&V=ZTWW?bl_GT5%?2&tdIJp7kPTGm}T< z*rko>z*3De$U8bCbA%*E}oy#2wFi?mE8h z`3g~Yqk9d~_|!w#uWnZg?0$h6>yD*YcpE>!lK3qy1n529#gzc5F5VQNm-suL2+$|| z89x`GFZe5dfhE<&dQRHI-|&_Ih52?I{@wqA=ZnN{chn5)e3DP&sx0!svq6=|MboSE z?$f3>8s$y9PV}K2$L)vJu-~i3angeH8KljypT|#n)ij?2Ph)26kK>}O@@~0VPTEDH pKWxQS{#~mcZcM|_I+`mk(%cVd1C}x_^@Ep4h{>J}6P<2}jvOD0r+TV%)9{&h-7yMbrcjN!UZ(s%G{>8~!YR3r_Jq&dw z(T%DJSj~*qdqWpCriIovf{!_M5i>h;X=cW6c7^P`Tf$yM?P3P7300}XtXOZ}1Q9pV zAQ0P|A+TyQvC+jO=B2GZkMGWF%&PShvta8ICTdMtU3bFDLTu+PSbxc8b?M909K*V~ zF1u*l>WMjOtKIMd^Bw9Gg4ezsyx!;1fAa^XwA*7cU%y81^BY!8^oc3$f3ljf3&T3^ z_30^nw$|scYjCC3GCyFe)|z()Ua0jc>@w7!_fUOY3x8hyf5B__NG4hxAl!xb;Z-O| zKZ3agcntMq3JIXR^o9hu4WB~wjqnC;!A%M98cN@k0I%RTct-+!grDF&3Gf+yfe$2r z^3r<3!ds~4`%D7(@AJ>@II%PxRQ)m=W#h2ue-?QQf%%{$o^`LQPbKVeuol|JnEiG<#25rBvFETc2LF9tPuo9`v3VQ- literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..086164d46e87b76b255e38fb4e054c04191e2657 GIT binary patch literal 1287 zcmZvbyN=U96o$vk9U3muu0%s%1ERt5O0WeqyP-i;HWi{VN!Df~>`mk(%cVd1C}x_^@Ep4h{>J}6P<2}jvOD0r+TV%)9{&h-7yMbrcjN!UZ(s%G{>8~!YR3r_Jq&dw z(T%DJSj~*qdqWpCriIovf{!_M5i>h;X=cW6c7^P`Tf$yM?P3P7300}XtXOZ}1Q9pV zAQ0P|A+TyQvC+jO=B2GZkMGWF%&PShvta8ICTdMtU3bFDLTu+PSbxc8b?M909K*V~ zF1u*l>WMjOtKIMd^Bw9Gg4ezsyx!;1fAa^XwA*7cU%y81^BY!8^oc3$f3ljf3&T3^ z_30^nw$|scYjCC3GCyFe)|z()Ua0jc>@w7!_fUOY3x8hyf5B__NG4hxAl!xb;Z-O| zKZ3agcntMq3JIXR^o9hu4WB~wjqnC;!A%M98cN@k0I%RTct-+!grDF&3Gf+yfe$2r z^3r<3!ds~4`%D7(@AJ>@II%PxRQ)m=W#h2ue-?QQf%%{$o^`LQPbKVeuol|JnEiG<#25rBvFETc2LF9tPuo9`v3VQ- literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-direct/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c17229f806148cc75c5e9a15d099e216c7b7f14b GIT binary patch literal 1309 zcmZvbON$dh6osqfV|;9Uzzn!CI8j8f=>eUEZf4>}Ty{fZIx+Hv;qknm0zz$fqv ztiUFL7uX$e8~+zU)qP`--35P^{%-u=_(!pGaJ!7}!T*C_#R|&(i<70)juR+)1nNwp z8&wmqni;Nl2QF+(9j$EyA9LywW_ITC%#7dcD%p9rguRH;#q{ARs7f7X#d`B5h`5m| zf!N**fmNG{jV`8PUfJpk`0l*MtXjWe7HnOEiCR-u*WF-cA-3}ttiNQly7XmgbU|*e z%PtzXdc|fM=9r!1hL@P{P-hXm_D$jSewQBS4^C;f(`3GWkl^Q6t(xc)Q(9*h)RG+- zN&v6VI62nmN_`%?23JZg^8?mPt$AnR#ZsTfE<^o)57oz|@aI(*2wuCVGSTV-;V!%n zuR%fj5lkh(W2lFdNdV=gHzdGq_!O#pgtzb=+>`)sp!Ajmcn!b8I}+dn{0Q$!fKTu< zd>{dom)1iT-a|d&XA;1#_uR?x_xi_poOrX@FM4@0Oh#eWO_R>8PL_me(aMwN&7#%s zCq*rf)S~-f?RwU0x3WPPRZwc1xahT$aI=+-67}yP$cpVjn0B+I+1=<4YiXpHyXZ3i v@0It~M!qzU)aGJmJ?Y#~-%8lyU@f$bF$e5;m@x=cV$We?4F3DPp0OOvfF>InL}gPUnvi&H*1{%{lfZ(g5CuXM zK!Kn^3q3D^1Ra70;3fnTNEEyQeE--(*pOfP=J-G7jAv|*gVuQ?ZMWm};U4K(sKI@B z3p3Cru|eDdzq$TFQhnbU6zAY)b-k7AUtAv`&ciN>>e&VhT-S+`YMXVWvRZL0W%q;j zB+5}eHQjc&mJZ6aF)h57kzB5HX9?3Q=cZQNVi%|$1o_R|x=E(-Po-&l_L-W`)7B{j z_Nhs%*h*mZVnSY{?sFQ-{Tj1kuS2tF`$8saHATJd&@^p5_;22#%^$O!`T)!HYp>;f z%IZ?JQfQWJcR9Qud53n!yC9IgIYv`5K3zxzcGk!!d6MK6zs@yN^4B#y2}S?nc6Cy(3LicY^D z7meK4!QBCkOIfem$p)T3gVQkzie5MNu6D9ftW&)gxMO$VC21D7(<|w)k@&M@bxxOOvfF>InL}gPUnvi&H*1{%{lfZ(g5CuXM zK!Kn^3q3D^1Ra70;3fnTNEEyQeE--(*pOfP=J-G7jAv|*gVuQ?ZMWm};U4K(sKI@B z3p3Cru|eDdzq$TFQhnbU6zAY)b-k7AUtAv`&ciN>>e&VhT-S+`YMXVWvRZL0W%q;j zB+5}eHQjc&mJZ6aF)h57kzB5HX9?3Q=cZQNVi%|$1o_R|x=E(-Po-&l_L-W`)7B{j z_Nhs%*h*mZVnSY{?sFQ-{Tj1kuS2tF`$8saHATJd&@^p5_;22#%^$O!`T)!HYp>;f z%IZ?JQfQWJcR9Qud53n!yC9IgIYv`5K3zxzcGk!!d6MK6zs@yN^4B#y2}S?nc6Cy(3LicY^D z7meK4!QBCkOIfem$p)T3gVQkzie5MNu6D9ftW&)gxMO$VC21D7(<|w)k@&M@bxxNXGoM6X?2`akDXSEW)N)h-%oryXYx4@u8K0FU4k z6d)$?hPVxiB>sT<{xT>Qp}?T$?Skin#CcfG^E-Gx%5#Y*skT{1a;p_5QuY97Pr{Ar z3AEgBy)$rWV`_LUBl(}il# zwUx*oOx7Rwy(}at){5suA8c@M_cAC+WZOI$+?;p`gK_DJ+8WB z+)4#oshhH$Ge>(SPh-*;Iy~1y(*AV2S4F~4Eh3J zL3@(E!FPBngH)G)CWAi156~VZ|GwAGj?cq?xXa|@xS#d9$uJp(X{VjEZne@RY-f#b z65q%g{eF^_yA@sMT~NM~_L_}!5LOB}U8^YTHIwjqBON8W>-&H=HV0w5lO}QJT4z{p zSLVnrxyshHy1liLZ|zo!w29Vw(z>d9En~Msw9+!h?6Kp1#vo9O-G|LF_}}OKbo>V> C4u8M^ literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..d259cfb9c11492588d174dbd55f01f110208817d GIT binary patch literal 1310 zcma)+O>0v@6ozkNZ50<{olIjtZ7g5xXo%<8`o~Ji%#33MrWI+vO@G(U$sB;Gh3r)qa|+RZ&>d^ ziX7j2d@SKc!Y32fEs)OQ z^SCKMkvHu#z;}??gO9@{|xc?XD^oxXV20l&HTDJmsiP!L*z-z<-z8hHMVttE} z!$YilEY0B~_>lk|!bh=gv-AwV#?J-lDHgvFpeOh%ekDL3@JIYcfIeY;>+b|e`D+mt4M{cU^6%==5CsM$zf_T~Y1Tb-lOaX0dwF z)vC)YYlF^8?#iTeH+?$4?DDJn+Zm^>ce+D2K}tK?qC}JGvTTR7J84TLmDoa-qlu@C G9OEAkw`XMl literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..d259cfb9c11492588d174dbd55f01f110208817d GIT binary patch literal 1310 zcma)+O>0v@6ozkNZ50<{olIjtZ7g5xXo%<8`o~Ji%#33MrWI+vO@G(U$sB;Gh3r)qa|+RZ&>d^ ziX7j2d@SKc!Y32fEs)OQ z^SCKMkvHu#z;}??gO9@{|xc?XD^oxXV20l&HTDJmsiP!L*z-z<-z8hHMVttE} z!$YilEY0B~_>lk|!bh=gv-AwV#?J-lDHgvFpeOh%ekDL3@JIYcfIeY;>+b|e`D+mt4M{cU^6%==5CsM$zf_T~Y1Tb-lOaX0dwF z)vC)YYlF^8?#iTeH+?$4?DDJn+Zm^>ce+D2K}tK?qC}JGvTTR7J84TLmDoa-qlu@C G9OEAkw`XMl literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-local/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..bc0ca0e04e6053e093d0032eb7b5cae422348223 GIT binary patch literal 1332 zcma)+O>0v@6ozkN{lY~piWU(pv4V<(h}xBlHo6c&NH!`6hIpM~YtqKsMD50fxDpW& zQBV;VE<`ut#xMN%E&c-+F5LONXJ*oNaN!H@oO#YUckblgxoOnTXVPXH|2^CzJ%UU4 z0e*=!iYkapU5 znA`-jm$t(h%T3$(zkOp_!=C5~yQ*$uT)W9#wA&^<+S?SJdICP{yY^=O%Cc3O*#TR@ z54Q>5vEGIhIlleKTYPy~A4_<9!g?%Hyne!Hg)4y-mT`P*k*k^nsa}gf6i+35JmGr6 zrxMm#kj~)?xFJB1&w3oP|0Y)I7nAzsgy$3Pt>T<{k?_sHXNX$sR^Sft8om>FiP*U}=Ma3pzUByC{6*X8`Y+@4x;Vp<*xo(~l65UPKXA-p$Ng*m0 zA&p`o79svYw6O4NSXtQkRs5a%X0pkU!UN~td(NGmnfGSiW>dGEaKPg3;WhR!tiUz6 z4u@bB;~RMo{6+m2Q{%o9l=s3Pq25RRlX{Fi0)Gd8KlLB#6J$ZZ*@AyLM%+Lai-m^Z>6YYcQ_TwCb3vGI8s}>{6N$c(=&3|cCt4>j+<>~>nFNUX zW+}IH`2`I6x0C+eMBhtvf1AETT_pN(&@<#5KHb)reirm~vesG+`U3ePd=d0H@+GJn zDk#5!`X+^!P+H%o@Em@HZzaGc{0QGmfKTu<+>ik3ODhZS;1{Slgm~WZ8$FHJZug7D zo?r6I_3r$v&!6O7U!N^HJ>Py*bozZ?)OrnF-$O7f7H53DHox$2sk4y#AuQd!($436 oeqVnj18b$zUG~FRTG1vY8#KOF#rGn literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..e502ae256ff0a72e426689a9e521b408206207a1 GIT binary patch literal 1266 zcma)+KWkJ$6vby_G>U}=Ma3pzUByC{6*X8`Y+@4x;Vp<*xo(~l65UPKXA-p$Ng*m0 zA&p`o79svYw6O4NSXtQkRs5a%X0pkU!UN~td(NGmnfGSiW>dGEaKPg3;WhR!tiUz6 z4u@bB;~RMo{6+m2Q{%o9l=s3Pq25RRlX{Fi0)Gd8KlLB#6J$ZZ*@AyLM%+Lai-m^Z>6YYcQ_TwCb3vGI8s}>{6N$c(=&3|cCt4>j+<>~>nFNUX zW+}IH`2`I6x0C+eMBhtvf1AETT_pN(&@<#5KHb)reirm~vesG+`U3ePd=d0H@+GJn zDk#5!`X+^!P+H%o@Em@HZzaGc{0QGmfKTu<+>ik3ODhZS;1{Slgm~WZ8$FHJZug7D zo?r6I_3r$v&!6O7U!N^HJ>Py*bozZ?)OrnF-$O7f7H53DHox$2sk4y#AuQd!($436 oeqVnj18b$zUG~FRTG1vY8#KOF#rGn literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-service-this/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..8be96a8fe9b0213701b9cc54007bbe6521915728 GIT binary patch literal 1288 zcma)+J!@1!6ozNl_=SZAC5nwF z#>w8;9Zp-VY2*LS8+DoeqH(owGfv)@iw;M&)pm@CEAx zq{#8aBkwBPgZ^m3`x4eqA;s&*jfPwctT2z`Nky(J2~xiifhe9z_-w*637=0`=PzBt zddD*XihQ}m0hiywuzxk_Ur+c(!u@r8jl4+sZs1vBj_e zh^MjMQ%Ug!)|V+g#$tV?(nI_izZ9T%_&t6tKp*f&{8oU}7b{Ay@F%P_q`2PK5(noW zzuY6#+wFd_-194bwccHr^ZC8J>+5qxr{~*uicY`pi-}%CFZFJm70a`}KC!TLYo)W4 y`zj^9i)A^V_xYm!V1}jJo$jh1p`;ycQKCunoZDmLUdBpAQ*0rtF~qx!9OFMJBxBY9 literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..0ef4c780c39cebe64356ad1ef10dc570d164dea6 GIT binary patch literal 1309 zcmZvb&1(}u7{({{qkdfcfEGkB*eG6H_E3AMmo{F+)2=7+vL@-q1~(>bl8PdNpchdT zy@-17=073mP4FUksJ4jy9X$yCp7}5s^T2Q3dFFk0W_ETqsb4YDe%nrO9y7cfD)0=x zzzk#zydv&`9r{}gs_rX|;vU%a{k`7O9Z!j2!`NB=kdDp6AIU!Cz*D~_enW1u|= z*Q%z%Y-YIL8Mt9%>Ub?9g)!$Y5vFG@PtAnIu97|OrmzR$yMzs>fhx6`72BILm6#K$ zGLYDlVPMr}5~G7j&0AZ2fxg?XF{`$pnt5B7@}TBa)N!ZGEG2%GaX+>-I{GClPZHe> z^C~e5#;uXsj2)tR2R}i3k%AAGBKU(Y{WpJj!n-xb&+7w8;rXg{V}E+Whfl35*@DRD zgI}ER%ifTEK`+EeKu{ns^og&XVH#@^xJJz4O;4=TO)$Of~ qLTNYF1sARLymdqOR>p3JXr*P0Ib_?Tw3UiV>^|%mO?bcHC*vQ3tbOJH literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..0ef4c780c39cebe64356ad1ef10dc570d164dea6 GIT binary patch literal 1309 zcmZvb&1(}u7{({{qkdfcfEGkB*eG6H_E3AMmo{F+)2=7+vL@-q1~(>bl8PdNpchdT zy@-17=073mP4FUksJ4jy9X$yCp7}5s^T2Q3dFFk0W_ETqsb4YDe%nrO9y7cfD)0=x zzzk#zydv&`9r{}gs_rX|;vU%a{k`7O9Z!j2!`NB=kdDp6AIU!Cz*D~_enW1u|= z*Q%z%Y-YIL8Mt9%>Ub?9g)!$Y5vFG@PtAnIu97|OrmzR$yMzs>fhx6`72BILm6#K$ zGLYDlVPMr}5~G7j&0AZ2fxg?XF{`$pnt5B7@}TBa)N!ZGEG2%GaX+>-I{GClPZHe> z^C~e5#;uXsj2)tR2R}i3k%AAGBKU(Y{WpJj!n-xb&+7w8;rXg{V}E+Whfl35*@DRD zgI}ER%ifTEK`+EeKu{ns^og&XVH#@^xJJz4O;4=TO)$Of~ qLTNYF1sARLymdqOR>p3JXr*P0Ib_?Tw3UiV>^|%mO?bcHC*vQ3tbOJH literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F1-two-calls/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..7413d8c75631556b75b776dee49f72d90291682f GIT binary patch literal 1331 zcmZvby^9k;7{({($N5qCao~Xn28<$t%NBZtHg~ZRt6eLxiAiqb1ve&al9M|`5VR3R z(MC|j&VNGCPO!1_3(;1=!v8>j&wOMtr4jsYH$9o(H|5<<<@5SXQh2^e;R0ToGPrM1|RV_%tyC0_Xss`yc+=VM3 z$v=RO40;GpAeTY%&!CV&%9kI>piOuVswwF$yn~w{y#e`KGUzpYgF7~=H(yDp!e_RL;EodDOX{ywXi$p|Rh#_fiG?2+O#bIMt;zGoQ zh&ZhTLER`tv_cU@DI!jwdnZJHh0lA2#>Bqx-0!^Kccy#qxi>R<#7N8Sb>YiJ(!J0F zm*ER6f)a@j#Kka7Vv2_PJznA>!OZw}AMIJ%{luj(=kv>GzonfZN~(2gv$tBYEoE1F zt9`XKOjEN;os~UgIxAt$9(Byy5o#5}xG~HsrBUeX++o5opVj?4g>lo^4L+xFBX%ci zO;5xFN|4Cdhejf8D;dKhFj+Ie)tI!sX6dB)6g5ZIjN1ID%_h2fXN;b3xauwJ^}Q7a z>~cfw!#T}2WVVq#N^8K*=++)&oLhB7U41R#_vCU}v&Gij^DmwzCGKEqGYeM;f^PdjTO;!e;#O50%vJO?S%UpPDO=e$o7$Kaj!yNLTC z{CPIg&gB}-dNppvlc`F%6px=7uf(ZRGhdB!r<(ajBW@Ygta^-~abRL;EodDOX{ywXi$p|Rh#_fiG?2+O#bIMt;zGoQ zh&ZhTLER`tv_cU@DI!jwdnZJHh0lA2#>Bqx-0!^Kccy#qxi>R<#7N8Sb>YiJ(!J0F zm*ER6f)a@j#Kka7Vv2_PJznA>!OZw}AMIJ%{luj(=kv>GzonfZN~(2gv$tBYEoE1F zt9`XKOjEN;os~UgIxAt$9(Byy5o#5}xG~HsrBUeX++o5opVj?4g>lo^4L+xFBX%ci zO;5xFN|4Cdhejf8D;dKhFj+Ie)tI!sX6dB)6g5ZIjN1ID%_h2fXN;b3xauwJ^}Q7a z>~cfw!#T}2WVVq#N^8K*=++)&oLhB7U41R#_vCU}v&Gij^DmwzCGKEqGYeM;f^PdjTO;!e;#O50%vJO?S%UpPDO=e$o7$Kaj!yNLTC z{CPIg&gB}-dNppvlc`F%6px=7uf(ZRGhdB!r<(ajBW@Ygta^-~ab7=}+`ty)3Ug#mRDXcSlB6ueWUiBdN%5)pABgrqsqKyD@}UN*WC7b0DV zh_{s>s2g2*0TDzI5pPtNf>jay6+Z7=5)=EvGxNRQH#27@XL54cBZ0KSw2LMI}FP8naqy||XK z3;BVPBy#3QBatzcT)P*5tD$n;aUQ3-k;7R&Qai8?7#3 z9yh^0tkZfE!8WobqJ&w|K6{*bdTQKM^1T_#CEd=Zh_#=z>1}hC?l))`lK1{zdB4(@ zd-XL#-tMA5fBjHBIpjAFd4F3pZv*_hN4=4)ZoIlbpxfdlKk1C$ukMWG{XT1ZUN=N) z!3j7ZgWAx6gEB~U`9m_O3SH1WlCHsZI4XlK!wt~;k?z3*I4*-8!Xs$NpgZsww5D_u zbPLbOpl9#`&Vlq2Ucq@8q`LeC8T1C;!zCH?5k7(TC8;idMFwfU{8btB6n?=i8T1Vn z;I<6<4nN?o3{qYGz6|;dKSAe|{CYaGKo`bXlc7o0%`TA>Xd;XpC8Tx6M zcYZhhe(>L;O~i#ltKF5}*lI=XR6UF_a12t%YRyuy z)=7tP+*&)m)Ja#WwWv^SRJ*B4s1L`ut^B`my;+|1L+jxP!!*2DF6&bv%#%k6RBJ@1 R{Hr(r-~M;YpMXJ&>Mw=7j!^&r literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..e84b60815e2c9ff4cc5bcf5422b8c41712981197 GIT binary patch literal 1556 zcmZvcJ8M)y7=|abiOxS$pbiDI>$fOjM$8;Om@u83F&%Wn3pS=gJKjTaCED+`en zV&RQcT4kzhXielPtm^j8v>!JN-8r~ik3k|?RRP+Ps# z728sFwYS<=TRZ7$RcT>mkj%nLShGt5^LB=Mg)navvqotY#yWR|Q1V&bzf+hugWcqF znm1&3vfgw>JfI|rjD2V%hHWKdcmyVE612t)+cwJ}t*59pvL;o z%-FXv;%6x&?5F|uLt_ z4<{@5Rjxc=U)$l`_1p6|bkvg_eoKcB=SA~2Ldw?_^iH<_)q-erM++f!XIig{amimtXJb!JejJLOYzv5u}YjOHS^UtcdD6h zG~#A|HPT0{-(LUmO1+S;Or)Z2+&VYCFp(;iD{-z|E4TVfkv_;iSNVV8YP~oahE^l} iX*E1wEcOtDy>c%d)oSr+9WN_wq5UTdcVLr?G=Bl@g^}I> literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..e84b60815e2c9ff4cc5bcf5422b8c41712981197 GIT binary patch literal 1556 zcmZvcJ8M)y7=|abiOxS$pbiDI>$fOjM$8;Om@u83F&%Wn3pS=gJKjTaCED+`en zV&RQcT4kzhXielPtm^j8v>!JN-8r~ik3k|?RRP+Ps# z728sFwYS<=TRZ7$RcT>mkj%nLShGt5^LB=Mg)navvqotY#yWR|Q1V&bzf+hugWcqF znm1&3vfgw>JfI|rjD2V%hHWKdcmyVE612t)+cwJ}t*59pvL;o z%-FXv;%6x&?5F|uLt_ z4<{@5Rjxc=U)$l`_1p6|bkvg_eoKcB=SA~2Ldw?_^iH<_)q-erM++f!XIig{amimtXJb!JejJLOYzv5u}YjOHS^UtcdD6h zG~#A|HPT0{-(LUmO1+S;Or)Z2+&VYCFp(;iD{-z|E4TVfkv_;iSNVV8YP~oahE^l} iX*E1wEcOtDy>c%d)oSr+9WN_wq5UTdcVLr?G=Bl@g^}I> literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-expression/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..d012afa2818a601f72a1282e3b19397895a72bb2 GIT binary patch literal 1578 zcmZvcJBSle6ox0!jkA9gf>`@PR_6Tr7+AmL6lVM*QU_w zjy);6BDCtOr>zXNtJGiFO{Tx%_Kav^!K~1z=+^DQtW+Agxz-&dRKu*E-^#6<#jX!? zS~q4oS>r`~9y&oHYhD_Ow5eo0y{nuT=jwTBbImbH`zdOVoR=~AjL9YjW@kOUVS7!4 zF>BuNc(_U-Zf1?rk9F#N)Z0Qc#~8)U&bEgUZ``=3spPsV)KMbraE!6~@=dgtvxIq2 zH*;1KxJgTfcUoo*3{O2fRBqTDJ~TVO>GL%;tamPsTbmPV&1#gDTJgohRuET!q6j=n`Cmq71qN_u;4vdH|20 zE`wB;*L|eN@DxtSpxZD5XF$3R&)}R4dJZq)ybO8;ui>H$QeA#p2EBthxGaO-!v|2$ zlIrp|WRTX&-vntEe!wjm^clXuT^aNhzJZ=oQeFO`4EhM);fV}#`^^~F`@NKxeAodm zWY9L)4sT?TtG~6j>-CIM8uVN1zS2(E3+}tMfpI?HY&B{@CzwiAE9GGF^kg+im0N{c zkU!ZfG@C&yS@ZQr(#J4)q}nJJs_m2?#jUo>i|tgoQVsHzdZm*r`}&)X*vkJK*BYfM mH?`*Lo2u!BQfY`F%$;KlRI3N4bli;8Lht+Lp1>p*xcmi@6O(-a literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-locals/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..47ab3b54b0b1066a7734c9f0c75d231818afd6eb GIT binary patch literal 1604 zcmZvcNr)3c6oxzFIBqcL944S18YYUT&;fTuCK=I-NFpL0gpf=+8pvjnal7crlLrwG z;)WmyE{I-Sz=NpZ4kEZ99u!5ryCHh;`>VT>Nt_?Ps`}rnS6$VqbUL-ok!G28>gF)v zeu%&kcm;h>B=D7f8f+qPhk@n|4g~#l#zWzl&KaheO+N$NFg}xUjIm2EDc7wfq16*R zQgkr1+E+)*8ERFjJF}KZcgC(6(Zrmo&?s-~)??->jO^UNZKc}{IK3Q)h&Q{m{+IYXz3*Xm$B}TmHe8}*!}7j zN!G6mY}@P3NOjl+8)Z-fny^_0DKEc829-c>T{lZQ0ViR*3_1pPJ89>HTcB!lk36VSh3x&^w|M`h4+cnQa4&}(=DXJnA_ z@@GMM2Or?P4EhM4;Ia%-UjB*H^Vw}y^8?}nx@+acu zQqdpZH(vJR#YV2;XZJL6^}64PRXqK%^qGw9DA)42ax?Dr;f8|pd^27wmHlj~T583L yp8k>}LFWI3E49Leom%nwnWpKvLO~xJVV*p|K)I^F*IpI#h3S0x>VT>Nt_?Ps`}rnS6$VqbUL-ok!G28>gF)v zeu%&kcm;h>B=D7f8f+qPhk@n|4g~#l#zWzl&KaheO+N$NFg}xUjIm2EDc7wfq16*R zQgkr1+E+)*8ERFjJF}KZcgC(6(Zrmo&?s-~)??->jO^UNZKc}{IK3Q)h&Q{m{+IYXz3*Xm$B}TmHe8}*!}7j zN!G6mY}@P3NOjl+8)Z-fny^_0DKEc829-c>T{lZQ0ViR*3_1pPJ89>HTcB!lk36VSh3x&^w|M`h4+cnQa4&}(=DXJnA_ z@@GMM2Or?P4EhM4;Ia%-UjB*H^Vw}y^8?}nx@+acu zQqdpZH(vJR#YV2;XZJL6^}64PRXqK%^qGw9DA)42ax?Dr;f8|pd^27wmHlj~T583L yp8k>}LFWI3E49Leom%nwnWpKvLO~xJVV*p|K)I^F*IpI#h3S0x>mU>iK=yzDew| zAg8`zbCShQ$fY4lB4wILBupjc=(|cg5k|*Jm@&;F?Wd?c(oWLklO`MOTAgzE5}gsV z!p_w_wI^jxJ7RWAnlWOIF~Iqxh{+8&YseljUOV__>SJ#`XV_HItq!e-1}7e7u5+$3 z(H{;G{(w#=S#R%~_4E94tG=+y`=@C4FX^gByZnkSZ*P(MmO?zJE9jS6J;ncJu3Ka! zzacR8yt+%0^_zU#^13-v4feoR8B~V`Y?DE%%a6*SA~ZqwOF9LoVW$i_0cRj5gD$`& z*e!$3!eyw)pc`-tw5N0hZi9Yb=^;FV!yr9|CvZdt-G`^3cYt&Up22Y$GyyN*qzrlm zui=~wQeFN$NN?ahT$Di{;3Hg>L8{ANlR@g2zb=EG!*94LgTBFcxGRHxz)!d*gH)G) zAcH=`FVHhec0YZNWPi^|-#RXFJ?I&vwXhD}${<^RXI$HV3Ved7yYMCOL&Pm$-*d~E zXEL>Vwd^&$@p!3N@W%F!mArVNo-KQsz4dIZ=G9|mSAR6UJY%~`)m*mJh`V9jBELP? zh!=__FH@`(o3VncKWd*}`G4bbH9u~bmfaqfX?ZrE*DFYvPwr)+TE*LEua0@|wBLvJ J30O3({sBa8nc4sV literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F2-struct-method/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..dca667ff9c492a33c3f549fd42c7767408db77b8 GIT binary patch literal 1431 zcmZvcy^9k;7{(`e=XawP2CoWS^aOEl9-T>I|M7S5d18x z#6qmB)Jn9lu++lR53rFF`~&<#wD9-L?3lZ~d*C;dGK! zrD%7t%VY|iR*pnyPmRQ!t%OF0RW=W-J5Jx2l5OW~TQ*r+Df6IKSJY2XPDYh%His|T z@uA(%%6@1#akFyftQ~WZc}`Jr^JneTGmLYq%v$f7dxSrrol4&OYvlblSN>n$k@9Yh z@$=KEdM@Snro6u#y2Nz|lDhYYQvPV-j}aSCOuWKhaOZ4{o;wUDKso?NKsUxq>*dJ_WIpUJd8&{yVZ>Am+I{}X!fH{TwUr%yTLqxLAC#O?%UtPO%@s~uNc7hA)8voJ+=##Pp?)#)}y merTtlPe>C*jfTDgS-TmcmDY8C37L$Fc72l9-T>I|M7S5d18x z#6qmB)Jn9lu++lR53rFF`~&<#wD9-L?3lZ~d*C;dGK! zrD%7t%VY|iR*pnyPmRQ!t%OF0RW=W-J5Jx2l5OW~TQ*r+Df6IKSJY2XPDYh%His|T z@uA(%%6@1#akFyftQ~WZc}`Jr^JneTGmLYq%v$f7dxSrrol4&OYvlblSN>n$k@9Yh z@$=KEdM@Snro6u#y2Nz|lDhYYQvPV-j}aSCOuWKhaOZ4{o;wUDKso?NKsUxq>*dJ_WIpUJd8&{yVZ>Am+I{}X!fH{TwUr%yTLqxLAC#O?%UtPO%@s~uNc7hA)8voJ+=##Pp?)#)}y merTtlPe>C*jfTDgS-TmcmDY8C37L$Fc72E*V6oE`b+c+L`k*(wJ)_=aUx}B zKzkCCo~JF0+8yoAszR$}B$rFv3Bvl7lWQt&c~4V>dfxWxZpH;N+m%LcY~s!lPNi8@ z%61pKj922c3M2x1Y9!`uB``Xys=067G5W?-Y&&n;s>$0*l?S!DqJDyEI;vu`1$^0# z5A1$c_XER;o7FSt?U*^{(VHjp=k3$8jMFMPTd5lNbEtS1{($x?Iqxo$^V^d0N_|Jh zCo4^!pUKn<8NWB<-JW!n8{nsP=MQB3k<=e0Hldt)g};!TwlR9{ARGs2KO6$x8z+qq zQsdrNXDB(Jd}0&7kd)1JqCT!Osb3=AgjVWRmv5*33h@@`MoBN=74&70{A*a0L2uwK zT#`ZZ@8GfwdIs;|stkGzA3$qLpWrjxkwMGw1@vB$>hkww&`08Az!QY2fc1IipGB2X+@2TjX3gKgRmRbE)2qc zKN=LfC0*dHP&^y=>R~+eOF5jbWiaT~BY!cB$I%paCop4u=(jp?RO_7YjEb$&G}+mt svUaU*uQ_%@yCr>CnkZ~G^;O8)%@D1$Zt_Rrc`DlVZH~shm-E^954z}$vH$=8 literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..20a15de68bf778e60407e64982ff9bbac5cb6572 GIT binary patch literal 859 zcmZva-%0{O6vjvUUpEEOMi7V<)s1N-R3w>R6a=;Q{~{8#5sckU7A<;*E_%0Kr3dKy zj%QGo4*cev@0{70IkV$e9t~|q#{Y*eq{l%De1jK|2EQNzW1xxR58%8a67&<`P~%C& zCB(DvQ{YVV(}*t+&%@IYCM>I(I}VN6W5Dd7!qd@G-1fZ@^sUQ0BjMKP+%hm`$)xf) z=E@*Em7Fg<){G}>`Z89fQjyV<^A#{2L3=XWlggT@>bGttch8ubS(f_X_So$M;BBz( zG;e=Y&n5IiLN6vXn;88*lh9e!1^8XCrFs*759Cy@!tX0w?*NnlyQMw>WyRI0*)w$! z+<|k|SMWZ#R9%C=2DhqNr@mLsyS@QWs@?tY57M>)&&n4_+W~p-N&#b?I-r2DZ}#k7 z)du2vy&J!UwrBgfpwqUk&sJb_?YI%z`bXU8c5S>K=GhG2k>t||_=h@CE4HDHdWgk1 MYxuO>CX&SP2Tad0i2wiq literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..20a15de68bf778e60407e64982ff9bbac5cb6572 GIT binary patch literal 859 zcmZva-%0{O6vjvUUpEEOMi7V<)s1N-R3w>R6a=;Q{~{8#5sckU7A<;*E_%0Kr3dKy zj%QGo4*cev@0{70IkV$e9t~|q#{Y*eq{l%De1jK|2EQNzW1xxR58%8a67&<`P~%C& zCB(DvQ{YVV(}*t+&%@IYCM>I(I}VN6W5Dd7!qd@G-1fZ@^sUQ0BjMKP+%hm`$)xf) z=E@*Em7Fg<){G}>`Z89fQjyV<^A#{2L3=XWlggT@>bGttch8ubS(f_X_So$M;BBz( zG;e=Y&n5IiLN6vXn;88*lh9e!1^8XCrFs*759Cy@!tX0w?*NnlyQMw>WyRI0*)w$! z+<|k|SMWZ#R9%C=2DhqNr@mLsyS@QWs@?tY57M>)&&n4_+W~p-N&#b?I-r2DZ}#k7 z)du2vy&J!UwrBgfpwqUk&sJb_?YI%z`bXU8c5S>K=GhG2k>t||_=h@CE4HDHdWgk1 MYxuO>CX&SP2Tad0i2wiq literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-function/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..762725f858f3546d1f04efac5815390fa030e1ab GIT binary patch literal 881 zcmZvb+e*Vg5Qew)tTzf`P!LL0)SKFR01?ER-UxzCtfvd5#Ja^wQ$uJK-@yyt(O2*R z{Qv1Jmf*m*GylwXGka*@-x=DBjQKacX zZXlk8p8^k>pGF)Zo`7;?}9DWoA7&}qJv~^T%Fnn z)Cb@ioT;wE2jD_=2!9E#RI^Tfqnan)0QaihdXK8zdGTIp+km~lP{4LT86*@i)~Qnp z7|(%c;NIE>;$|~RUt`<1gHpHCwylp=*OuC86x-%|8YPKM*W)rb$JZtKJObWWr`Jkt SY&fT0(PdcP-?`BTuvPHNXx5#9`WqJF0{$g<3lhvzH$j4T+y=QP;s#`G zNC9|Y6O2KE`6f63i3aF{&lG^&e@;uKJ+BvcBRP;mC+q~W{nQSn6U2Tby~o(^^<-R% zTt55)Sh^3pEkEo#E&fT0(PdcP-?`BTuvPHNXx5#9`WqJF0{$g<3lhvzH$j4T+y=QP;s#`G zNC9|Y6O2KE`6f63i3aF{&lG^&e@;uKJ+BvcBRP;mC+q~W{nQSn6U2Tby~o(^^<-R% zTt55)Sh^3pEkEo#EhI)=fO|J*GRJN3kmiG z@LR<*h<{W(i}+W?bBJ>&UPDiCOd2~%a>WG9E-A@*G1f;+O>( zNyieKQpL>{Iv3;}5?bpw(|R$sNB(j~$15e{*E4=8qqj3!zXZo^fQItfald~lD|?gI|a zGvKGTXJLP7dk*%uw&!90z+T5pFei<&mfUd!dY83iUn3mAWK|*^If7?$%8rba_$lD`~Hm_y$k_!LDS29}dG0NY_#ETido6%)xo{4$v&(<1~*aCSP#))l^ zcR8*P$28aTB}|<9B%}ErLcfd;uU=L(3>JJOyz^;JTAi+5G4M^}@tQ}AQ zF39(ZK%x%v9TEz_1*r!h!E>_LCknvazxlQ7&GULmH}(hq(2l~u?>u%Q-wu*i?0XMM ztJm`rD|Yzsi=cHEb=$3|Z&!I8t17+Sw}UY9z3@I9SV1)pZ%IY|7mmBPL$fq?_}|!z N+zxXJrpc5O;un%rM>qfg literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..ffe2c75038d78005f6cc91d1650a0fd9770bf234 GIT binary patch literal 1027 zcmZuv%SyvQ6rEb%f}o2kKA_MjbraGeu0+x*qTr%+<;vLBL;{H|X^SYXUAYi{&xH#Y zF8m44nTKs+51g5M?wxz*&ZAMk62yWWCl9Z1PlGw|4SWHozyci4nDgK}>~lD|?gI|a zGvKGTXJLP7dk*%uw&!90z+T5pFei<&mfUd!dY83iUn3mAWK|*^If7?$%8rba_$lD`~Hm_y$k_!LDS29}dG0NY_#ETido6%)xo{4$v&(<1~*aCSP#))l^ zcR8*P$28aTB}|<9B%}ErLcfd;uU=L(3>JJOyz^;JTAi+5G4M^}@tQ}AQ zF39(ZK%x%v9TEz_1*r!h!E>_LCknvazxlQ7&GULmH}(hq(2l~u?>u%Q-wu*i?0XMM ztJm`rD|Yzsi=cHEb=$3|Z&!I8t17+Sw}UY9z3@I9SV1)pZ%IY|7mmBPL$fq?_}|!z N+zxXJrpc5O;un%rM>qfg literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-global/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..20a043e5c5e768ebc9b5a69a739dfdfb7a006df4 GIT binary patch literal 1049 zcmZuvJxc>Y5ZxHR1wo4_en23nXmcb%EJWlIMJy~5D{VZJcqa#UCR`FkE3vS$u=H?=5#_X!8* zDez0%)3Cp_Jp=nk+q1B9NM6NEa7`LJT5`t(^e$@2z7p)iWK|*^If7?=`r`*CIsMtKV=>cA4(Q$eu7l*BO; zu#%Cc*pNyM?D-7j9TG;HH#2%ch5zD98Lf6o)~{va#f;w0=pAUDjO*4xTWd_R-@OsN z37ap$e1e)cY&6fu_ZZbD8O>KAN}vUvQvj^B1zu19yC8c}KUs(}>L+zxXJrpc5O;upZKNB95$ literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..72b39e04baaaeb5b1296c927f467745c7e9fcdab GIT binary patch literal 1028 zcmZvbJ4*vm5QR6sMGFNnAPC|EYzz_9LPUHtVwG4~8DhMGveCFEzEH6e3txyoz~5tG z;qS2UC-|MYdlkh4=gyonv$MN*?-rKUBcapQ|Cd|r7MOvLunwDG3&stx8Qzl5W2)~J zL$MXUrFk3qJNW>y9e$*K2l*#?A5qYCzcHLj-O)qOA*wR&EqflHsv@jHO&5aa)f!<2 zYNEJc_5LW6=k|I)(na$M_HIQwgsiQTG!2oxSjVDy3$_;N;8mhxRIs_r<}TUlE0ffx z&{@0I&l`!BO%-3AReTLdMA?Wa(g6{I=?|Sba9riW!>-B`7hfMwG;Z!Tk!mz(V z=ai&SJs$*7TKgIxJr@K~+V6%prB{4vtF*qFpk11V1qm<#HCx|K*n~CcPp^*$=nW_| z;2GSK0O#-m?n(gFrDF+@z^61y>&)N56A5q+AK;|~P+j^83Rh77#x)ee{)Y2BhF2=p zlKrZyyGAbF*>;uFO6+pmNxAAu$4R+XbIE8mucO)nS6qyd8{OGEte5vHt_iRE$3H5^ d4cCm;Pi8ZS1~vK-nT$@4A7my=c%GmYzW}xdNz(uT literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..72b39e04baaaeb5b1296c927f467745c7e9fcdab GIT binary patch literal 1028 zcmZvbJ4*vm5QR6sMGFNnAPC|EYzz_9LPUHtVwG4~8DhMGveCFEzEH6e3txyoz~5tG z;qS2UC-|MYdlkh4=gyonv$MN*?-rKUBcapQ|Cd|r7MOvLunwDG3&stx8Qzl5W2)~J zL$MXUrFk3qJNW>y9e$*K2l*#?A5qYCzcHLj-O)qOA*wR&EqflHsv@jHO&5aa)f!<2 zYNEJc_5LW6=k|I)(na$M_HIQwgsiQTG!2oxSjVDy3$_;N;8mhxRIs_r<}TUlE0ffx z&{@0I&l`!BO%-3AReTLdMA?Wa(g6{I=?|Sba9riW!>-B`7hfMwG;Z!Tk!mz(V z=ai&SJs$*7TKgIxJr@K~+V6%prB{4vtF*qFpk11V1qm<#HCx|K*n~CcPp^*$=nW_| z;2GSK0O#-m?n(gFrDF+@z^61y>&)N56A5q+AK;|~P+j^83Rh77#x)ee{)Y2BhF2=p zlKrZyyGAbF*>;uFO6+pmNxAAu$4R+XbIE8mucO)nS6qyd8{OGEte5vHt_iRE$3H5^ d4cCm;Pi8ZS1~vK-nT$@4A7my=c%GmYzW}xdNz(uT literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service-local/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c2373c3624b00a939596be3b3eabd7166aeb95dd GIT binary patch literal 1050 zcmZvbOG_hB5QRI@(Gh1cf*5cyh!2>JA%eOP7d|%PVn|%MGQ@ZVrK7P;W>lQPl`CI} zKfs?h3m5(jzf-qMQ9N*N)j3tEzPWw7y0V!F1Gav?Tw(XZ0=$DAScJV8H^d%zPyP#2 zeg82Ozrd$F?<0REA0_s~A`R;K3j0WgiGsZM7|*4i7@>WLs{D+W?I)(H2`twx7XvUP^0F|tSNST=9T)*2l;i&|2(xvS=`*cvM{ z)ECet`)!;zk*u03TBVl!u>QDc!UNRl39kKZxgLz=*ZR;0?WgPg`jdj|F;j1PJl6`^ zub;B(vXUICS6mRK=RatjwnO!JCee{z^CD4N?@pM7bFeA_rlDr*4GP<^4dWe-@d&*I zg)TgUI}+d={)PJzKy~R<0%Y($kJ7sN*YHFF=(gX&e-c1-=?f@aKz$*XQ1E%`6a2jW zmQUf;>+S5Y6*{3?PWN_0^R$_U@^02>h5DbY(Qb!qvQ^Oq{tnkdicy~2J2>t%4w|8e i_wCL9-AKEk2dz)fW)KZ(j3WvK-KIFmOcvjdYsD9HT1q$o literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-service/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..e73dbdec01f64502c02eb29190c912b984a3d6dd GIT binary patch literal 1028 zcmZuw$w~u35S@u}Lk|jKKoCNV=*1xc7ZA}b2*J~g3+lx%#12GeVi*&bi+B|_+$*BqpoJFbB({l22fak{PE$2NA@~I&{JH&aegZ2EpL7pArIdE&+2<-V% zBlj2>BQID2PtJ3-M!sVSJh?s%Et1!CC@VQ{jmA^j0DKbI8o=JXJI=oXFwfUZ&a-3w z!f^K511=3O!*lN|!|g1Q;al*hKw@|R&%N#qKY~979t~%n{K@cr_!HpSaC=|&JugGA z*E`8|th%b_MXjc4JTxNZHIpz_^}8hObX1a$3;dWFpr#@SUcS}7>4xowN|_+$*BqpoJFbB({l22fak{PE$2NA@~I&{JH&aegZ2EpL7pArIdE&+2<-V% zBlj2>BQID2PtJ3-M!sVSJh?s%Et1!CC@VQ{jmA^j0DKbI8o=JXJI=oXFwfUZ&a-3w z!f^K511=3O!*lN|!|g1Q;al*hKw@|R&%N#qKY~979t~%n{K@cr_!HpSaC=|&JugGA z*E`8|th%b_MXjc4JTxNZHIpz_^}8hObX1a$3;dWFpr#@SUcS}7>4xowNh%R*}_51<%5FJn35(wI-|1l#$;C z&&sp9-;z@omXeI`EK0qene(3mJUzaH<@{Q4KAGS%3C`1v*YhRgJeS~kaBG~`o-#G^ zA_HUOB}?GRHxrzvZH;+-CR!nH*d#nTza4EI*Z@2d*c!mz{DPc+1z?_cn0x_X{=#tf z+668RuflWhE5q$9q2XKbr$A)556`{s4L^cE1|AJ(p8U!1J@^yg*>KyBe^C6q?JZx1 z-fZ@x>#iE8VKMBqRqLS@s$x3|x~h2>1^vE?3f&SPo(38!gitJWdN+fh*HS5HQ@{Fc e5DpcuAb&mS0WZcv-NJQwn{*=)vDkSmr~d(}xIq*E literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F3-single-file/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..403586499765b4220e89b17359bcbf13e613cfa9 GIT binary patch literal 859 zcmZvaO-n*S6o$vXtxZ8>v=S?*jVaWkC@@_V1fdWS6p7hbhML_pY26o5i~d`Gr617q z&b^Z$z3|MO_nf(R=G;5Q{E3m`Zv21vBs~H#_<~Cqf*)wXFkDdl2Cds5p?MTGqj-#X zhj@~C9QLC81n~j!G_yoFpj70wV_(W{gR)^or;}pZ_My_~TAw*5;oq;dIWT6<#4;Rn zAq;n2uIPF!nS^_1(TxRH$-6P(&X;A}!YAD7gsUu?LiDU(soj&NWaeEx9CYFj(ASW> z_g~-psj&Q4pBeD8171x?{`sVHeV>ZFWv;Q=gk4&*>m zT|VsDm^$%0?1S_K&u}P%Uf>muWRU9e$1v=S?*jVaWkC@@_V1fdWS6p7hbhML_pY26o5i~d`Gr617q z&b^Z$z3|MO_nf(R=G;5Q{E3m`Zv21vBs~H#_<~Cqf*)wXFkDdl2Cds5p?MTGqj-#X zhj@~C9QLC81n~j!G_yoFpj70wV_(W{gR)^or;}pZ_My_~TAw*5;oq;dIWT6<#4;Rn zAq;n2uIPF!nS^_1(TxRH$-6P(&X;A}!YAD7gsUu?LiDU(soj&NWaeEx9CYFj(ASW> z_g~-psj&Q4pBeD8171x?{`sVHeV>ZFWv;Q=gk4&*>m zT|VsDm^$%0?1S_K&u}P%Uf>muWRU9e$1S6osetx4KafgRV+d&`oW@mAI(sMi8_?5kaNII<=Li#@Je1`-kYlck~r} z0MEI(W1)EA%(>salgvyqHUHEwax(rue4;!KWuPzU3d%x1P!Ae|T4;VloVSkxeF8ev zd=mK)@)`IPbfNWW^Q{sx^ZyZ2oxyYunCGBzOY{f2s8uEHQPHrRHv;AVH-L#FzM#mPLNf_DsAPM8xCaY127mBw_>RBW? WsNHQOHnLrQ0g3e5xeMnOaou0!9z5Ux literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..ca5eda8ddb8828df5990eb5ad726ff1e73162771 GIT binary patch literal 2746 zcmb7_OK4PA7{~8uYEvK4x-cRrQ%r-4Fl0g&DuOek1Xnr{7p)Z1NxU&r=8?`!;scQ& zBEEGcx)E!ILg|aPi?)l_in!{^mAG={%9Sfu;{SKfcg@W)fqLM7zVkcZx##@PJ@-*A zeHKwZa`ocXWp#H+8R@!oSB+(gL#ocJybMSR(nM8L+PaT zcdLC`?OlqL9v@P5&f2UvU+Dcx!q>vgP4#S&aEpAQ#kgOkZN4jYT{7;eGR(|KKWj2e zhJ`v))pjzpTMf)pl0HxCmdtEiGLuzianr23Q`x0Wk1LzpHZ@hKIh1!yPb;&y>Elag z=7LPY-SZ7mW>AfOtx}HGxSC^CchTj`&cvvaY+#QRMI~4FI%|2=!{S~yuGeL@Y8=+f zksb)OIf0U^dtJ>nQ|b$^VXLFj9d~VdrK0-D6jE#CQ zu6RNkF(wc1Gj1qemG&E-SG*t{GQOyINjhvy9{$4klpW zhty-7SDR;*PrG%w`?tY3xxaki$tS!e;HfQO7VG{VF76t~6v7?^KJ zYDtBFM*`j#@cw`g1$;Q*F9YV+!}=8|mZnn7``s|+J#0w)f0ipI_jlGfxxf5{n2*B# zPN$eLa{-?VxQ7c>K9$DCrd!Q=+=*v$wd!O%abltt=O$Z~dOUWlRhgcSTYYuzulwA) z{$+xdQs2>9bG%Y(=kj>vn_0~DRU7S2r7;m>k3U^8H(ROA#QZDPf(M(;`rb;X;=6f? z*Gn=n-p)-{Yw=jMQSJ0i=DBvO&%A4|-aIms46P4#YuExm!+g*2Q=0d~0Ol=c#Sgu&kqOS3VYVOAZ0Q*db@YJGa2q_(KpGyb>h3omS|Fv^YZk5^&9F3 B@6`YR literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..ca5eda8ddb8828df5990eb5ad726ff1e73162771 GIT binary patch literal 2746 zcmb7_OK4PA7{~8uYEvK4x-cRrQ%r-4Fl0g&DuOek1Xnr{7p)Z1NxU&r=8?`!;scQ& zBEEGcx)E!ILg|aPi?)l_in!{^mAG={%9Sfu;{SKfcg@W)fqLM7zVkcZx##@PJ@-*A zeHKwZa`ocXWp#H+8R@!oSB+(gL#ocJybMSR(nM8L+PaT zcdLC`?OlqL9v@P5&f2UvU+Dcx!q>vgP4#S&aEpAQ#kgOkZN4jYT{7;eGR(|KKWj2e zhJ`v))pjzpTMf)pl0HxCmdtEiGLuzianr23Q`x0Wk1LzpHZ@hKIh1!yPb;&y>Elag z=7LPY-SZ7mW>AfOtx}HGxSC^CchTj`&cvvaY+#QRMI~4FI%|2=!{S~yuGeL@Y8=+f zksb)OIf0U^dtJ>nQ|b$^VXLFj9d~VdrK0-D6jE#CQ zu6RNkF(wc1Gj1qemG&E-SG*t{GQOyINjhvy9{$4klpW zhty-7SDR;*PrG%w`?tY3xxaki$tS!e;HfQO7VG{VF76t~6v7?^KJ zYDtBFM*`j#@cw`g1$;Q*F9YV+!}=8|mZnn7``s|+J#0w)f0ipI_jlGfxxf5{n2*B# zPN$eLa{-?VxQ7c>K9$DCrd!Q=+=*v$wd!O%abltt=O$Z~dOUWlRhgcSTYYuzulwA) z{$+xdQs2>9bG%Y(=kj>vn_0~DRU7S2r7;m>k3U^8H(ROA#QZDPf(M(;`rb;X;=6f? z*Gn=n-p)-{Yw=jMQSJ0i=DBvO&%A4|-aIms46P4#YuExm!+g*2Q=0d~0Ol=c#Sgu&kqOS3VYVOAZ0Q*db@YJGa2q_(KpGyb>h3omS|Fv^YZk5^&9F3 B@6`YR literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-distinct/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..7389b6408d3656ab97eab948e688d4ceb2b345ca GIT binary patch literal 2790 zcmb7_OK4L;7=M_OkeX^2RfIN;HyX&JCTX>$i&DDK zS|5mrf{R*3aTZ9NpEB54r+PqTxquMs*GCDzs-%U0rO(b=H`;2>r*Ujg;y}yA^Q>bXWS9qCJiF z9z>RvCV1+Qw7KG3VQ)V~UzM3D^wdLiOPRtJ$GwKOnJ&+D?zr#BaAuA)v%0hRxKR02 zrsNJ?iw4cJxP6A!FPI4~nAw5M{HD2XE3yll&Lit?8=5Gr`B45cJ%r5srbiddj9ZzA z-t%?J*MvqRR!OK@UGuS`JF4>uZK54X-oSoHshF+<+FBU(Zg4=43+T)ijH7kG&Lk9G z3-s_g#B?3dHLonA&%Tm3?AMugHKFJ6t{O#Fsdg3dtQUs22J}wod80aG@*KyKP<)5Y zJgy%)G>4UB+eV7puoiX=4=Yx9{)ftng4~|c$<$6A|1Du~v zk#U8NM^LkH)i^XGZ7=f+_cCYn@*0cj&70p~af8K;7Vof_-xcReL0PCp_$Xoy;@iOd zX^3BT1R|e>2B219=E(09~E&gWlci~~gQRs(<`TTwg^L@Dp{Sv-`cpLgH%zfrwRl_{}b6*}nHNt#;PodSG zJh@Jo&;A+21At{Gvi4x`O?na6;1>HXU*?CviQ1Lj@cZZVI9YUDRTO;EGNJ1yQT zjG>Ai;vO!6d5CbnW~c}qwD_>a9Tp$6xZC2i#aWAaOmY1rhg`y2Bx$MD?ZdMxCt7O&J9rM4n=b@dhtIj8LOg|eBnlNv~6olv@% z%sE|Wipkzyrx?s}|MhX8`~83#D0nhk=t*Wvp)kGjpBfDXGx<_EnNK-fo~L3o)St}u zIXp{N5f2v%xp=aiG~N7Y>mZouDTUIRtkadrXUf5JnAdJGnZNDj3Mcy9p}D4|7*^q@ zh5vi{iOu=p0L~dR3o}bUu}VKH&^520mRe-~%?~$R7v3|zCCKNaquG0Bx6j8tjhZI2 SvrbGGvoSVV+~;NJ|LQ*miuPLo literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-public-aliases/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..77ac97cd347e64c86fc4bb81e6cb2d02ae982c21 GIT binary patch literal 1897 zcmah~J7^S96n(SNs8NFn>S9n?$SM{(CSg;k&3-f>sO$=gg}BVFvu0stciB%wD?zZb z@P}29BuFZ;5(_H}KaGW0S%}zZqxdQO1Oz?jeaz%#!3*czd+xpO-uve5%;vMF1Z9m} zyDwMaUI943HQ)^p0|GckfF9V>aGXFA^S<>ey%P3!Z9|C#EJvVM0f(?KcQtSrb^@Bh z*izZ0DLXC-y;A^dEREcOhgB(@cv0qIc8}ag4od1Y;+#BQKl5k&%(SJWWBwW#JqWgqYDbn`EV(mHs*1+;}t68<%x* za-GpO&y$snveGjrSEeg(Mpi0d81|s%VG1IRl_T;N)hub5kr%wnoV3*}YTi*jpPFG* zjHBmiWU6Q!mJq|(r>d)+v$6^!1?;BG{+q5K_DPSro@F2o}!hWRrd+1-lW6l3iqaU9E_mlJ0eWCdR^m_1Dnh(Gp1YT>t5%wnF zZ6r?qPV+6Whky^7Z-u=L_!Nngf7YD!$-ipe4|@#wq4{pudw}1XyRi2HF@W7sYQ-;KCS9n?$SM{(CSg;k&3-f>sO$=gg}BVFvu0stciB%wD?zZb z@P}29BuFZ;5(_H}KaGW0S%}zZqxdQO1Oz?jeaz%#!3*czd+xpO-uve5%;vMF1Z9m} zyDwMaUI943HQ)^p0|GckfF9V>aGXFA^S<>ey%P3!Z9|C#EJvVM0f(?KcQtSrb^@Bh z*izZ0DLXC-y;A^dEREcOhgB(@cv0qIc8}ag4od1Y;+#BQKl5k&%(SJWWBwW#JqWgqYDbn`EV(mHs*1+;}t68<%x* za-GpO&y$snveGjrSEeg(Mpi0d81|s%VG1IRl_T;N)hub5kr%wnoV3*}YTi*jpPFG* zjHBmiWU6Q!mJq|(r>d)+v$6^!1?;BG{+q5K_DPSro@F2o}!hWRrd+1-lW6l3iqaU9E_mlJ0eWCdR^m_1Dnh(Gp1YT>t5%wnF zZ6r?qPV+6Whky^7Z-u=L_!Nngf7YD!$-ipe4|@#wq4{pudw}1XyRi2HF@W7sYQ-;KC8%0E)ZAo3|CLifaC2=8wLP*jV8+b1X`BZcz2(DcC z!<9%4(v`Rp7p`3R*|-o_E=1huMp0LOK+tpM-65~jfEUiY=iGZ|=FYs#OE!I4(bnr{ z@5fby*8maV8t@M213Ux{0sY_|1Y8ucZg4R0Yr%(w4}fn1KgK+8M&j$h^WZUf8gnac zuSl-gHAWW!uD3FC7ZJ`%W5-=v2JM}Bh|D~|oe;rDj*f7F)Ds$?DzYR8&u#L4i_B!nsIV^R$k4WN{Ns>1b5XlhMy5 z;oMJJFO=4ij()N{h^F*RIW)sH=((AkO5({D`4)p-lDZExgVLfc=F-xuJ>Y;i=90TekEA zOY?rR{xk3mcofn%OsD*7)y*5es)JoN_XSE7HzZ-jm$dJLQw{H^HC;9G$A zp*-~m(c8f%fKQ@#fbRspg!0s1MRR`Y@1jS*XMi7~_k$k*{)l$K4+4Dv`)8h-d!mlP zPXR-s&3vPx&G~XqG~Ty4U|UEZhu$Un2>1zrUoPH2Q@<~ySFUTynDxAETs)|-PN?`8i0xSpz} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..7596368b3c8db2c65f8fa61a04a37bccfae6a7f2 GIT binary patch literal 2752 zcmb7_Ux<`d7{&U4Q9 zuUtABQ66^n>eYF5_emM)W9gzA>lAmZI-~Y_wXdsM*x<+Qdc?-k z6KiIcf=t1k`Cyb8Rbxb}l%q#o&23e8(dEm|#FUb3V6PNKC07qQYkAdU;vqL~$Yr)` z9M;Q`9tgF$10`1vxteR{)E8dER;Qw6cWrv5qWZ}cQfuVpC#&9NH)GLde4cTXa>R4% z=SiI4%DXSQE3%r^yI_a-B=U^o13$e!{D^|f_`R<9;CzZM6kHj_*LU~75S=78-JmAQJORUNb!=y zI{5ucx*~OruPS~ky<zGG12vTDot{IkDHjjoH@^(m%#OD*hz($vpna!yAk*t9?V_ zqfVKWo|guUpH=$>iBG$Ax$_$|PR^GPJo$vT1)LT4DW8>c(n!EN1Kw?{q0ugBJjJ{d z{1}*TRBB6wfcFP{AmD=m9}4(bz^?_&uZQ(367Tq2ir*ABjd{N6691p|ihHDSY0((} z&q@4+n2*B#PNkUrF9rO5zyn;U^0ZW`v^%Xv+>IA<_1bJab8@C0=Vm+AMqGKjQ*F27 z&TxbCb)S3JzfQoPXZZDcYr0yW&*kyDNh;=sYt8v?wK)@Gk3U^8w^*$&#QZBBmtO8x zJKdLBt;W7;x9U^8$d5@fGCiN0t<~d7ty$|1&*r&)yU#pmvC%rdkPK~%_G?&=r!l_i zcq*-UVgPfN{K8~8iC#OK)w8OdF@E3w%}!n;U18gL9i&W#%X_v@DwE-8i@wPw5;MMs OWQisvxoe*OU;QsBt@Jwp literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..7596368b3c8db2c65f8fa61a04a37bccfae6a7f2 GIT binary patch literal 2752 zcmb7_Ux<`d7{&U4Q9 zuUtABQ66^n>eYF5_emM)W9gzA>lAmZI-~Y_wXdsM*x<+Qdc?-k z6KiIcf=t1k`Cyb8Rbxb}l%q#o&23e8(dEm|#FUb3V6PNKC07qQYkAdU;vqL~$Yr)` z9M;Q`9tgF$10`1vxteR{)E8dER;Qw6cWrv5qWZ}cQfuVpC#&9NH)GLde4cTXa>R4% z=SiI4%DXSQE3%r^yI_a-B=U^o13$e!{D^|f_`R<9;CzZM6kHj_*LU~75S=78-JmAQJORUNb!=y zI{5ucx*~OruPS~ky<zGG12vTDot{IkDHjjoH@^(m%#OD*hz($vpna!yAk*t9?V_ zqfVKWo|guUpH=$>iBG$Ax$_$|PR^GPJo$vT1)LT4DW8>c(n!EN1Kw?{q0ugBJjJ{d z{1}*TRBB6wfcFP{AmD=m9}4(bz^?_&uZQ(367Tq2ir*ABjd{N6691p|ihHDSY0((} z&q@4+n2*B#PNkUrF9rO5zyn;U^0ZW`v^%Xv+>IA<_1bJab8@C0=Vm+AMqGKjQ*F27 z&TxbCb)S3JzfQoPXZZDcYr0yW&*kyDNh;=sYt8v?wK)@Gk3U^8w^*$&#QZBBmtO8x zJKdLBt;W7;x9U^8$d5@fGCiN0t<~d7ty$|1&*r&)yU#pmvC%rdkPK~%_G?&=r!l_i zcq*-UVgPfN{K8~8iC#OK)w8OdF@E3w%}!n;U18gL9i&W#%X_v@DwE-8i@wPw5;MMs OWQisvxoe*OU;QsBt@Jwp literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-rename-a/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..bfe2a3d0d833033e7e88bd1ef70952122c0108bc GIT binary patch literal 2796 zcmb7FPe@cj9Db`-rY2>PASIHUM8xKXk%fu7i4;VvCH;qO-QL#H+g)3q_6H9l9?HZb zGzdC~1yM;!P?w@C!b5cG)TvW=>eQ)I^nEkGhi^xP8u;e-`{tWB^Ub_@Z(`At7Rzc? zFI|nIxdaFRcYrA*MTomljUz8cK8I>zrS5m8Ove>yk4p~8N+LgmxC)q-_EO|C$XgIu zDs}MHA;~%8LSbt^KwpK*Bec{2bW7;MjQ!pL+jNufIj`S56pqZEdQ@+e04H)UrhC1v z8<5aEi`S;vre&4jvdRu9OPl7r9Z;7yorUUc8&VY3d?|}e4?tPk^zgFEsG+o}J>O^r z8j&<$mYB6h)qJgJjwn5*Omsrz0uBI{6;*Y$vKB_Y54>9St5!-q`q6rkQeqa41zPwX zqN=V|HJ^0RWd-o=#*HXN>+Hu8vv`K}IG!Im z)GLXqC+aY&_QKWDEhEo6eb7~*58b0pDSF)tKDbvArD&Z#*gs~KtMT*>aD2W+#tIdW zp=RN%?ZBMme$Fr4&pD!>uQNEk`Sr~PuQPaq!FL#(-xbG80uIn5{1jpa;AxGH%mHlYS>@?F4m>sZjKN!*)%uYL(1M4SMA3!g-M0{juqedJ!0z&!nPKVJc5!nqG`fVDoI zyh`{pgF9Yfx-)?YT2_?|$fDo|D;LQea z6^^dfPN3b#`OS0)Z$#b$95(n-gLfJHw876AJY{gl;Jl`|o;bjNfa~Lzz^@DE`Emf> zRmF&VfM#GwIQ{PhhNVAJ_0Jgbaju{D7UyFjziaSHrC8Qh#CW_XpUc>;-4}AwDLZ*B z>DZxEK9RBGSMrIT9y=e*aR1eHpxTQ-%7EYnC)b^DdP8A)Ee9f@U^?6DCbCJJ)ALr0 zg!&UspUt~uJ#frTc4U6`oRDI literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..3e6ec0039333dfb2a9188185c222bc8b94e6f540 GIT binary patch literal 2742 zcmb7_Pe_zO7{~10+O4jgT5^U@CZM(Jqa@S2IL^_0( zRHvv*nFU2j{|*%$$|5{<>J*+jb?VfqQ}jGD?}wk`3N`S|JHL77n|Wrwf6>U0#j;t| zm8)5F*FZk#CNz&m6=Daf8MLd>eut{CQIFfVMaK>3x227g)q!>o;wGpp{k3RMqJ0RF zr9lTzZA+Ugt`zp3h3IQ_<~DkEL3B&$!WPH9g7)ez&vov&Wn?%rN9tMKS$tfmlu8%f zp|xnxJd4|>Y1_J)o$F=-$W%7Xb-R&W-}DHw?y;eX!kRZ_jp+h1l}(SYo0&E;A$8`B zmaiR+R;&`WwyK)972RQ#k17)bNOA*5Aj^uV+OMnyQFnspSaa%H?@D3xGZXTx5rm%rdgs)PVU^K&j$?^hd~WqTt`oY_?j!1o z0A|%LxI_A6q_QV>JxNJ*uB5}w((g!3>}5; z8q9UQ`6t3nh{vE8!U)zIi0g1X&+#?%)?oVb<`)fKGWd(ZUk(0d@Urj}BG2l(hj|Zw z2=m$C{rf4*bGZlo5}rkzgMJG?MtlnW5ne!i3DsaT+z<2Qjl%cQ=2`Hg&T;_if*OR| z(LM&GCz<0%iH1LuT?(9S^o|5PKo=UWzb&zFB8&d0+2O?jC6 zpEmfi!413+We*gK6-M(}r{s*;nRL=gOe8Xnog9s4o!EuZc%k5owq$v}>T|F9s{s7- zw4BN0N8*{H9i-PfC~UW+bH!3TmvCs0f4Z<;j%UUk{wuiZ@q9kp6EDSeFW=!E5Il?& z?PNOR#L~HRsU;cYrOi6C)?GG#ddwY~ZLh_!Rdzc0Ij5b-iX9H%oDsb+vuo|tqqm}+ qPX4+7%}x*_RpE~DCO|$PExJ2rug}K=4eMs*WQ0i;_g-oGzxprRP3{)} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..3e6ec0039333dfb2a9188185c222bc8b94e6f540 GIT binary patch literal 2742 zcmb7_Pe_zO7{~10+O4jgT5^U@CZM(Jqa@S2IL^_0( zRHvv*nFU2j{|*%$$|5{<>J*+jb?VfqQ}jGD?}wk`3N`S|JHL77n|Wrwf6>U0#j;t| zm8)5F*FZk#CNz&m6=Daf8MLd>eut{CQIFfVMaK>3x227g)q!>o;wGpp{k3RMqJ0RF zr9lTzZA+Ugt`zp3h3IQ_<~DkEL3B&$!WPH9g7)ez&vov&Wn?%rN9tMKS$tfmlu8%f zp|xnxJd4|>Y1_J)o$F=-$W%7Xb-R&W-}DHw?y;eX!kRZ_jp+h1l}(SYo0&E;A$8`B zmaiR+R;&`WwyK)972RQ#k17)bNOA*5Aj^uV+OMnyQFnspSaa%H?@D3xGZXTx5rm%rdgs)PVU^K&j$?^hd~WqTt`oY_?j!1o z0A|%LxI_A6q_QV>JxNJ*uB5}w((g!3>}5; z8q9UQ`6t3nh{vE8!U)zIi0g1X&+#?%)?oVb<`)fKGWd(ZUk(0d@Urj}BG2l(hj|Zw z2=m$C{rf4*bGZlo5}rkzgMJG?MtlnW5ne!i3DsaT+z<2Qjl%cQ=2`Hg&T;_if*OR| z(LM&GCz<0%iH1LuT?(9S^o|5PKo=UWzb&zFB8&d0+2O?jC6 zpEmfi!413+We*gK6-M(}r{s*;nRL=gOe8Xnog9s4o!EuZc%k5owq$v}>T|F9s{s7- zw4BN0N8*{H9i-PfC~UW+bH!3TmvCs0f4Z<;j%UUk{wuiZ@q9kp6EDSeFW=!E5Il?& z?PNOR#L~HRsU;cYrOi6C)?GG#ddwY~ZLh_!Rdzc0Ij5b-iX9H%oDsb+vuo|tqqm}+ qPX4+7%}x*_RpE~DCO|$PExJ2rug}K=4eMs*WQ0i;_g-oGzxprRP3{)} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-dependency/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..4923a7b043d8333a41c2b5f45e0802acbe007d1c GIT binary patch literal 2786 zcmb7_O-PhM9L8tW%G9JH5~4(MlZe<{5weJIw?#UbtQBDrZL7VTOYiQQu6>9^h=(#U z2?>HAGpQ))>rj{Ii|`PgI(6z4o;r2v6g|((|HapFg&KI~Kfn3UJM+BreoQ>tp;%Vy zx^Ojy?h+^fO+eFV6d^XCnnb%8?KxBvE6uoLWhSmbf2XvOQYX=lA+Ca^rN0#I2Wam@ zWT`a4SBIp{6&DJ7&qMUJI5UHuO%UBurm)3vZ=vm`%XghOZXOxV%#mhRZpm`Rr&(P*&Gr?suJCP}Dn(MY8yS(Wvvfj3#iNcx>Wr^t_WD1)eSvE6fWt#P# zZ&ZPLH0rQQT&>YHA1k^eIv>|2+L7c99DtOH>bgo>3!~l(uF~VGbfy;LXuU{h;tH6+(}elQG;2H7v3%1GV*<=54u|H!;EOw8FSwYKDbvAoiTa(;P|*I*YlYj;QV}w zj1@W_LCwNdW6+$m{md`i&z#ZE>nx@>e}0R_H5S)dywhTSSDddKa-l}y32G5$o_tU^i#QIo313CL1|1b1MZ6Am3NueWAv}c0KU|lvH(!tNZNzDa z{q%DKx)1RkBtL{^p+VuNh|i!a!pxJ0g=Y{yLG;1v`A2#OjSIg=`~Xb~Gf%!H{1Wja zbVt~mj~+Q+44Q-3&v$h{)CxVe__@WegsTw`L2rZ+)N6=7IA0sYvAhRAf42CG#a}J{ zX7P86e^@*(d>N5@`P0XI#=nI5?(q5k7UsU)h5iVSAx=RhFi-!FpeIn7@GROdptZg{ zdA;yGwD}Bp0I=+anxIX>^=R*bcnnCF-oLHF)yQ#wc^EM7@eYf5B$Oau1BIXli<>Oo zFN~pT7Zmd`zZo7PoR9u`p;n6zTYS{wPK!@joU+)pn8y^?PeA+!SNwN&n>RULcVEnrOqg|4Kb1E?aO7HyfYAT(Qn%}b zQhmvcleo~A?Co{>f*J0=J`Qw$5ugkTo^f+sNw+@~rq^;P5(=iX{rP0J+u`y&6(gbZ zNq4~ES;AEh=W>}?GM_ZP{ASlf@X*yCN~K*Vk zsGx{$q*Or=QE}x;t4LR_x)ABgl`9cf(v|rCGjr+9GzA^_=gc?f+&O3NV{RfoD%e)b zzJ7NL(@l^C-Gyc_Xn^fUSHifFbLhe?DsCQ&F}@l4qQ`KF1&oJaS3zBCR7@+z-53wT zvb8JY>uo(|#-+yDGZ6FCdLCk?6JoWLY8)}{4b-QmeAjt#3-EN*c)e9DCaPw06)*G` zn8mYsbBY#W>U$Vi-_r_D{i2z-8{UCu?}3@}74H zD~v%evLwVh+4HetIwt)IS;PpO+`wK)h`8(nva|^L0dPRZ1*E43aV$L{@IqkB=M|TI zK=!;Qi#hWeZgoUV%WM6aVwk5V>dO&9JweP)%N1kNqx_6xOUUqHUA*AbK`t9fIcc*w6fW{md2p zyuo1B=J#(lIB0OM!CMXH*U0tKkPGq2l8-@oXt(Bbu#-?!^99%`XrE^K$-|lpu(zQ@ znywN~jfU25b!oGqoYNnse zbs7H@`UG9o{0{a##5(Aog+4&s1DSp@Pf;>YqmR%7&EE6n8D>FypaaljgPGUwf3CR; zmha1J%`k#{W*)}#K63512D2`|f7akRgFhQQZ}3-x7c^gny#jsnF`wsm&3vBspdXqU zPyVTy@6LUQhcDX>XeacWfEI>!L5mRg!^ZvpfymzdA^5q)U>?U!hz~+G)Nb%5gF7`N zRBVHSKIS{k1Dxxzz7o`Dux)VI;Ozzv8XPxx*kJx5m_G^e8%_B5EcmGAQH))P|A|Ie z@BW_D?A_ln9gh&f{bhX2{qvu}d~D=`!R^u`#1`0OvQ#eSovJfoySa>$o=UrpohhgC zPV#&?RVq2%+@VufPdJ3D<^_T*|=jN) literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..051cc67e93e8740db2c36410cf9da3e371de242f GIT binary patch literal 2654 zcmb7_OK4L;6o%*aWz||#q=AAZw6Sy{*Q69*6iH%{A}XnfR1woO-k9jk!z8U%bfGI> zsGx{$q*Or=QE}x;t4LR_x)ABgl`9cf(v|rCGjr+9GzA^_=gc?f+&O3NV{RfoD%e)b zzJ7NL(@l^C-Gyc_Xn^fUSHifFbLhe?DsCQ&F}@l4qQ`KF1&oJaS3zBCR7@+z-53wT zvb8JY>uo(|#-+yDGZ6FCdLCk?6JoWLY8)}{4b-QmeAjt#3-EN*c)e9DCaPw06)*G` zn8mYsbBY#W>U$Vi-_r_D{i2z-8{UCu?}3@}74H zD~v%evLwVh+4HetIwt)IS;PpO+`wK)h`8(nva|^L0dPRZ1*E43aV$L{@IqkB=M|TI zK=!;Qi#hWeZgoUV%WM6aVwk5V>dO&9JweP)%N1kNqx_6xOUUqHUA*AbK`t9fIcc*w6fW{md2p zyuo1B=J#(lIB0OM!CMXH*U0tKkPGq2l8-@oXt(Bbu#-?!^99%`XrE^K$-|lpu(zQ@ znywN~jfU25b!oGqoYNnse zbs7H@`UG9o{0{a##5(Aog+4&s1DSp@Pf;>YqmR%7&EE6n8D>FypaaljgPGUwf3CR; zmha1J%`k#{W*)}#K63512D2`|f7akRgFhQQZ}3-x7c^gny#jsnF`wsm&3vBspdXqU zPyVTy@6LUQhcDX>XeacWfEI>!L5mRg!^ZvpfymzdA^5q)U>?U!hz~+G)Nb%5gF7`N zRBVHSKIS{k1Dxxzz7o`Dux)VI;Ozzv8XPxx*kJx5m_G^e8%_B5EcmGAQH))P|A|Ie z@BW_D?A_ln9gh&f{bhX2{qvu}d~D=`!R^u`#1`0OvQ#eSovJfoySa>$o=UrpohhgC zPV#&?RVq2%+@VufPdJ3D<^_T*|=jN) literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-direct/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..319d539be12645b2b1f4342b2843cc92b5b7f5d5 GIT binary patch literal 2698 zcmb7_OK4L;6ozlohqczCMH(n5fyUyZT$>V5OOYf7DWWlzB2@|@NpEcQ=3$anTPmn4 zUsOR61sA0j1d%E(T!}BF3vuPjl`HAWl`D}V{{PHedNWNy2mU$poilgNnfsWVh>jX; zn?+y0y9IY6__Xmq{eiP(vm1BgAW{hL7o1i1g--2-* z<3U)qc4=I_sm9E>*65vrn5QO`*M zOkD-Dcs9o;sS#K|(zan_2O{;0W?mD~jf*~ssB_yeL}Sl~vaaZHMCzAjZy2d+k+8Vu zorb3mgC1l_7+Xcp#|n2u#1o>3VFbB>Ly%!aMeh@(1`V6Q_Xif_Q)gib4FoIIv@7M3SjTCuaL-!OjPQI`BCF}?2kz!{(*2wi@ z&@x272RaBHg`R5sLgQD8cflTmUMq$%cn??y*Na0BAnw7#Ql&7b!qI^xJNOj8hfE$7xSIxVbAqgUkM6nJfQKQ#!-!jG>&ULqA`Cb z%%6n#4Uf6_95}6b6k{9WKcxZIxxZ%>JNK7=7Ouy}{gqwJ{qz6g#K|)nx5LM_8%ici z|#1)SIi)5<(U{U z1Gz$_nkr;0rsv-)Vos&(NvjD%W<60X=3}X9N_zRtbwH>gT`{vc+e+pNxoRLA24Jg!+zbgdjt;F?jHn9=p+w82}qoDl!U|5i>AGezT$4PzVR c@vuZ^=k$6!yrB^}tRIXr$mTpNN&naX1+I(f-2eap literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F4-same-no-dependency/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..b6cedc436e3d6ada09e03c2e87d1a37d9e5750f6 GIT binary patch literal 2658 zcmb7`O=uHA7>0NIqqWweJy;QxU}Nx5)}#c~;vpML@t`G@9%?D1NxHGA`7=MY74_iB zKh%@xMM@O~5fx9Kw2JiP$%9A_;>nXI=}A2JzB99QGL4`E?|k#jH#^@qGn?5Y;^P*} z7Ew2^Zlb#lvY|WB5*jVA1E^|fx1#+RRd|ye_ZgFMd^@zN+HhH4(H?@`4DIWbV>-|d zp?wsVrCS=Uc2t`Y*9&`RA;xL++(XZ9h}lxIu*Gq&paZf?d(I!X3Qyy+{wy{F)n;;4 zf9M*R$+P%PxAz(|LVyb zo|xG4ot7O&BZMdkai9rn8`|i0g+C#Z7=@DyI0ji(T-3e76G4Jeu%uq$>BBgtp0Myj zpw07&i@I0Td}aoH<}+OCsI@4b)g!s+rza*nGDZaX1kk%EW^{!|`ZLbko>3K% zt6@&Ge4iPUvGuX88W9s7GbZ=K6&~qlOwO3Fwu<@WIypa2iMC7Flc-r3bqHEfZJqfG z)|oTvyu)DTru+98956U!aKFL)MRL9jl!th_T@G^Y4E>;k33|>_{1v?FWgBWiL;`{O)B9B9S zUw$aA!_GrL74w|t$rXdU(Z{kMN+!#dQo*Zvbtj+8dYOex z-gB~*RKZK0ucXRluM#Y9f5g=+`da|}N(9g3OX*a;>O`0;?>yHD=8Dx?s+jQ@o_{u6 zXD*emd+lg4>ZwwxFqEpLWG{b%JrHt8SDkDw?0NIqqWweJy;QxU}Nx5)}#c~;vpML@t`G@9%?D1NxHGA`7=MY74_iB zKh%@xMM@O~5fx9Kw2JiP$%9A_;>nXI=}A2JzB99QGL4`E?|k#jH#^@qGn?5Y;^P*} z7Ew2^Zlb#lvY|WB5*jVA1E^|fx1#+RRd|ye_ZgFMd^@zN+HhH4(H?@`4DIWbV>-|d zp?wsVrCS=Uc2t`Y*9&`RA;xL++(XZ9h}lxIu*Gq&paZf?d(I!X3Qyy+{wy{F)n;;4 zf9M*R$+P%PxAz(|LVyb zo|xG4ot7O&BZMdkai9rn8`|i0g+C#Z7=@DyI0ji(T-3e76G4Jeu%uq$>BBgtp0Myj zpw07&i@I0Td}aoH<}+OCsI@4b)g!s+rza*nGDZaX1kk%EW^{!|`ZLbko>3K% zt6@&Ge4iPUvGuX88W9s7GbZ=K6&~qlOwO3Fwu<@WIypa2iMC7Flc-r3bqHEfZJqfG z)|oTvyu)DTru+98956U!aKFL)MRL9jl!th_T@G^Y4E>;k33|>_{1v?FWgBWiL;`{O)B9B9S zUw$aA!_GrL74w|t$rXdU(Z{kMN+!#dQo*Zvbtj+8dYOex z-gB~*RKZK0ucXRluM#Y9f5g=+`da|}N(9g3OX*a;>O`0;?>yHD=8Dx?s+jQ@o_{u6 zXD*emd+lg4>ZwwxFqEpLWG{b%JrHt8SDkDw?0M#T5GLEJ+vYyfyN>tYf=hU5y{3-JV@OX548wsnr>`x^J9K$D_V*t z|EL~B5ImGx5JXgZ@Fe~r9>kL;PoAVFPo6x9?>jqdC({OW;GJ)t@0*?ZW_B_gCoyWU zY!UUw)or+2Arra_Euj&D?MF3_b_?1osGK&xU#P>ko8WJgZG?;tw3D!#p<(H7M|%YA zW3Vh;zENsRwmIWkp?4Z$UX77ucy>d~mhuZ*?Drbl@4J-ef_|%rG(H=QVsfI|RK6N? z<=9M~<*!drd(+7FrjcEUG)^3h%X#||ZJzWPqQSPIiNcyMWnI!!h-{p6xoKoZi^RpA zcN=CDjXuoch!^S@+t7yF7I8-;kwTCQH~|?(LexDX5<`MV!9MkfNH6*^^^k}-295IO?o6qK1(&;v(YD7ej7gco)UEwuty~_G57jo?&&I zl$@6@k_}t#v$mH!gFXd4?Z7-u0mXc%AYj;tnn9(ziRwVr7U(4fZ0HI8dMr12?@M>HPQn4c8R zpN9Aw9#{ARI47C=&-cOaN(*eTzeUNx{_^X>@mR!fUSaMhzcE3aJg0FNA4J&)rPJj~ zso>V!y5;3_Zgw{7xmK={DY)rNl}x$pRw4!NpSZe(KLp^nBy!#>O=P^P6=SZv6KyM! zFIH=rV%FvK{9|HU(;2Vs^4{mHBc)OynW<%bFMo48A>=SowQ_mSP3MdGS|k_aqrHA) zeRhS?WIgCwh_<6!LplSzu9;3^Egg2?mX%s34T!>(geF$B+*4gOkdL*`)FPglC&Z^IXQ?{ z1t*7EoWw;Z(WQ$Het?ML2M*H7FQkH#lmGv@_olDcdf@-g`JHpW-o1G@`Roagwo#sI zKQ1G^9!fxS&=7)k@Qd)-RRHn1eiTUMe~1pEXbB^KvpeGa~r{a-4;p?@_>fd2+l3iP_P%xgE>wX931l z--4DQt~t*9t;Kn>!`mF@%H!>KI6UC+E{FLWV*jhqHOM!79{xJC$6@Xy+uM4^;ZcXj z96shSzjTgAe*-#g7|#0zjYF){$YqFZ_mAICoU0D=D`Nc#^bDFc{22Z@biwd__!rPc z!>{1qLYEA`gZ}_sG0Zx7&hSh4pU_RiU*Nw&Tqo!M27QMX46{zYWB3#N59qF8`+oe+ zX*{;J>0GIz{Bk3RRPk&hsMl2^8Kux)uBGIeN^K&jH2pM>uUB`UX!_-_qKaWP zY$eO-4rIBoH3yDrlQXtyl;WB@A(@Ur4>T55r~PDDZMK4HNp&H^yvn4=`3(|cOa!Ye4W)kwJAno~nG|9AYd%I1#_W$Q!8Z)~= literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..54bd31af2983ca61c42e877ab3edb244d4e6895e GIT binary patch literal 1947 zcmZ{lJ!n%=6vtnzt@VSV9a?cJG>X%s34T!>(geF$B+*4gOkdL*`)FPglC&Z^IXQ?{ z1t*7EoWw;Z(WQ$Het?ML2M*H7FQkH#lmGv@_olDcdf@-g`JHpW-o1G@`Roagwo#sI zKQ1G^9!fxS&=7)k@Qd)-RRHn1eiTUMe~1pEXbB^KvpeGa~r{a-4;p?@_>fd2+l3iP_P%xgE>wX931l z--4DQt~t*9t;Kn>!`mF@%H!>KI6UC+E{FLWV*jhqHOM!79{xJC$6@Xy+uM4^;ZcXj z96shSzjTgAe*-#g7|#0zjYF){$YqFZ_mAICoU0D=D`Nc#^bDFc{22Z@biwd__!rPc z!>{1qLYEA`gZ}_sG0Zx7&hSh4pU_RiU*Nw&Tqo!M27QMX46{zYWB3#N59qF8`+oe+ zX*{;J>0GIz{Bk3RRPk&hsMl2^8Kux)uBGIeN^K&jH2pM>uUB`UX!_-_qKaWP zY$eO-4rIBoH3yDrlQXtyl;WB@A(@Ur4>T55r~PDDZMK4HNp&H^yvn4=`3(|cOa!Ye4W)kwJAno~nG|9AYd%I1#_W$Q!8Z)~= literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-alias/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..97b72748c5b721643f0194c3c1b898c0c1f965e5 GIT binary patch literal 1969 zcmZ{lOK1~O6ox0Mt+h(gEG&pfp;257O;HftqzM+mB8hHXi0LG~v12nyNYaYvN)Qx8 ztAZ;RwYYMnt^`54(S;8XL3|+MO6mhqaOKMXKXY#~y~YFoob#P?Uo&^+PA+rQp{L#5>_> z|E|MSIAh0{-2*YZx-x|fN2PJa9h*Vey;4Ud1Fas7y{Y>U=c9#lG0P~%TWpq8RhgOI zBQXfk!kig1#z)hd@taa&$9bHLR9y!iJ&-=(@K61|CeukrE5IK7M z6edp#vDFadI3s9Bic5tf(85|uFM3g0j7udg*SzcpXX1_-%E~G-`pQw4BxV=W=2j%b zH-r|4ZbCmHt~|>G7fxiarvUsn>X^ST; zp0xO|#r)nmKmB#+xMn!#7c>R2P9vA0=>5)ET(y|r65Bt9oNQVX4c8KHGhEr4&Bjg#=EQ8 zyf6IvY23#a^nd^}{3ygWFI)V?V%{^&^nVp%o8MZ@6NOfS`0PJHG;$64On@DO>Jaaf zN6kKHKg4Gg<=+v%;#lJ^zDcX zg?ghFsFs>@D}Gs(PM0dmEjPSC6;3t0dR;Y=K??oluu7h&)QVoE>5g$b6Jhsa(=GcI zRq(5RD_I`vL6!^aI&e^%o-<8@6xZAf$#e_`p-I0w>n8nbv*lGwst*}1SF#P|P4iE+ z5jw&n-c6QTwT2sbv#K9Co~L1+EdgR&P}nCXXE%ppCMLfMY0vwkNv8b|Fpnv${r~zG Dkn6q} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-scene-positional/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..5ec10032326a96b347d4e00b79b510e409cd56ef GIT binary patch literal 1951 zcmZ{lO=uHA6vsFA!&;%#9xN0Og+}qTG{q07B5jI2Xpsa#M1-(OCwA>_5;jSTUi9S2 zgNP>&Qay+lKR^%>Q4gN{7DYUWC+W$PCr{G<|IJL2PV0mJ&ilPLA8&TDlU(++N82XP z%^z10?uJs(HE0~p7PPO>?t;4D|3KgjIY|QWa%a`i{T= zMAI=_VT!M&u@KfJ#eqvf)KsKZC=J5XZn6o02+qdZ}@|`cVXOavTUu zOC~2LlJ|zaek5lg&s&kqjEv8kC*yY{PESXtC6~vPT!}6BlE<3loX0cOGiKp=W{nIA zm=t2KVJ5sW^wV=p3F~Oal)NIjY02n(9u?4Xa$c5ZWc{ppa=v!Ow$JU>9`fEnnM0q{ zCHP+;*34a4=I^bOw>!MUVOHMRf5hQYhxa(l-x0?r5Px;P;RUo!XrIG;lk9KvQx4BM zJm>H!htC>5hIR=m8b;%Nh4}SwJsSBuM7HmX-%uxWADzrSk?%qGp^JuZp?v^dHhcr^ zL+Fa($7r8IylXiA8T1^wZkTy8$1%@u@-uYP@LRO+pcTXK(SCsL8fKo%x;XwN^bulB zWV=7kOXIn5FHZk#Ss{0c>jv+m~Soh0eqzYjr zY^2K*U5K)W!dMQoV?ePX-kv(no&Yfxq{pP>rsh_5;jSTUi9S2 zgNP>&Qay+lKR^%>Q4gN{7DYUWC+W$PCr{G<|IJL2PV0mJ&ilPLA8&TDlU(++N82XP z%^z10?uJs(HE0~p7PPO>?t;4D|3KgjIY|QWa%a`i{T= zMAI=_VT!M&u@KfJ#eqvf)KsKZC=J5XZn6o02+qdZ}@|`cVXOavTUu zOC~2LlJ|zaek5lg&s&kqjEv8kC*yY{PESXtC6~vPT!}6BlE<3loX0cOGiKp=W{nIA zm=t2KVJ5sW^wV=p3F~Oal)NIjY02n(9u?4Xa$c5ZWc{ppa=v!Ow$JU>9`fEnnM0q{ zCHP+;*34a4=I^bOw>!MUVOHMRf5hQYhxa(l-x0?r5Px;P;RUo!XrIG;lk9KvQx4BM zJm>H!htC>5hIR=m8b;%Nh4}SwJsSBuM7HmX-%uxWADzrSk?%qGp^JuZp?v^dHhcr^ zL+Fa($7r8IylXiA8T1^wZkTy8$1%@u@-uYP@LRO+pcTXK(SCsL8fKo%x;XwN^bulB zWV=7kOXIn5FHZk#Ss{0c>jv+m~Soh0eqzYjr zY^2K*U5K)W!dMQoV?ePX-kv(no&Yfxq{pP>rshsUF0OAE1bcpok~GMe!sa#FO;o$&>j1znx9CV}0=7_kQoq%)Z^(ObWS^inc|r z8(&tC?t@a$WoQyX5BziZ9Z)ag??^0S5Xa>=N4_6%!Ni*oA4j|w9!^~}`2ob25buVk z{o6-e;T^li>_Ldx^_6*KxGIeucg;t*aixVy4qCq&XH$=$^<6N_u_-=cv!ZJ{zSB1( zh9Fv$i`Pu?)wCA8rj$5w+4b9+v<9W2c-d~$nG~--j9`RwV9aHuk5QGH#H$}iq9EIW z#I#fjvLi(`rUp@*fs|U6%8bm*Z=hAfZ{goTw+ypRW?!8D40;c-r{sDM z4aeULPXHSCk)ncA1vwJ9}q!|AXXOskZ2{TtgNh3dCr}g^YCNO`e-S zZbI$^62NU>7{M0!CHOr+2jXQ2=P`)mMz(6-h4`?EyAh8fJ_HZv)r{VQxQX}xJni2; zY=$eY8`Yx#)s2}6D6C3j$LltYaPv$Znd895YMf0x2DlzguSJzng0I*tsj9LoeTC2q z(6nZ2Cb%`N>98p&PMi%YZAG>MBmrA?JzAS&>vtpQ;~W^ZwDi&MC5Ex}gAnp^91t>+ z$;*ipya8`Jk~zTh79^9C`C0R%o|lu+N=EboG_FF=_b6aJ^1R3M)YYmywLl7d%}tFK1<0PS($wC+jUr%!zi){g`ru2^hP+4lD!g zInMc8i}M{0-|cXA9v{Eg;e!s}?{NNxIDZb92Ykc%ySxk>bU1gC<840e@G*yvJN%5p z`K7boN#F`_(Qr8LJ1_w-Pa`h_P7 z{A=Kb;cwvI0=Eojo}70N>%RcL0e1}l2>%JVXZUCMFTkSV%#%Mf{2e^M(?^Ee_v3d? zHxE{=wnwlV1EjB(y#{f18>=6>0`dmrLrvEHaf zs-@a~B`mAbe5s=RawCXTajp^6>#C8AQkXB-Qu0!zHW^f!{s@n^Pfwq0`sJ{qieWWu zCCeinP}$g~g`?V3+YXIV?70h&2ioaJTi xCrhnb!;gX))dP(;r`9wJ9}q!|AXXOskZ2{TtgNh3dCr}g^YCNO`e-S zZbI$^62NU>7{M0!CHOr+2jXQ2=P`)mMz(6-h4`?EyAh8fJ_HZv)r{VQxQX}xJni2; zY=$eY8`Yx#)s2}6D6C3j$LltYaPv$Znd895YMf0x2DlzguSJzng0I*tsj9LoeTC2q z(6nZ2Cb%`N>98p&PMi%YZAG>MBmrA?JzAS&>vtpQ;~W^ZwDi&MC5Ex}gAnp^91t>+ z$;*ipya8`Jk~zTh79^9C`C0R%o|lu+N=EboG_FF=_b6aJ^1R3M)YYmywLl7d%}tFK1<0PS($wC+jUr%!zi){g`ru2^hP+4lD!g zInMc8i}M{0-|cXA9v{Eg;e!s}?{NNxIDZb92Ykc%ySxk>bU1gC<840e@G*yvJN%5p z`K7boN#F`_(Qr8LJ1_w-Pa`h_P7 z{A=Kb;cwvI0=Eojo}70N>%RcL0e1}l2>%JVXZUCMFTkSV%#%Mf{2e^M(?^Ee_v3d? zHxE{=wnwlV1EjB(y#{f18>=6>0`dmrLrvEHaf zs-@a~B`mAbe5s=RawCXTajp^6>#C8AQkXB-Qu0!zHW^f!{s@n^Pfwq0`sJ{qieWWu zCCeinP}$g~g`?V3+YXIV?70h&2ioaJTi xCrhnb!;gX))dP(;r`9unqmB1W^5)2d9+kriGqTN zD?xBkt1CeeAK*rPGw>iF0Vgc1Jgbz8CS7j{6X25FdbtbFS!oKjLeM_rcTt zU5BY~#VZ5)lgsmBoKqlI%Z%P7WMtmjo(nVG&J zF$mGZoEbC5N7E?!bt$pqf>&xP(mIrY%&_gK)ya&%6+xVRV9cdt9Xp)ZC?5SV5*gVJ zB*vwZksZl8L(Tw-6OiL9OJzd(r}dTjjOn6)hNGnsIePpg zCQk{m)ez)3BWOqJk_tzlg|(z!^s=-Vmr6>mS=kTH#2qs>8Crw5@+k9-i}DtWw_D7WN89hTc-Z2-7V}MF|3zpCay1v>&qMnyK4fvq;z^6A zEIw&5zjw}m47vcF)ePr+g{C3aY2*SFy!aUn{X`VsM=VeaxJ&1F; zYONBehHAPczo7C<`I2%AH7`)P#hO>Gs#+pQqQ4wgiMdi`#w*p`F>ZG}>^@U>3w}xE z{IcIj6vn!d<-$4+98_kTrfHDmntLIcj=>-_<(KE(gkP>VymDUkA;aZLwx+yU{;9S> zr+CD>iF~6{a|3T)^&`jgG|aOlK#U6t`^4nz=1|PUd4Dv?wEh9+F@?4NU;hFf CjkmP` literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c2cef3589dc12349f3aa1289e4c688b1a39084fc GIT binary patch literal 1959 zcmZ{lOK1~O6o&8Erw@u2X~k8c@qvq>DS}!=+Y|()=tMzWnNHG)9hymE9<8DvC_WY< zu3WjOMK>Y{uGEEA5J6NBaUtTP6a`nVT)Fc9?<1Ms)&u{X^PO|=xi@zn@lq!QZMD3v ze7TNvE95{op#cP|;OF5tK`n?sA(6!(jvMMwz76p{9k(M+A>IQIC(h}7C*li;x5Lwx z@55BMV$+!24Kcg4GL8(p(zxTMO(I;mQbuJjw6q&%Qx71nM^kGt%gEtRtmcAZU{?Bw zL>EL;In&eO(bOixsw{Ehv|p$Pq(vwJnYPWSG0F6AN6^hVFy@BkK6->RfTQn2!jrcH zi4j@x$}vZA4a7JuOs6Pu?p-qjLR}zOvt(j5*Paxf9FmVgbfo z^O^ktanEt)vli#I7H_baJCBdwY;m8(TP@}@#QB$?%aE&?Pu~@2r^P%;jyLsTiw{^l zX7N#r`KGhqVdyG!QZtSXaS;4KxZJHK`XQ$Itcx; z__xJ>G#`RL0{xBEJ;r#g*l!!eXNTV!as-`**2S3n>Cw#Rg!?hy?k$KjnR2BR1+}2= z7Q%dxJDV#6ZocA2L1w1nm&-vV5hXESewGra3Z<-HsJer^z1?bhw(91?LXZiIVJ(p# zY(chPRhBo7N)vT6G)i*MZIE1!K^HU@7N^`qSgh9kVlHS$hTE0dO5jg)05(F$CQIex zVKuC|iCnEzaU*{!=tQ0^nl;WqLK-(F#Cph)Uu(8x#&NhnV-9~SP5xyxzWnCMRPF!Q Ee}ja+YXATM literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c2cef3589dc12349f3aa1289e4c688b1a39084fc GIT binary patch literal 1959 zcmZ{lOK1~O6o&8Erw@u2X~k8c@qvq>DS}!=+Y|()=tMzWnNHG)9hymE9<8DvC_WY< zu3WjOMK>Y{uGEEA5J6NBaUtTP6a`nVT)Fc9?<1Ms)&u{X^PO|=xi@zn@lq!QZMD3v ze7TNvE95{op#cP|;OF5tK`n?sA(6!(jvMMwz76p{9k(M+A>IQIC(h}7C*li;x5Lwx z@55BMV$+!24Kcg4GL8(p(zxTMO(I;mQbuJjw6q&%Qx71nM^kGt%gEtRtmcAZU{?Bw zL>EL;In&eO(bOixsw{Ehv|p$Pq(vwJnYPWSG0F6AN6^hVFy@BkK6->RfTQn2!jrcH zi4j@x$}vZA4a7JuOs6Pu?p-qjLR}zOvt(j5*Paxf9FmVgbfo z^O^ktanEt)vli#I7H_baJCBdwY;m8(TP@}@#QB$?%aE&?Pu~@2r^P%;jyLsTiw{^l zX7N#r`KGhqVdyG!QZtSXaS;4KxZJHK`XQ$Itcx; z__xJ>G#`RL0{xBEJ;r#g*l!!eXNTV!as-`**2S3n>Cw#Rg!?hy?k$KjnR2BR1+}2= z7Q%dxJDV#6ZocA2L1w1nm&-vV5hXESewGra3Z<-HsJer^z1?bhw(91?LXZiIVJ(p# zY(chPRhBo7N)vT6G)i*MZIE1!K^HU@7N^`qSgh9kVlHS$hTE0dO5jg)05(F$CQIex zVKuC|iCnEzaU*{!=tQ0^nl;WqLK-(F#Cph)Uu(8x#&NhnV-9~SP5xyxzWnCMRPF!Q Ee}ja+YXATM literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/F5-shopvisit/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..57cff6bd2cae855c811fd23f47d8ceef41375780 GIT binary patch literal 1981 zcmZ{lO=uHA6vt=#ZIz-yEQm;<@dFP_Q#_~_(-Z`y=tf0)GTo*VvoxE;P1-7WQv5iG z=s`~&YSD`q#gksNf(W95coNZCM5QNBo;>;g&(1XIv_AOnd%ySQGc&vKGNXdFPCeIt zTt~VMa-f^g0D>0ydHC&6E8+ztA~a$Y`iw*m zM2mA~Oou;By%^L~i5;i?(v&1EK}pCA+lZDsnejIuNU#r#xwKlx7U2xwr|(0;Q^$eC zkg9mWHqKbiN`$;6oW4lkP!W7M`}?OjzEiRDZS`f)nZ6h((0L2=fRnHVups*Dl+=XQRh_5E~d@BrVMWg ztp(!E{Q+_1&CDCu%D)BG0xJ#<4e>tvoI$A1ZZhwf6LI(Pnp+4;G8dGC zda^Lsifn&eSv_!AnV2$7!xY!t4yoxF^gts)dD2Y=nT&~JS(x2!AY=%x0 zE7em$EvUQ6e7zF6p+70RkmnGM8haq2j0+QDBjl)WIEQ4$aX7(pAMTZ={z#Vp56n*% I*Z%+f2e0tKDgXcg literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..8890cde7150bf6ea86e857112930752ae53b6b38 GIT binary patch literal 558 zcmZvZ%}T>S6or#kt3_QjlmrTv5*4&RX;#Ih))#1Z-GvY)AS4(DMSKSrK2{&A=iJOx z5_;g9d(OT2nM^k8okR6yJ-z&*eFj|c2cAI(?2YfDa_9kG=V8ct4t(Q#@FU|d;K#;a z!iVtJs1$5Vp~=k&yFTEaIC%l=xG`Qms_m=vHge6@38V(nyK~;8Zk-#c^}@X@0ryJT zY|qB#t9pE#4_bNH%G?fR@1IEe&-@nZ2~5Ew12hA35HUcUGsg_jEm(jR17x4i^PnC; rl2rPmRG;cAD&BLI{bYrTa-Ehc`POMwDScnYJVgF1>7zDepT_0^|JEE& literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..8890cde7150bf6ea86e857112930752ae53b6b38 GIT binary patch literal 558 zcmZvZ%}T>S6or#kt3_QjlmrTv5*4&RX;#Ih))#1Z-GvY)AS4(DMSKSrK2{&A=iJOx z5_;g9d(OT2nM^k8okR6yJ-z&*eFj|c2cAI(?2YfDa_9kG=V8ct4t(Q#@FU|d;K#;a z!iVtJs1$5Vp~=k&yFTEaIC%l=xG`Qms_m=vHge6@38V(nyK~;8Zk-#c^}@X@0ryJT zY|qB#t9pE#4_bNH%G?fR@1IEe&-@nZ2~5Ew12hA35HUcUGsg_jEm(jR17x4i^PnC; rl2rPmRG;cAD&BLI{bYrTa-Ehc`POMwDScnYJVgF1>7zDepT_0^|JEE& literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/checkout/runtime-trap-control/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..8890cde7150bf6ea86e857112930752ae53b6b38 GIT binary patch literal 558 zcmZvZ%}T>S6or#kt3_QjlmrTv5*4&RX;#Ih))#1Z-GvY)AS4(DMSKSrK2{&A=iJOx z5_;g9d(OT2nM^k8okR6yJ-z&*eFj|c2cAI(?2YfDa_9kG=V8ct4t(Q#@FU|d;K#;a z!iVtJs1$5Vp~=k&yFTEaIC%l=xG`Qms_m=vHge6@38V(nyK~;8Zk-#c^}@X@0ryJT zY|qB#t9pE#4_bNH%G?fR@1IEe&-@nZ2~5Ew12hA35HUcUGsg_jEm(jR17x4i^PnC; rl2rPmRG;cAD&BLI{bYrTa-Ehc`POMwDScnYJVgF1>7zDepT_0^|JEE& literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..52d81aacb8f2ce95fbbb107cda68ff323061133e GIT binary patch literal 1176 zcmZ{j&1=*^7{({9tzQ@QU{OR0UB!zbLiJED?RpVUi5Eo=ad$h>K+;{ZyH>@62!cuv zih@_cFGMf?9sX1Po|%kGYklCEcYg0XnVHNaY4^5~4!d^$W{30v9N{(+-Mf?6aFx^@LuNiYy2b#% zBaYAYGqdC>84qesMIC6y%u?!B@nbGgiOG3da`hGC=giDm$G)ivKX5qCz~Pz$A8nrr ze0&f4HH-;$9k~>E+0l&8@8NKH`p5=YyO#p5di=|4Eng*W;`Nple&TM+dhRm5-ttA_ z6|5T#()hH6uwUJ)6xe_KGuG`&FYqgT4@=^=xDcRs_&u%!NOkd+06oXw@kD?=;m`Pq z0DZw<@iQ!`F4l9>2mB4c6rix*MUUnjG0#WMu(lIBjjOV-gU5r)#zoVsZNA;~MkCvF z>O`N^5!|_74g0-n94B*-u03sreH%aQRZ}|;p1{o5AIC*m*}U8;C!HeEzqH~j|E^UJ hH>Y7}oh&d+b~_+CX)$At;V4qkEvl3hUdGez_7C4QXF&h} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..52d81aacb8f2ce95fbbb107cda68ff323061133e GIT binary patch literal 1176 zcmZ{j&1=*^7{({9tzQ@QU{OR0UB!zbLiJED?RpVUi5Eo=ad$h>K+;{ZyH>@62!cuv zih@_cFGMf?9sX1Po|%kGYklCEcYg0XnVHNaY4^5~4!d^$W{30v9N{(+-Mf?6aFx^@LuNiYy2b#% zBaYAYGqdC>84qesMIC6y%u?!B@nbGgiOG3da`hGC=giDm$G)ivKX5qCz~Pz$A8nrr ze0&f4HH-;$9k~>E+0l&8@8NKH`p5=YyO#p5di=|4Eng*W;`Nple&TM+dhRm5-ttA_ z6|5T#()hH6uwUJ)6xe_KGuG`&FYqgT4@=^=xDcRs_&u%!NOkd+06oXw@kD?=;m`Pq z0DZw<@iQ!`F4l9>2mB4c6rix*MUUnjG0#WMu(lIBjjOV-gU5r)#zoVsZNA;~MkCvF z>O`N^5!|_74g0-n94B*-u03sreH%aQRZ}|;p1{o5AIC*m*}U8;C!HeEzqH~j|E^UJ hH>Y7}oh&d+b~_+CX)$At;V4qkEvl3hUdGez_7C4QXF&h} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-condition/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..3eece9eaf23289955a448b6fa148d51d4104708a GIT binary patch literal 1198 zcmZ{j&1=*^7{(`C+xl@)4;DqR&{ez`BB+OYY1fN*N<4{|b$6R+AnC5zT}4kK2rWqQ zqtJ^7!7oHF{we-P{+{`8X{`@D^Um*mCo_|oB<R&V=ZTWW?bl_GT5%?2&tdIJp7kPTGm}T< z*rko>z*3De$U8bCbA%*E}oy#2wFi?mE8h z`3g~Yqk9d~_|!w#uWnZg?0$h6>yD*YcpE>!lK3qy1n529#gzc5F5VQNm-suL2+$|| z89x`GFZe5dfhE<&dQRHI-|&_Ih52?I{@wqA=ZnN{chn5)e3DP&sx0!svq6=|MboSE z?$f3>8s$y9PV}K2$L)vJu-~i3angeH8KljypT|#n)ij?2Ph)26kK>}O@@~0VPTEDH pKWxQS{#~mcZcM|_I+`mk(%cVd1C}x_^@Ep4h{>J}6P<2}jvOD0r+TV%)9{&h-7yMbrcjN!UZ(s%G{>8~!YR3r_Jq&dw z(T%DJSj~*qdqWpCriIovf{!_M5i>h;X=cW6c7^P`Tf$yM?P3P7300}XtXOZ}1Q9pV zAQ0P|A+TyQvC+jO=B2GZkMGWF%&PShvta8ICTdMtU3bFDLTu+PSbxc8b?M909K*V~ zF1u*l>WMjOtKIMd^Bw9Gg4ezsyx!;1fAa^XwA*7cU%y81^BY!8^oc3$f3ljf3&T3^ z_30^nw$|scYjCC3GCyFe)|z()Ua0jc>@w7!_fUOY3x8hyf5B__NG4hxAl!xb;Z-O| zKZ3agcntMq3JIXR^o9hu4WB~wjqnC;!A%M98cN@k0I%RTct-+!grDF&3Gf+yfe$2r z^3r<3!ds~4`%D7(@AJ>@II%PxRQ)m=W#h2ue-?QQf%%{$o^`LQPbKVeuol|JnEiG<#25rBvFETc2LF9tPuo9`v3VQ- literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..086164d46e87b76b255e38fb4e054c04191e2657 GIT binary patch literal 1287 zcmZvbyN=U96o$vk9U3muu0%s%1ERt5O0WeqyP-i;HWi{VN!Df~>`mk(%cVd1C}x_^@Ep4h{>J}6P<2}jvOD0r+TV%)9{&h-7yMbrcjN!UZ(s%G{>8~!YR3r_Jq&dw z(T%DJSj~*qdqWpCriIovf{!_M5i>h;X=cW6c7^P`Tf$yM?P3P7300}XtXOZ}1Q9pV zAQ0P|A+TyQvC+jO=B2GZkMGWF%&PShvta8ICTdMtU3bFDLTu+PSbxc8b?M909K*V~ zF1u*l>WMjOtKIMd^Bw9Gg4ezsyx!;1fAa^XwA*7cU%y81^BY!8^oc3$f3ljf3&T3^ z_30^nw$|scYjCC3GCyFe)|z()Ua0jc>@w7!_fUOY3x8hyf5B__NG4hxAl!xb;Z-O| zKZ3agcntMq3JIXR^o9hu4WB~wjqnC;!A%M98cN@k0I%RTct-+!grDF&3Gf+yfe$2r z^3r<3!ds~4`%D7(@AJ>@II%PxRQ)m=W#h2ue-?QQf%%{$o^`LQPbKVeuol|JnEiG<#25rBvFETc2LF9tPuo9`v3VQ- literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-direct/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c17229f806148cc75c5e9a15d099e216c7b7f14b GIT binary patch literal 1309 zcmZvbON$dh6osqfV|;9Uzzn!CI8j8f=>eUEZf4>}Ty{fZIx+Hv;qknm0zz$fqv ztiUFL7uX$e8~+zU)qP`--35P^{%-u=_(!pGaJ!7}!T*C_#R|&(i<70)juR+)1nNwp z8&wmqni;Nl2QF+(9j$EyA9LywW_ITC%#7dcD%p9rguRH;#q{ARs7f7X#d`B5h`5m| zf!N**fmNG{jV`8PUfJpk`0l*MtXjWe7HnOEiCR-u*WF-cA-3}ttiNQly7XmgbU|*e z%PtzXdc|fM=9r!1hL@P{P-hXm_D$jSewQBS4^C;f(`3GWkl^Q6t(xc)Q(9*h)RG+- zN&v6VI62nmN_`%?23JZg^8?mPt$AnR#ZsTfE<^o)57oz|@aI(*2wuCVGSTV-;V!%n zuR%fj5lkh(W2lFdNdV=gHzdGq_!O#pgtzb=+>`)sp!Ajmcn!b8I}+dn{0Q$!fKTu< zd>{dom)1iT-a|d&XA;1#_uR?x_xi_poOrX@FM4@0Oh#eWO_R>8PL_me(aMwN&7#%s zCq*rf)S~-f?RwU0x3WPPRZwc1xahT$aI=+-67}yP$cpVjn0B+I+1=<4YiXpHyXZ3i v@0It~M!qzU)aGJmJ?Y#~-%8lyU@f$bF$e5;m@x=cV$We?4F3DPp0OOvfF>InL}gPUnvi&H*1{%{lfZ(g5CuXM zK!Kn^3q3D^1Ra70;3fnTNEEyQeE--(*pOfP=J-G7jAv|*gVuQ?ZMWm};U4K(sKI@B z3p3Cru|eDdzq$TFQhnbU6zAY)b-k7AUtAv`&ciN>>e&VhT-S+`YMXVWvRZL0W%q;j zB+5}eHQjc&mJZ6aF)h57kzB5HX9?3Q=cZQNVi%|$1o_R|x=E(-Po-&l_L-W`)7B{j z_Nhs%*h*mZVnSY{?sFQ-{Tj1kuS2tF`$8saHATJd&@^p5_;22#%^$O!`T)!HYp>;f z%IZ?JQfQWJcR9Qud53n!yC9IgIYv`5K3zxzcGk!!d6MK6zs@yN^4B#y2}S?nc6Cy(3LicY^D z7meK4!QBCkOIfem$p)T3gVQkzie5MNu6D9ftW&)gxMO$VC21D7(<|w)k@&M@bxxOOvfF>InL}gPUnvi&H*1{%{lfZ(g5CuXM zK!Kn^3q3D^1Ra70;3fnTNEEyQeE--(*pOfP=J-G7jAv|*gVuQ?ZMWm};U4K(sKI@B z3p3Cru|eDdzq$TFQhnbU6zAY)b-k7AUtAv`&ciN>>e&VhT-S+`YMXVWvRZL0W%q;j zB+5}eHQjc&mJZ6aF)h57kzB5HX9?3Q=cZQNVi%|$1o_R|x=E(-Po-&l_L-W`)7B{j z_Nhs%*h*mZVnSY{?sFQ-{Tj1kuS2tF`$8saHATJd&@^p5_;22#%^$O!`T)!HYp>;f z%IZ?JQfQWJcR9Qud53n!yC9IgIYv`5K3zxzcGk!!d6MK6zs@yN^4B#y2}S?nc6Cy(3LicY^D z7meK4!QBCkOIfem$p)T3gVQkzie5MNu6D9ftW&)gxMO$VC21D7(<|w)k@&M@bxxNXGoM6X?2`akDXSEW)N)h-%oryXYx4@u8K0FU4k z6d)$?hPVxiB>sT<{xT>Qp}?T$?Skin#CcfG^E-Gx%5#Y*skT{1a;p_5QuY97Pr{Ar z3AEgBy)$rWV`_LUBl(}il# zwUx*oOx7Rwy(}at){5suA8c@M_cAC+WZOI$+?;p`gK_DJ+8WB z+)4#oshhH$Ge>(SPh-*;Iy~1y(*AV2S4F~4Eh3J zL3@(E!FPBngH)G)CWAi156~VZ|GwAGj?cq?xXa|@xS#d9$uJp(X{VjEZne@RY-f#b z65q%g{eF^_yA@sMT~NM~_L_}!5LOB}U8^YTHIwjqBON8W>-&H=HV0w5lO}QJT4z{p zSLVnrxyshHy1liLZ|zo!w29Vw(z>d9En~Msw9+!h?6Kp1#vo9O-G|LF_}}OKbo>V> C4u8M^ literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..d259cfb9c11492588d174dbd55f01f110208817d GIT binary patch literal 1310 zcma)+O>0v@6ozkNZ50<{olIjtZ7g5xXo%<8`o~Ji%#33MrWI+vO@G(U$sB;Gh3r)qa|+RZ&>d^ ziX7j2d@SKc!Y32fEs)OQ z^SCKMkvHu#z;}??gO9@{|xc?XD^oxXV20l&HTDJmsiP!L*z-z<-z8hHMVttE} z!$YilEY0B~_>lk|!bh=gv-AwV#?J-lDHgvFpeOh%ekDL3@JIYcfIeY;>+b|e`D+mt4M{cU^6%==5CsM$zf_T~Y1Tb-lOaX0dwF z)vC)YYlF^8?#iTeH+?$4?DDJn+Zm^>ce+D2K}tK?qC}JGvTTR7J84TLmDoa-qlu@C G9OEAkw`XMl literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..d259cfb9c11492588d174dbd55f01f110208817d GIT binary patch literal 1310 zcma)+O>0v@6ozkNZ50<{olIjtZ7g5xXo%<8`o~Ji%#33MrWI+vO@G(U$sB;Gh3r)qa|+RZ&>d^ ziX7j2d@SKc!Y32fEs)OQ z^SCKMkvHu#z;}??gO9@{|xc?XD^oxXV20l&HTDJmsiP!L*z-z<-z8hHMVttE} z!$YilEY0B~_>lk|!bh=gv-AwV#?J-lDHgvFpeOh%ekDL3@JIYcfIeY;>+b|e`D+mt4M{cU^6%==5CsM$zf_T~Y1Tb-lOaX0dwF z)vC)YYlF^8?#iTeH+?$4?DDJn+Zm^>ce+D2K}tK?qC}JGvTTR7J84TLmDoa-qlu@C G9OEAkw`XMl literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-local/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..bc0ca0e04e6053e093d0032eb7b5cae422348223 GIT binary patch literal 1332 zcma)+O>0v@6ozkN{lY~piWU(pv4V<(h}xBlHo6c&NH!`6hIpM~YtqKsMD50fxDpW& zQBV;VE<`ut#xMN%E&c-+F5LONXJ*oNaN!H@oO#YUckblgxoOnTXVPXH|2^CzJ%UU4 z0e*=!iYkapU5 znA`-jm$t(h%T3$(zkOp_!=C5~yQ*$uT)W9#wA&^<+S?SJdICP{yY^=O%Cc3O*#TR@ z54Q>5vEGIhIlleKTYPy~A4_<9!g?%Hyne!Hg)4y-mT`P*k*k^nsa}gf6i+35JmGr6 zrxMm#kj~)?xFJB1&w3oP|0Y)I7nAzsgy$3Pt>T<{k?_sHXNX$sR^Sft8om>FiP*U}=Ma3pzUByC{6*X8`Y+@4x;Vp<*xo(~l65UPKXA-p$Ng*m0 zA&p`o79svYw6O4NSXtQkRs5a%X0pkU!UN~td(NGmnfGSiW>dGEaKPg3;WhR!tiUz6 z4u@bB;~RMo{6+m2Q{%o9l=s3Pq25RRlX{Fi0)Gd8KlLB#6J$ZZ*@AyLM%+Lai-m^Z>6YYcQ_TwCb3vGI8s}>{6N$c(=&3|cCt4>j+<>~>nFNUX zW+}IH`2`I6x0C+eMBhtvf1AETT_pN(&@<#5KHb)reirm~vesG+`U3ePd=d0H@+GJn zDk#5!`X+^!P+H%o@Em@HZzaGc{0QGmfKTu<+>ik3ODhZS;1{Slgm~WZ8$FHJZug7D zo?r6I_3r$v&!6O7U!N^HJ>Py*bozZ?)OrnF-$O7f7H53DHox$2sk4y#AuQd!($436 oeqVnj18b$zUG~FRTG1vY8#KOF#rGn literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..e502ae256ff0a72e426689a9e521b408206207a1 GIT binary patch literal 1266 zcma)+KWkJ$6vby_G>U}=Ma3pzUByC{6*X8`Y+@4x;Vp<*xo(~l65UPKXA-p$Ng*m0 zA&p`o79svYw6O4NSXtQkRs5a%X0pkU!UN~td(NGmnfGSiW>dGEaKPg3;WhR!tiUz6 z4u@bB;~RMo{6+m2Q{%o9l=s3Pq25RRlX{Fi0)Gd8KlLB#6J$ZZ*@AyLM%+Lai-m^Z>6YYcQ_TwCb3vGI8s}>{6N$c(=&3|cCt4>j+<>~>nFNUX zW+}IH`2`I6x0C+eMBhtvf1AETT_pN(&@<#5KHb)reirm~vesG+`U3ePd=d0H@+GJn zDk#5!`X+^!P+H%o@Em@HZzaGc{0QGmfKTu<+>ik3ODhZS;1{Slgm~WZ8$FHJZug7D zo?r6I_3r$v&!6O7U!N^HJ>Py*bozZ?)OrnF-$O7f7H53DHox$2sk4y#AuQd!($436 oeqVnj18b$zUG~FRTG1vY8#KOF#rGn literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-service-this/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..8be96a8fe9b0213701b9cc54007bbe6521915728 GIT binary patch literal 1288 zcma)+J!@1!6ozNl_=SZAC5nwF z#>w8;9Zp-VY2*LS8+DoeqH(owGfv)@iw;M&)pm@CEAx zq{#8aBkwBPgZ^m3`x4eqA;s&*jfPwctT2z`Nky(J2~xiifhe9z_-w*637=0`=PzBt zddD*XihQ}m0hiywuzxk_Ur+c(!u@r8jl4+sZs1vBj_e zh^MjMQ%Ug!)|V+g#$tV?(nI_izZ9T%_&t6tKp*f&{8oU}7b{Ay@F%P_q`2PK5(noW zzuY6#+wFd_-194bwccHr^ZC8J>+5qxr{~*uicY`pi-}%CFZFJm70a`}KC!TLYo)W4 y`zj^9i)A^V_xYm!V1}jJo$jh1p`;ycQKCunoZDmLUdBpAQ*0rtF~qx!9OFMJBxBY9 literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..0ef4c780c39cebe64356ad1ef10dc570d164dea6 GIT binary patch literal 1309 zcmZvb&1(}u7{({{qkdfcfEGkB*eG6H_E3AMmo{F+)2=7+vL@-q1~(>bl8PdNpchdT zy@-17=073mP4FUksJ4jy9X$yCp7}5s^T2Q3dFFk0W_ETqsb4YDe%nrO9y7cfD)0=x zzzk#zydv&`9r{}gs_rX|;vU%a{k`7O9Z!j2!`NB=kdDp6AIU!Cz*D~_enW1u|= z*Q%z%Y-YIL8Mt9%>Ub?9g)!$Y5vFG@PtAnIu97|OrmzR$yMzs>fhx6`72BILm6#K$ zGLYDlVPMr}5~G7j&0AZ2fxg?XF{`$pnt5B7@}TBa)N!ZGEG2%GaX+>-I{GClPZHe> z^C~e5#;uXsj2)tR2R}i3k%AAGBKU(Y{WpJj!n-xb&+7w8;rXg{V}E+Whfl35*@DRD zgI}ER%ifTEK`+EeKu{ns^og&XVH#@^xJJz4O;4=TO)$Of~ qLTNYF1sARLymdqOR>p3JXr*P0Ib_?Tw3UiV>^|%mO?bcHC*vQ3tbOJH literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..0ef4c780c39cebe64356ad1ef10dc570d164dea6 GIT binary patch literal 1309 zcmZvb&1(}u7{({{qkdfcfEGkB*eG6H_E3AMmo{F+)2=7+vL@-q1~(>bl8PdNpchdT zy@-17=073mP4FUksJ4jy9X$yCp7}5s^T2Q3dFFk0W_ETqsb4YDe%nrO9y7cfD)0=x zzzk#zydv&`9r{}gs_rX|;vU%a{k`7O9Z!j2!`NB=kdDp6AIU!Cz*D~_enW1u|= z*Q%z%Y-YIL8Mt9%>Ub?9g)!$Y5vFG@PtAnIu97|OrmzR$yMzs>fhx6`72BILm6#K$ zGLYDlVPMr}5~G7j&0AZ2fxg?XF{`$pnt5B7@}TBa)N!ZGEG2%GaX+>-I{GClPZHe> z^C~e5#;uXsj2)tR2R}i3k%AAGBKU(Y{WpJj!n-xb&+7w8;rXg{V}E+Whfl35*@DRD zgI}ER%ifTEK`+EeKu{ns^og&XVH#@^xJJz4O;4=TO)$Of~ qLTNYF1sARLymdqOR>p3JXr*P0Ib_?Tw3UiV>^|%mO?bcHC*vQ3tbOJH literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F1-two-calls/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..7413d8c75631556b75b776dee49f72d90291682f GIT binary patch literal 1331 zcmZvby^9k;7{({($N5qCao~Xn28<$t%NBZtHg~ZRt6eLxiAiqb1ve&al9M|`5VR3R z(MC|j&VNGCPO!1_3(;1=!v8>j&wOMtr4jsYH$9o(H|5<<<@5SXQh2^e;R0ToGPrM1|RV_%tyC0_Xss`yc+=VM3 z$v=RO40;GpAeTY%&!CV&%9kI>piOuVswwF$yn~w{y#e`KGUzpYgF7~=H(yDp!e_RL;EodDOX{ywXi$p|Rh#_fiG?2+O#bIMt;zGoQ zh&ZhTLER`tv_cU@DI!jwdnZJHh0lA2#>Bqx-0!^Kccy#qxi>R<#7N8Sb>YiJ(!J0F zm*ER6f)a@j#Kka7Vv2_PJznA>!OZw}AMIJ%{luj(=kv>GzonfZN~(2gv$tBYEoE1F zt9`XKOjEN;os~UgIxAt$9(Byy5o#5}xG~HsrBUeX++o5opVj?4g>lo^4L+xFBX%ci zO;5xFN|4Cdhejf8D;dKhFj+Ie)tI!sX6dB)6g5ZIjN1ID%_h2fXN;b3xauwJ^}Q7a z>~cfw!#T}2WVVq#N^8K*=++)&oLhB7U41R#_vCU}v&Gij^DmwzCGKEqGYeM;f^PdjTO;!e;#O50%vJO?S%UpPDO=e$o7$Kaj!yNLTC z{CPIg&gB}-dNppvlc`F%6px=7uf(ZRGhdB!r<(ajBW@Ygta^-~abRL;EodDOX{ywXi$p|Rh#_fiG?2+O#bIMt;zGoQ zh&ZhTLER`tv_cU@DI!jwdnZJHh0lA2#>Bqx-0!^Kccy#qxi>R<#7N8Sb>YiJ(!J0F zm*ER6f)a@j#Kka7Vv2_PJznA>!OZw}AMIJ%{luj(=kv>GzonfZN~(2gv$tBYEoE1F zt9`XKOjEN;os~UgIxAt$9(Byy5o#5}xG~HsrBUeX++o5opVj?4g>lo^4L+xFBX%ci zO;5xFN|4Cdhejf8D;dKhFj+Ie)tI!sX6dB)6g5ZIjN1ID%_h2fXN;b3xauwJ^}Q7a z>~cfw!#T}2WVVq#N^8K*=++)&oLhB7U41R#_vCU}v&Gij^DmwzCGKEqGYeM;f^PdjTO;!e;#O50%vJO?S%UpPDO=e$o7$Kaj!yNLTC z{CPIg&gB}-dNppvlc`F%6px=7uf(ZRGhdB!r<(ajBW@Ygta^-~ab7=}+`ty)3Ug#mRDXcSlB6ueWUiBdN%5)pABgrqsqKyD@}UN*WC7b0DV zh_{s>s2g2*0TDzI5pPtNf>jay6+Z7=5)=EvGxNRQH#27@XL54cBZ0KSw2LMI}FP8naqy||XK z3;BVPBy#3QBatzcT)P*5tD$n;aUQ3-k;7R&Qai8?7#3 z9yh^0tkZfE!8WobqJ&w|K6{*bdTQKM^1T_#CEd=Zh_#=z>1}hC?l))`lK1{zdB4(@ zd-XL#-tMA5fBjHBIpjAFd4F3pZv*_hN4=4)ZoIlbpxfdlKk1C$ukMWG{XT1ZUN=N) z!3j7ZgWAx6gEB~U`9m_O3SH1WlCHsZI4XlK!wt~;k?z3*I4*-8!Xs$NpgZsww5D_u zbPLbOpl9#`&Vlq2Ucq@8q`LeC8T1C;!zCH?5k7(TC8;idMFwfU{8btB6n?=i8T1Vn z;I<6<4nN?o3{qYGz6|;dKSAe|{CYaGKo`bXlc7o0%`TA>Xd;XpC8Tx6M zcYZhhe(>L;O~i#ltKF5}*lI=XR6UF_a12t%YRyuy z)=7tP+*&)m)Ja#WwWv^SRJ*B4s1L`ut^B`my;+|1L+jxP!!*2DF6&bv%#%k6RBJ@1 R{Hr(r-~M;YpMXJ&>Mw=7j!^&r literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..e84b60815e2c9ff4cc5bcf5422b8c41712981197 GIT binary patch literal 1556 zcmZvcJ8M)y7=|abiOxS$pbiDI>$fOjM$8;Om@u83F&%Wn3pS=gJKjTaCED+`en zV&RQcT4kzhXielPtm^j8v>!JN-8r~ik3k|?RRP+Ps# z728sFwYS<=TRZ7$RcT>mkj%nLShGt5^LB=Mg)navvqotY#yWR|Q1V&bzf+hugWcqF znm1&3vfgw>JfI|rjD2V%hHWKdcmyVE612t)+cwJ}t*59pvL;o z%-FXv;%6x&?5F|uLt_ z4<{@5Rjxc=U)$l`_1p6|bkvg_eoKcB=SA~2Ldw?_^iH<_)q-erM++f!XIig{amimtXJb!JejJLOYzv5u}YjOHS^UtcdD6h zG~#A|HPT0{-(LUmO1+S;Or)Z2+&VYCFp(;iD{-z|E4TVfkv_;iSNVV8YP~oahE^l} iX*E1wEcOtDy>c%d)oSr+9WN_wq5UTdcVLr?G=Bl@g^}I> literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..e84b60815e2c9ff4cc5bcf5422b8c41712981197 GIT binary patch literal 1556 zcmZvcJ8M)y7=|abiOxS$pbiDI>$fOjM$8;Om@u83F&%Wn3pS=gJKjTaCED+`en zV&RQcT4kzhXielPtm^j8v>!JN-8r~ik3k|?RRP+Ps# z728sFwYS<=TRZ7$RcT>mkj%nLShGt5^LB=Mg)navvqotY#yWR|Q1V&bzf+hugWcqF znm1&3vfgw>JfI|rjD2V%hHWKdcmyVE612t)+cwJ}t*59pvL;o z%-FXv;%6x&?5F|uLt_ z4<{@5Rjxc=U)$l`_1p6|bkvg_eoKcB=SA~2Ldw?_^iH<_)q-erM++f!XIig{amimtXJb!JejJLOYzv5u}YjOHS^UtcdD6h zG~#A|HPT0{-(LUmO1+S;Or)Z2+&VYCFp(;iD{-z|E4TVfkv_;iSNVV8YP~oahE^l} iX*E1wEcOtDy>c%d)oSr+9WN_wq5UTdcVLr?G=Bl@g^}I> literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-expression/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..d012afa2818a601f72a1282e3b19397895a72bb2 GIT binary patch literal 1578 zcmZvcJBSle6ox0!jkA9gf>`@PR_6Tr7+AmL6lVM*QU_w zjy);6BDCtOr>zXNtJGiFO{Tx%_Kav^!K~1z=+^DQtW+Agxz-&dRKu*E-^#6<#jX!? zS~q4oS>r`~9y&oHYhD_Ow5eo0y{nuT=jwTBbImbH`zdOVoR=~AjL9YjW@kOUVS7!4 zF>BuNc(_U-Zf1?rk9F#N)Z0Qc#~8)U&bEgUZ``=3spPsV)KMbraE!6~@=dgtvxIq2 zH*;1KxJgTfcUoo*3{O2fRBqTDJ~TVO>GL%;tamPsTbmPV&1#gDTJgohRuET!q6j=n`Cmq71qN_u;4vdH|20 zE`wB;*L|eN@DxtSpxZD5XF$3R&)}R4dJZq)ybO8;ui>H$QeA#p2EBthxGaO-!v|2$ zlIrp|WRTX&-vntEe!wjm^clXuT^aNhzJZ=oQeFO`4EhM);fV}#`^^~F`@NKxeAodm zWY9L)4sT?TtG~6j>-CIM8uVN1zS2(E3+}tMfpI?HY&B{@CzwiAE9GGF^kg+im0N{c zkU!ZfG@C&yS@ZQr(#J4)q}nJJs_m2?#jUo>i|tgoQVsHzdZm*r`}&)X*vkJK*BYfM mH?`*Lo2u!BQfY`F%$;KlRI3N4bli;8Lht+Lp1>p*xcmi@6O(-a literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-locals/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..47ab3b54b0b1066a7734c9f0c75d231818afd6eb GIT binary patch literal 1604 zcmZvcNr)3c6oxzFIBqcL944S18YYUT&;fTuCK=I-NFpL0gpf=+8pvjnal7crlLrwG z;)WmyE{I-Sz=NpZ4kEZ99u!5ryCHh;`>VT>Nt_?Ps`}rnS6$VqbUL-ok!G28>gF)v zeu%&kcm;h>B=D7f8f+qPhk@n|4g~#l#zWzl&KaheO+N$NFg}xUjIm2EDc7wfq16*R zQgkr1+E+)*8ERFjJF}KZcgC(6(Zrmo&?s-~)??->jO^UNZKc}{IK3Q)h&Q{m{+IYXz3*Xm$B}TmHe8}*!}7j zN!G6mY}@P3NOjl+8)Z-fny^_0DKEc829-c>T{lZQ0ViR*3_1pPJ89>HTcB!lk36VSh3x&^w|M`h4+cnQa4&}(=DXJnA_ z@@GMM2Or?P4EhM4;Ia%-UjB*H^Vw}y^8?}nx@+acu zQqdpZH(vJR#YV2;XZJL6^}64PRXqK%^qGw9DA)42ax?Dr;f8|pd^27wmHlj~T583L yp8k>}LFWI3E49Leom%nwnWpKvLO~xJVV*p|K)I^F*IpI#h3S0x>VT>Nt_?Ps`}rnS6$VqbUL-ok!G28>gF)v zeu%&kcm;h>B=D7f8f+qPhk@n|4g~#l#zWzl&KaheO+N$NFg}xUjIm2EDc7wfq16*R zQgkr1+E+)*8ERFjJF}KZcgC(6(Zrmo&?s-~)??->jO^UNZKc}{IK3Q)h&Q{m{+IYXz3*Xm$B}TmHe8}*!}7j zN!G6mY}@P3NOjl+8)Z-fny^_0DKEc829-c>T{lZQ0ViR*3_1pPJ89>HTcB!lk36VSh3x&^w|M`h4+cnQa4&}(=DXJnA_ z@@GMM2Or?P4EhM4;Ia%-UjB*H^Vw}y^8?}nx@+acu zQqdpZH(vJR#YV2;XZJL6^}64PRXqK%^qGw9DA)42ax?Dr;f8|pd^27wmHlj~T583L yp8k>}LFWI3E49Leom%nwnWpKvLO~xJVV*p|K)I^F*IpI#h3S0x>mU>iK=yzDew| zAg8`zbCShQ$fY4lB4wILBupjc=(|cg5k|*Jm@&;F?Wd?c(oWLklO`MOTAgzE5}gsV z!p_w_wI^jxJ7RWAnlWOIF~Iqxh{+8&YseljUOV__>SJ#`XV_HItq!e-1}7e7u5+$3 z(H{;G{(w#=S#R%~_4E94tG=+y`=@C4FX^gByZnkSZ*P(MmO?zJE9jS6J;ncJu3Ka! zzacR8yt+%0^_zU#^13-v4feoR8B~V`Y?DE%%a6*SA~ZqwOF9LoVW$i_0cRj5gD$`& z*e!$3!eyw)pc`-tw5N0hZi9Yb=^;FV!yr9|CvZdt-G`^3cYt&Up22Y$GyyN*qzrlm zui=~wQeFN$NN?ahT$Di{;3Hg>L8{ANlR@g2zb=EG!*94LgTBFcxGRHxz)!d*gH)G) zAcH=`FVHhec0YZNWPi^|-#RXFJ?I&vwXhD}${<^RXI$HV3Ved7yYMCOL&Pm$-*d~E zXEL>Vwd^&$@p!3N@W%F!mArVNo-KQsz4dIZ=G9|mSAR6UJY%~`)m*mJh`V9jBELP? zh!=__FH@`(o3VncKWd*}`G4bbH9u~bmfaqfX?ZrE*DFYvPwr)+TE*LEua0@|wBLvJ J30O3({sBa8nc4sV literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F2-struct-method/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..dca667ff9c492a33c3f549fd42c7767408db77b8 GIT binary patch literal 1431 zcmZvcy^9k;7{(`e=XawP2CoWS^aOEl9-T>I|M7S5d18x z#6qmB)Jn9lu++lR53rFF`~&<#wD9-L?3lZ~d*C;dGK! zrD%7t%VY|iR*pnyPmRQ!t%OF0RW=W-J5Jx2l5OW~TQ*r+Df6IKSJY2XPDYh%His|T z@uA(%%6@1#akFyftQ~WZc}`Jr^JneTGmLYq%v$f7dxSrrol4&OYvlblSN>n$k@9Yh z@$=KEdM@Snro6u#y2Nz|lDhYYQvPV-j}aSCOuWKhaOZ4{o;wUDKso?NKsUxq>*dJ_WIpUJd8&{yVZ>Am+I{}X!fH{TwUr%yTLqxLAC#O?%UtPO%@s~uNc7hA)8voJ+=##Pp?)#)}y merTtlPe>C*jfTDgS-TmcmDY8C37L$Fc72l9-T>I|M7S5d18x z#6qmB)Jn9lu++lR53rFF`~&<#wD9-L?3lZ~d*C;dGK! zrD%7t%VY|iR*pnyPmRQ!t%OF0RW=W-J5Jx2l5OW~TQ*r+Df6IKSJY2XPDYh%His|T z@uA(%%6@1#akFyftQ~WZc}`Jr^JneTGmLYq%v$f7dxSrrol4&OYvlblSN>n$k@9Yh z@$=KEdM@Snro6u#y2Nz|lDhYYQvPV-j}aSCOuWKhaOZ4{o;wUDKso?NKsUxq>*dJ_WIpUJd8&{yVZ>Am+I{}X!fH{TwUr%yTLqxLAC#O?%UtPO%@s~uNc7hA)8voJ+=##Pp?)#)}y merTtlPe>C*jfTDgS-TmcmDY8C37L$Fc72E*V6oE`b+c+L`k*(wJ)_=aUx}B zKzkCCo~JF0+8yoAszR$}B$rFv3Bvl7lWQt&c~4V>dfxWxZpH;N+m%LcY~s!lPNi8@ z%61pKj922c3M2x1Y9!`uB``Xys=067G5W?-Y&&n;s>$0*l?S!DqJDyEI;vu`1$^0# z5A1$c_XER;o7FSt?U*^{(VHjp=k3$8jMFMPTd5lNbEtS1{($x?Iqxo$^V^d0N_|Jh zCo4^!pUKn<8NWB<-JW!n8{nsP=MQB3k<=e0Hldt)g};!TwlR9{ARGs2KO6$x8z+qq zQsdrNXDB(Jd}0&7kd)1JqCT!Osb3=AgjVWRmv5*33h@@`MoBN=74&70{A*a0L2uwK zT#`ZZ@8GfwdIs;|stkGzA3$qLpWrjxkwMGw1@vB$>hkww&`08Az!QY2fc1IipGB2X+@2TjX3gKgRmRbE)2qc zKN=LfC0*dHP&^y=>R~+eOF5jbWiaT~BY!cB$I%paCop4u=(jp?RO_7YjEb$&G}+mt svUaU*uQ_%@yCr>CnkZ~G^;O8)%@D1$Zt_Rrc`DlVZH~shm-E^954z}$vH$=8 literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..20a15de68bf778e60407e64982ff9bbac5cb6572 GIT binary patch literal 859 zcmZva-%0{O6vjvUUpEEOMi7V<)s1N-R3w>R6a=;Q{~{8#5sckU7A<;*E_%0Kr3dKy zj%QGo4*cev@0{70IkV$e9t~|q#{Y*eq{l%De1jK|2EQNzW1xxR58%8a67&<`P~%C& zCB(DvQ{YVV(}*t+&%@IYCM>I(I}VN6W5Dd7!qd@G-1fZ@^sUQ0BjMKP+%hm`$)xf) z=E@*Em7Fg<){G}>`Z89fQjyV<^A#{2L3=XWlggT@>bGttch8ubS(f_X_So$M;BBz( zG;e=Y&n5IiLN6vXn;88*lh9e!1^8XCrFs*759Cy@!tX0w?*NnlyQMw>WyRI0*)w$! z+<|k|SMWZ#R9%C=2DhqNr@mLsyS@QWs@?tY57M>)&&n4_+W~p-N&#b?I-r2DZ}#k7 z)du2vy&J!UwrBgfpwqUk&sJb_?YI%z`bXU8c5S>K=GhG2k>t||_=h@CE4HDHdWgk1 MYxuO>CX&SP2Tad0i2wiq literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..20a15de68bf778e60407e64982ff9bbac5cb6572 GIT binary patch literal 859 zcmZva-%0{O6vjvUUpEEOMi7V<)s1N-R3w>R6a=;Q{~{8#5sckU7A<;*E_%0Kr3dKy zj%QGo4*cev@0{70IkV$e9t~|q#{Y*eq{l%De1jK|2EQNzW1xxR58%8a67&<`P~%C& zCB(DvQ{YVV(}*t+&%@IYCM>I(I}VN6W5Dd7!qd@G-1fZ@^sUQ0BjMKP+%hm`$)xf) z=E@*Em7Fg<){G}>`Z89fQjyV<^A#{2L3=XWlggT@>bGttch8ubS(f_X_So$M;BBz( zG;e=Y&n5IiLN6vXn;88*lh9e!1^8XCrFs*759Cy@!tX0w?*NnlyQMw>WyRI0*)w$! z+<|k|SMWZ#R9%C=2DhqNr@mLsyS@QWs@?tY57M>)&&n4_+W~p-N&#b?I-r2DZ}#k7 z)du2vy&J!UwrBgfpwqUk&sJb_?YI%z`bXU8c5S>K=GhG2k>t||_=h@CE4HDHdWgk1 MYxuO>CX&SP2Tad0i2wiq literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-function/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..762725f858f3546d1f04efac5815390fa030e1ab GIT binary patch literal 881 zcmZvb+e*Vg5Qew)tTzf`P!LL0)SKFR01?ER-UxzCtfvd5#Ja^wQ$uJK-@yyt(O2*R z{Qv1Jmf*m*GylwXGka*@-x=DBjQKacX zZXlk8p8^k>pGF)Zo`7;?}9DWoA7&}qJv~^T%Fnn z)Cb@ioT;wE2jD_=2!9E#RI^Tfqnan)0QaihdXK8zdGTIp+km~lP{4LT86*@i)~Qnp z7|(%c;NIE>;$|~RUt`<1gHpHCwylp=*OuC86x-%|8YPKM*W)rb$JZtKJObWWr`Jkt SY&fT0(PdcP-?`BTuvPHNXx5#9`WqJF0{$g<3lhvzH$j4T+y=QP;s#`G zNC9|Y6O2KE`6f63i3aF{&lG^&e@;uKJ+BvcBRP;mC+q~W{nQSn6U2Tby~o(^^<-R% zTt55)Sh^3pEkEo#E&fT0(PdcP-?`BTuvPHNXx5#9`WqJF0{$g<3lhvzH$j4T+y=QP;s#`G zNC9|Y6O2KE`6f63i3aF{&lG^&e@;uKJ+BvcBRP;mC+q~W{nQSn6U2Tby~o(^^<-R% zTt55)Sh^3pEkEo#EhI)=fO|J*GRJN3kmiG z@LR<*h<{W(i}+W?bBJ>&UPDiCOd2~%a>WG9E-A@*G1f;+O>( zNyieKQpL>{Iv3;}5?bpw(|R$sNB(j~$15e{*E4=8qqj3!zXZo^fQItfald~lD|?gI|a zGvKGTXJLP7dk*%uw&!90z+T5pFei<&mfUd!dY83iUn3mAWK|*^If7?$%8rba_$lD`~Hm_y$k_!LDS29}dG0NY_#ETido6%)xo{4$v&(<1~*aCSP#))l^ zcR8*P$28aTB}|<9B%}ErLcfd;uU=L(3>JJOyz^;JTAi+5G4M^}@tQ}AQ zF39(ZK%x%v9TEz_1*r!h!E>_LCknvazxlQ7&GULmH}(hq(2l~u?>u%Q-wu*i?0XMM ztJm`rD|Yzsi=cHEb=$3|Z&!I8t17+Sw}UY9z3@I9SV1)pZ%IY|7mmBPL$fq?_}|!z N+zxXJrpc5O;un%rM>qfg literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..ffe2c75038d78005f6cc91d1650a0fd9770bf234 GIT binary patch literal 1027 zcmZuv%SyvQ6rEb%f}o2kKA_MjbraGeu0+x*qTr%+<;vLBL;{H|X^SYXUAYi{&xH#Y zF8m44nTKs+51g5M?wxz*&ZAMk62yWWCl9Z1PlGw|4SWHozyci4nDgK}>~lD|?gI|a zGvKGTXJLP7dk*%uw&!90z+T5pFei<&mfUd!dY83iUn3mAWK|*^If7?$%8rba_$lD`~Hm_y$k_!LDS29}dG0NY_#ETido6%)xo{4$v&(<1~*aCSP#))l^ zcR8*P$28aTB}|<9B%}ErLcfd;uU=L(3>JJOyz^;JTAi+5G4M^}@tQ}AQ zF39(ZK%x%v9TEz_1*r!h!E>_LCknvazxlQ7&GULmH}(hq(2l~u?>u%Q-wu*i?0XMM ztJm`rD|Yzsi=cHEb=$3|Z&!I8t17+Sw}UY9z3@I9SV1)pZ%IY|7mmBPL$fq?_}|!z N+zxXJrpc5O;un%rM>qfg literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-global/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..20a043e5c5e768ebc9b5a69a739dfdfb7a006df4 GIT binary patch literal 1049 zcmZuvJxc>Y5ZxHR1wo4_en23nXmcb%EJWlIMJy~5D{VZJcqa#UCR`FkE3vS$u=H?=5#_X!8* zDez0%)3Cp_Jp=nk+q1B9NM6NEa7`LJT5`t(^e$@2z7p)iWK|*^If7?=`r`*CIsMtKV=>cA4(Q$eu7l*BO; zu#%Cc*pNyM?D-7j9TG;HH#2%ch5zD98Lf6o)~{va#f;w0=pAUDjO*4xTWd_R-@OsN z37ap$e1e)cY&6fu_ZZbD8O>KAN}vUvQvj^B1zu19yC8c}KUs(}>L+zxXJrpc5O;upZKNB95$ literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..72b39e04baaaeb5b1296c927f467745c7e9fcdab GIT binary patch literal 1028 zcmZvbJ4*vm5QR6sMGFNnAPC|EYzz_9LPUHtVwG4~8DhMGveCFEzEH6e3txyoz~5tG z;qS2UC-|MYdlkh4=gyonv$MN*?-rKUBcapQ|Cd|r7MOvLunwDG3&stx8Qzl5W2)~J zL$MXUrFk3qJNW>y9e$*K2l*#?A5qYCzcHLj-O)qOA*wR&EqflHsv@jHO&5aa)f!<2 zYNEJc_5LW6=k|I)(na$M_HIQwgsiQTG!2oxSjVDy3$_;N;8mhxRIs_r<}TUlE0ffx z&{@0I&l`!BO%-3AReTLdMA?Wa(g6{I=?|Sba9riW!>-B`7hfMwG;Z!Tk!mz(V z=ai&SJs$*7TKgIxJr@K~+V6%prB{4vtF*qFpk11V1qm<#HCx|K*n~CcPp^*$=nW_| z;2GSK0O#-m?n(gFrDF+@z^61y>&)N56A5q+AK;|~P+j^83Rh77#x)ee{)Y2BhF2=p zlKrZyyGAbF*>;uFO6+pmNxAAu$4R+XbIE8mucO)nS6qyd8{OGEte5vHt_iRE$3H5^ d4cCm;Pi8ZS1~vK-nT$@4A7my=c%GmYzW}xdNz(uT literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..72b39e04baaaeb5b1296c927f467745c7e9fcdab GIT binary patch literal 1028 zcmZvbJ4*vm5QR6sMGFNnAPC|EYzz_9LPUHtVwG4~8DhMGveCFEzEH6e3txyoz~5tG z;qS2UC-|MYdlkh4=gyonv$MN*?-rKUBcapQ|Cd|r7MOvLunwDG3&stx8Qzl5W2)~J zL$MXUrFk3qJNW>y9e$*K2l*#?A5qYCzcHLj-O)qOA*wR&EqflHsv@jHO&5aa)f!<2 zYNEJc_5LW6=k|I)(na$M_HIQwgsiQTG!2oxSjVDy3$_;N;8mhxRIs_r<}TUlE0ffx z&{@0I&l`!BO%-3AReTLdMA?Wa(g6{I=?|Sba9riW!>-B`7hfMwG;Z!Tk!mz(V z=ai&SJs$*7TKgIxJr@K~+V6%prB{4vtF*qFpk11V1qm<#HCx|K*n~CcPp^*$=nW_| z;2GSK0O#-m?n(gFrDF+@z^61y>&)N56A5q+AK;|~P+j^83Rh77#x)ee{)Y2BhF2=p zlKrZyyGAbF*>;uFO6+pmNxAAu$4R+XbIE8mucO)nS6qyd8{OGEte5vHt_iRE$3H5^ d4cCm;Pi8ZS1~vK-nT$@4A7my=c%GmYzW}xdNz(uT literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service-local/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c2373c3624b00a939596be3b3eabd7166aeb95dd GIT binary patch literal 1050 zcmZvbOG_hB5QRI@(Gh1cf*5cyh!2>JA%eOP7d|%PVn|%MGQ@ZVrK7P;W>lQPl`CI} zKfs?h3m5(jzf-qMQ9N*N)j3tEzPWw7y0V!F1Gav?Tw(XZ0=$DAScJV8H^d%zPyP#2 zeg82Ozrd$F?<0REA0_s~A`R;K3j0WgiGsZM7|*4i7@>WLs{D+W?I)(H2`twx7XvUP^0F|tSNST=9T)*2l;i&|2(xvS=`*cvM{ z)ECet`)!;zk*u03TBVl!u>QDc!UNRl39kKZxgLz=*ZR;0?WgPg`jdj|F;j1PJl6`^ zub;B(vXUICS6mRK=RatjwnO!JCee{z^CD4N?@pM7bFeA_rlDr*4GP<^4dWe-@d&*I zg)TgUI}+d={)PJzKy~R<0%Y($kJ7sN*YHFF=(gX&e-c1-=?f@aKz$*XQ1E%`6a2jW zmQUf;>+S5Y6*{3?PWN_0^R$_U@^02>h5DbY(Qb!qvQ^Oq{tnkdicy~2J2>t%4w|8e i_wCL9-AKEk2dz)fW)KZ(j3WvK-KIFmOcvjdYsD9HT1q$o literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-service/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..e73dbdec01f64502c02eb29190c912b984a3d6dd GIT binary patch literal 1028 zcmZuw$w~u35S@u}Lk|jKKoCNV=*1xc7ZA}b2*J~g3+lx%#12GeVi*&bi+B|_+$*BqpoJFbB({l22fak{PE$2NA@~I&{JH&aegZ2EpL7pArIdE&+2<-V% zBlj2>BQID2PtJ3-M!sVSJh?s%Et1!CC@VQ{jmA^j0DKbI8o=JXJI=oXFwfUZ&a-3w z!f^K511=3O!*lN|!|g1Q;al*hKw@|R&%N#qKY~979t~%n{K@cr_!HpSaC=|&JugGA z*E`8|th%b_MXjc4JTxNZHIpz_^}8hObX1a$3;dWFpr#@SUcS}7>4xowN|_+$*BqpoJFbB({l22fak{PE$2NA@~I&{JH&aegZ2EpL7pArIdE&+2<-V% zBlj2>BQID2PtJ3-M!sVSJh?s%Et1!CC@VQ{jmA^j0DKbI8o=JXJI=oXFwfUZ&a-3w z!f^K511=3O!*lN|!|g1Q;al*hKw@|R&%N#qKY~979t~%n{K@cr_!HpSaC=|&JugGA z*E`8|th%b_MXjc4JTxNZHIpz_^}8hObX1a$3;dWFpr#@SUcS}7>4xowNh%R*}_51<%5FJn35(wI-|1l#$;C z&&sp9-;z@omXeI`EK0qene(3mJUzaH<@{Q4KAGS%3C`1v*YhRgJeS~kaBG~`o-#G^ zA_HUOB}?GRHxrzvZH;+-CR!nH*d#nTza4EI*Z@2d*c!mz{DPc+1z?_cn0x_X{=#tf z+668RuflWhE5q$9q2XKbr$A)556`{s4L^cE1|AJ(p8U!1J@^yg*>KyBe^C6q?JZx1 z-fZ@x>#iE8VKMBqRqLS@s$x3|x~h2>1^vE?3f&SPo(38!gitJWdN+fh*HS5HQ@{Fc e5DpcuAb&mS0WZcv-NJQwn{*=)vDkSmr~d(}xIq*E literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F3-single-file/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..403586499765b4220e89b17359bcbf13e613cfa9 GIT binary patch literal 859 zcmZvaO-n*S6o$vXtxZ8>v=S?*jVaWkC@@_V1fdWS6p7hbhML_pY26o5i~d`Gr617q z&b^Z$z3|MO_nf(R=G;5Q{E3m`Zv21vBs~H#_<~Cqf*)wXFkDdl2Cds5p?MTGqj-#X zhj@~C9QLC81n~j!G_yoFpj70wV_(W{gR)^or;}pZ_My_~TAw*5;oq;dIWT6<#4;Rn zAq;n2uIPF!nS^_1(TxRH$-6P(&X;A}!YAD7gsUu?LiDU(soj&NWaeEx9CYFj(ASW> z_g~-psj&Q4pBeD8171x?{`sVHeV>ZFWv;Q=gk4&*>m zT|VsDm^$%0?1S_K&u}P%Uf>muWRU9e$1v=S?*jVaWkC@@_V1fdWS6p7hbhML_pY26o5i~d`Gr617q z&b^Z$z3|MO_nf(R=G;5Q{E3m`Zv21vBs~H#_<~Cqf*)wXFkDdl2Cds5p?MTGqj-#X zhj@~C9QLC81n~j!G_yoFpj70wV_(W{gR)^or;}pZ_My_~TAw*5;oq;dIWT6<#4;Rn zAq;n2uIPF!nS^_1(TxRH$-6P(&X;A}!YAD7gsUu?LiDU(soj&NWaeEx9CYFj(ASW> z_g~-psj&Q4pBeD8171x?{`sVHeV>ZFWv;Q=gk4&*>m zT|VsDm^$%0?1S_K&u}P%Uf>muWRU9e$1S6osetx4KafgRV+d&`oW@mAI(sMi8_?5kaNII<=Li#@Je1`-kYlck~r} z0MEI(W1)EA%(>salgvyqHUHEwax(rue4;!KWuPzU3d%x1P!Ae|T4;VloVSkxeF8ev zd=mK)@)`IPbfNWW^Q{sx^ZyZ2oxyYunCGBzOY{f2s8uEHQPHrRHv;AVH-L#FzM#mPLNf_DsAPM8xCaY127mBw_>RBW? WsNHQOHnLrQ0g3e5xeMnOaou0!9z5Ux literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..ca5eda8ddb8828df5990eb5ad726ff1e73162771 GIT binary patch literal 2746 zcmb7_OK4PA7{~8uYEvK4x-cRrQ%r-4Fl0g&DuOek1Xnr{7p)Z1NxU&r=8?`!;scQ& zBEEGcx)E!ILg|aPi?)l_in!{^mAG={%9Sfu;{SKfcg@W)fqLM7zVkcZx##@PJ@-*A zeHKwZa`ocXWp#H+8R@!oSB+(gL#ocJybMSR(nM8L+PaT zcdLC`?OlqL9v@P5&f2UvU+Dcx!q>vgP4#S&aEpAQ#kgOkZN4jYT{7;eGR(|KKWj2e zhJ`v))pjzpTMf)pl0HxCmdtEiGLuzianr23Q`x0Wk1LzpHZ@hKIh1!yPb;&y>Elag z=7LPY-SZ7mW>AfOtx}HGxSC^CchTj`&cvvaY+#QRMI~4FI%|2=!{S~yuGeL@Y8=+f zksb)OIf0U^dtJ>nQ|b$^VXLFj9d~VdrK0-D6jE#CQ zu6RNkF(wc1Gj1qemG&E-SG*t{GQOyINjhvy9{$4klpW zhty-7SDR;*PrG%w`?tY3xxaki$tS!e;HfQO7VG{VF76t~6v7?^KJ zYDtBFM*`j#@cw`g1$;Q*F9YV+!}=8|mZnn7``s|+J#0w)f0ipI_jlGfxxf5{n2*B# zPN$eLa{-?VxQ7c>K9$DCrd!Q=+=*v$wd!O%abltt=O$Z~dOUWlRhgcSTYYuzulwA) z{$+xdQs2>9bG%Y(=kj>vn_0~DRU7S2r7;m>k3U^8H(ROA#QZDPf(M(;`rb;X;=6f? z*Gn=n-p)-{Yw=jMQSJ0i=DBvO&%A4|-aIms46P4#YuExm!+g*2Q=0d~0Ol=c#Sgu&kqOS3VYVOAZ0Q*db@YJGa2q_(KpGyb>h3omS|Fv^YZk5^&9F3 B@6`YR literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..ca5eda8ddb8828df5990eb5ad726ff1e73162771 GIT binary patch literal 2746 zcmb7_OK4PA7{~8uYEvK4x-cRrQ%r-4Fl0g&DuOek1Xnr{7p)Z1NxU&r=8?`!;scQ& zBEEGcx)E!ILg|aPi?)l_in!{^mAG={%9Sfu;{SKfcg@W)fqLM7zVkcZx##@PJ@-*A zeHKwZa`ocXWp#H+8R@!oSB+(gL#ocJybMSR(nM8L+PaT zcdLC`?OlqL9v@P5&f2UvU+Dcx!q>vgP4#S&aEpAQ#kgOkZN4jYT{7;eGR(|KKWj2e zhJ`v))pjzpTMf)pl0HxCmdtEiGLuzianr23Q`x0Wk1LzpHZ@hKIh1!yPb;&y>Elag z=7LPY-SZ7mW>AfOtx}HGxSC^CchTj`&cvvaY+#QRMI~4FI%|2=!{S~yuGeL@Y8=+f zksb)OIf0U^dtJ>nQ|b$^VXLFj9d~VdrK0-D6jE#CQ zu6RNkF(wc1Gj1qemG&E-SG*t{GQOyINjhvy9{$4klpW zhty-7SDR;*PrG%w`?tY3xxaki$tS!e;HfQO7VG{VF76t~6v7?^KJ zYDtBFM*`j#@cw`g1$;Q*F9YV+!}=8|mZnn7``s|+J#0w)f0ipI_jlGfxxf5{n2*B# zPN$eLa{-?VxQ7c>K9$DCrd!Q=+=*v$wd!O%abltt=O$Z~dOUWlRhgcSTYYuzulwA) z{$+xdQs2>9bG%Y(=kj>vn_0~DRU7S2r7;m>k3U^8H(ROA#QZDPf(M(;`rb;X;=6f? z*Gn=n-p)-{Yw=jMQSJ0i=DBvO&%A4|-aIms46P4#YuExm!+g*2Q=0d~0Ol=c#Sgu&kqOS3VYVOAZ0Q*db@YJGa2q_(KpGyb>h3omS|Fv^YZk5^&9F3 B@6`YR literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-distinct/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..7389b6408d3656ab97eab948e688d4ceb2b345ca GIT binary patch literal 2790 zcmb7_OK4L;7=M_OkeX^2RfIN;HyX&JCTX>$i&DDK zS|5mrf{R*3aTZ9NpEB54r+PqTxquMs*GCDzs-%U0rO(b=H`;2>r*Ujg;y}yA^Q>bXWS9qCJiF z9z>RvCV1+Qw7KG3VQ)V~UzM3D^wdLiOPRtJ$GwKOnJ&+D?zr#BaAuA)v%0hRxKR02 zrsNJ?iw4cJxP6A!FPI4~nAw5M{HD2XE3yll&Lit?8=5Gr`B45cJ%r5srbiddj9ZzA z-t%?J*MvqRR!OK@UGuS`JF4>uZK54X-oSoHshF+<+FBU(Zg4=43+T)ijH7kG&Lk9G z3-s_g#B?3dHLonA&%Tm3?AMugHKFJ6t{O#Fsdg3dtQUs22J}wod80aG@*KyKP<)5Y zJgy%)G>4UB+eV7puoiX=4=Yx9{)ftng4~|c$<$6A|1Du~v zk#U8NM^LkH)i^XGZ7=f+_cCYn@*0cj&70p~af8K;7Vof_-xcReL0PCp_$Xoy;@iOd zX^3BT1R|e>2B219=E(09~E&gWlci~~gQRs(<`TTwg^L@Dp{Sv-`cpLgH%zfrwRl_{}b6*}nHNt#;PodSG zJh@Jo&;A+21At{Gvi4x`O?na6;1>HXU*?CviQ1Lj@cZZVI9YUDRTO;EGNJ1yQT zjG>Ai;vO!6d5CbnW~c}qwD_>a9Tp$6xZC2i#aWAaOmY1rhg`y2Bx$MD?ZdMxCt7O&J9rM4n=b@dhtIj8LOg|eBnlNv~6olv@% z%sE|Wipkzyrx?s}|MhX8`~83#D0nhk=t*Wvp)kGjpBfDXGx<_EnNK-fo~L3o)St}u zIXp{N5f2v%xp=aiG~N7Y>mZouDTUIRtkadrXUf5JnAdJGnZNDj3Mcy9p}D4|7*^q@ zh5vi{iOu=p0L~dR3o}bUu}VKH&^520mRe-~%?~$R7v3|zCCKNaquG0Bx6j8tjhZI2 SvrbGGvoSVV+~;NJ|LQ*miuPLo literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-public-aliases/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..77ac97cd347e64c86fc4bb81e6cb2d02ae982c21 GIT binary patch literal 1897 zcmah~J7^S96n(SNs8NFn>S9n?$SM{(CSg;k&3-f>sO$=gg}BVFvu0stciB%wD?zZb z@P}29BuFZ;5(_H}KaGW0S%}zZqxdQO1Oz?jeaz%#!3*czd+xpO-uve5%;vMF1Z9m} zyDwMaUI943HQ)^p0|GckfF9V>aGXFA^S<>ey%P3!Z9|C#EJvVM0f(?KcQtSrb^@Bh z*izZ0DLXC-y;A^dEREcOhgB(@cv0qIc8}ag4od1Y;+#BQKl5k&%(SJWWBwW#JqWgqYDbn`EV(mHs*1+;}t68<%x* za-GpO&y$snveGjrSEeg(Mpi0d81|s%VG1IRl_T;N)hub5kr%wnoV3*}YTi*jpPFG* zjHBmiWU6Q!mJq|(r>d)+v$6^!1?;BG{+q5K_DPSro@F2o}!hWRrd+1-lW6l3iqaU9E_mlJ0eWCdR^m_1Dnh(Gp1YT>t5%wnF zZ6r?qPV+6Whky^7Z-u=L_!Nngf7YD!$-ipe4|@#wq4{pudw}1XyRi2HF@W7sYQ-;KCS9n?$SM{(CSg;k&3-f>sO$=gg}BVFvu0stciB%wD?zZb z@P}29BuFZ;5(_H}KaGW0S%}zZqxdQO1Oz?jeaz%#!3*czd+xpO-uve5%;vMF1Z9m} zyDwMaUI943HQ)^p0|GckfF9V>aGXFA^S<>ey%P3!Z9|C#EJvVM0f(?KcQtSrb^@Bh z*izZ0DLXC-y;A^dEREcOhgB(@cv0qIc8}ag4od1Y;+#BQKl5k&%(SJWWBwW#JqWgqYDbn`EV(mHs*1+;}t68<%x* za-GpO&y$snveGjrSEeg(Mpi0d81|s%VG1IRl_T;N)hub5kr%wnoV3*}YTi*jpPFG* zjHBmiWU6Q!mJq|(r>d)+v$6^!1?;BG{+q5K_DPSro@F2o}!hWRrd+1-lW6l3iqaU9E_mlJ0eWCdR^m_1Dnh(Gp1YT>t5%wnF zZ6r?qPV+6Whky^7Z-u=L_!Nngf7YD!$-ipe4|@#wq4{pudw}1XyRi2HF@W7sYQ-;KC8%0E)ZAo3|CLifaC2=8wLP*jV8+b1X`BZcz2(DcC z!<9%4(v`Rp7p`3R*|-o_E=1huMp0LOK+tpM-65~jfEUiY=iGZ|=FYs#OE!I4(bnr{ z@5fby*8maV8t@M213Ux{0sY_|1Y8ucZg4R0Yr%(w4}fn1KgK+8M&j$h^WZUf8gnac zuSl-gHAWW!uD3FC7ZJ`%W5-=v2JM}Bh|D~|oe;rDj*f7F)Ds$?DzYR8&u#L4i_B!nsIV^R$k4WN{Ns>1b5XlhMy5 z;oMJJFO=4ij()N{h^F*RIW)sH=((AkO5({D`4)p-lDZExgVLfc=F-xuJ>Y;i=90TekEA zOY?rR{xk3mcofn%OsD*7)y*5es)JoN_XSE7HzZ-jm$dJLQw{H^HC;9G$A zp*-~m(c8f%fKQ@#fbRspg!0s1MRR`Y@1jS*XMi7~_k$k*{)l$K4+4Dv`)8h-d!mlP zPXR-s&3vPx&G~XqG~Ty4U|UEZhu$Un2>1zrUoPH2Q@<~ySFUTynDxAETs)|-PN?`8i0xSpz} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..7596368b3c8db2c65f8fa61a04a37bccfae6a7f2 GIT binary patch literal 2752 zcmb7_Ux<`d7{&U4Q9 zuUtABQ66^n>eYF5_emM)W9gzA>lAmZI-~Y_wXdsM*x<+Qdc?-k z6KiIcf=t1k`Cyb8Rbxb}l%q#o&23e8(dEm|#FUb3V6PNKC07qQYkAdU;vqL~$Yr)` z9M;Q`9tgF$10`1vxteR{)E8dER;Qw6cWrv5qWZ}cQfuVpC#&9NH)GLde4cTXa>R4% z=SiI4%DXSQE3%r^yI_a-B=U^o13$e!{D^|f_`R<9;CzZM6kHj_*LU~75S=78-JmAQJORUNb!=y zI{5ucx*~OruPS~ky<zGG12vTDot{IkDHjjoH@^(m%#OD*hz($vpna!yAk*t9?V_ zqfVKWo|guUpH=$>iBG$Ax$_$|PR^GPJo$vT1)LT4DW8>c(n!EN1Kw?{q0ugBJjJ{d z{1}*TRBB6wfcFP{AmD=m9}4(bz^?_&uZQ(367Tq2ir*ABjd{N6691p|ihHDSY0((} z&q@4+n2*B#PNkUrF9rO5zyn;U^0ZW`v^%Xv+>IA<_1bJab8@C0=Vm+AMqGKjQ*F27 z&TxbCb)S3JzfQoPXZZDcYr0yW&*kyDNh;=sYt8v?wK)@Gk3U^8w^*$&#QZBBmtO8x zJKdLBt;W7;x9U^8$d5@fGCiN0t<~d7ty$|1&*r&)yU#pmvC%rdkPK~%_G?&=r!l_i zcq*-UVgPfN{K8~8iC#OK)w8OdF@E3w%}!n;U18gL9i&W#%X_v@DwE-8i@wPw5;MMs OWQisvxoe*OU;QsBt@Jwp literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..7596368b3c8db2c65f8fa61a04a37bccfae6a7f2 GIT binary patch literal 2752 zcmb7_Ux<`d7{&U4Q9 zuUtABQ66^n>eYF5_emM)W9gzA>lAmZI-~Y_wXdsM*x<+Qdc?-k z6KiIcf=t1k`Cyb8Rbxb}l%q#o&23e8(dEm|#FUb3V6PNKC07qQYkAdU;vqL~$Yr)` z9M;Q`9tgF$10`1vxteR{)E8dER;Qw6cWrv5qWZ}cQfuVpC#&9NH)GLde4cTXa>R4% z=SiI4%DXSQE3%r^yI_a-B=U^o13$e!{D^|f_`R<9;CzZM6kHj_*LU~75S=78-JmAQJORUNb!=y zI{5ucx*~OruPS~ky<zGG12vTDot{IkDHjjoH@^(m%#OD*hz($vpna!yAk*t9?V_ zqfVKWo|guUpH=$>iBG$Ax$_$|PR^GPJo$vT1)LT4DW8>c(n!EN1Kw?{q0ugBJjJ{d z{1}*TRBB6wfcFP{AmD=m9}4(bz^?_&uZQ(367Tq2ir*ABjd{N6691p|ihHDSY0((} z&q@4+n2*B#PNkUrF9rO5zyn;U^0ZW`v^%Xv+>IA<_1bJab8@C0=Vm+AMqGKjQ*F27 z&TxbCb)S3JzfQoPXZZDcYr0yW&*kyDNh;=sYt8v?wK)@Gk3U^8w^*$&#QZBBmtO8x zJKdLBt;W7;x9U^8$d5@fGCiN0t<~d7ty$|1&*r&)yU#pmvC%rdkPK~%_G?&=r!l_i zcq*-UVgPfN{K8~8iC#OK)w8OdF@E3w%}!n;U18gL9i&W#%X_v@DwE-8i@wPw5;MMs OWQisvxoe*OU;QsBt@Jwp literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-rename-a/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..bfe2a3d0d833033e7e88bd1ef70952122c0108bc GIT binary patch literal 2796 zcmb7FPe@cj9Db`-rY2>PASIHUM8xKXk%fu7i4;VvCH;qO-QL#H+g)3q_6H9l9?HZb zGzdC~1yM;!P?w@C!b5cG)TvW=>eQ)I^nEkGhi^xP8u;e-`{tWB^Ub_@Z(`At7Rzc? zFI|nIxdaFRcYrA*MTomljUz8cK8I>zrS5m8Ove>yk4p~8N+LgmxC)q-_EO|C$XgIu zDs}MHA;~%8LSbt^KwpK*Bec{2bW7;MjQ!pL+jNufIj`S56pqZEdQ@+e04H)UrhC1v z8<5aEi`S;vre&4jvdRu9OPl7r9Z;7yorUUc8&VY3d?|}e4?tPk^zgFEsG+o}J>O^r z8j&<$mYB6h)qJgJjwn5*Omsrz0uBI{6;*Y$vKB_Y54>9St5!-q`q6rkQeqa41zPwX zqN=V|HJ^0RWd-o=#*HXN>+Hu8vv`K}IG!Im z)GLXqC+aY&_QKWDEhEo6eb7~*58b0pDSF)tKDbvArD&Z#*gs~KtMT*>aD2W+#tIdW zp=RN%?ZBMme$Fr4&pD!>uQNEk`Sr~PuQPaq!FL#(-xbG80uIn5{1jpa;AxGH%mHlYS>@?F4m>sZjKN!*)%uYL(1M4SMA3!g-M0{juqedJ!0z&!nPKVJc5!nqG`fVDoI zyh`{pgF9Yfx-)?YT2_?|$fDo|D;LQea z6^^dfPN3b#`OS0)Z$#b$95(n-gLfJHw876AJY{gl;Jl`|o;bjNfa~Lzz^@DE`Emf> zRmF&VfM#GwIQ{PhhNVAJ_0Jgbaju{D7UyFjziaSHrC8Qh#CW_XpUc>;-4}AwDLZ*B z>DZxEK9RBGSMrIT9y=e*aR1eHpxTQ-%7EYnC)b^DdP8A)Ee9f@U^?6DCbCJJ)ALr0 zg!&UspUt~uJ#frTc4U6`oRDI literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..3e6ec0039333dfb2a9188185c222bc8b94e6f540 GIT binary patch literal 2742 zcmb7_Pe_zO7{~10+O4jgT5^U@CZM(Jqa@S2IL^_0( zRHvv*nFU2j{|*%$$|5{<>J*+jb?VfqQ}jGD?}wk`3N`S|JHL77n|Wrwf6>U0#j;t| zm8)5F*FZk#CNz&m6=Daf8MLd>eut{CQIFfVMaK>3x227g)q!>o;wGpp{k3RMqJ0RF zr9lTzZA+Ugt`zp3h3IQ_<~DkEL3B&$!WPH9g7)ez&vov&Wn?%rN9tMKS$tfmlu8%f zp|xnxJd4|>Y1_J)o$F=-$W%7Xb-R&W-}DHw?y;eX!kRZ_jp+h1l}(SYo0&E;A$8`B zmaiR+R;&`WwyK)972RQ#k17)bNOA*5Aj^uV+OMnyQFnspSaa%H?@D3xGZXTx5rm%rdgs)PVU^K&j$?^hd~WqTt`oY_?j!1o z0A|%LxI_A6q_QV>JxNJ*uB5}w((g!3>}5; z8q9UQ`6t3nh{vE8!U)zIi0g1X&+#?%)?oVb<`)fKGWd(ZUk(0d@Urj}BG2l(hj|Zw z2=m$C{rf4*bGZlo5}rkzgMJG?MtlnW5ne!i3DsaT+z<2Qjl%cQ=2`Hg&T;_if*OR| z(LM&GCz<0%iH1LuT?(9S^o|5PKo=UWzb&zFB8&d0+2O?jC6 zpEmfi!413+We*gK6-M(}r{s*;nRL=gOe8Xnog9s4o!EuZc%k5owq$v}>T|F9s{s7- zw4BN0N8*{H9i-PfC~UW+bH!3TmvCs0f4Z<;j%UUk{wuiZ@q9kp6EDSeFW=!E5Il?& z?PNOR#L~HRsU;cYrOi6C)?GG#ddwY~ZLh_!Rdzc0Ij5b-iX9H%oDsb+vuo|tqqm}+ qPX4+7%}x*_RpE~DCO|$PExJ2rug}K=4eMs*WQ0i;_g-oGzxprRP3{)} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..3e6ec0039333dfb2a9188185c222bc8b94e6f540 GIT binary patch literal 2742 zcmb7_Pe_zO7{~10+O4jgT5^U@CZM(Jqa@S2IL^_0( zRHvv*nFU2j{|*%$$|5{<>J*+jb?VfqQ}jGD?}wk`3N`S|JHL77n|Wrwf6>U0#j;t| zm8)5F*FZk#CNz&m6=Daf8MLd>eut{CQIFfVMaK>3x227g)q!>o;wGpp{k3RMqJ0RF zr9lTzZA+Ugt`zp3h3IQ_<~DkEL3B&$!WPH9g7)ez&vov&Wn?%rN9tMKS$tfmlu8%f zp|xnxJd4|>Y1_J)o$F=-$W%7Xb-R&W-}DHw?y;eX!kRZ_jp+h1l}(SYo0&E;A$8`B zmaiR+R;&`WwyK)972RQ#k17)bNOA*5Aj^uV+OMnyQFnspSaa%H?@D3xGZXTx5rm%rdgs)PVU^K&j$?^hd~WqTt`oY_?j!1o z0A|%LxI_A6q_QV>JxNJ*uB5}w((g!3>}5; z8q9UQ`6t3nh{vE8!U)zIi0g1X&+#?%)?oVb<`)fKGWd(ZUk(0d@Urj}BG2l(hj|Zw z2=m$C{rf4*bGZlo5}rkzgMJG?MtlnW5ne!i3DsaT+z<2Qjl%cQ=2`Hg&T;_if*OR| z(LM&GCz<0%iH1LuT?(9S^o|5PKo=UWzb&zFB8&d0+2O?jC6 zpEmfi!413+We*gK6-M(}r{s*;nRL=gOe8Xnog9s4o!EuZc%k5owq$v}>T|F9s{s7- zw4BN0N8*{H9i-PfC~UW+bH!3TmvCs0f4Z<;j%UUk{wuiZ@q9kp6EDSeFW=!E5Il?& z?PNOR#L~HRsU;cYrOi6C)?GG#ddwY~ZLh_!Rdzc0Ij5b-iX9H%oDsb+vuo|tqqm}+ qPX4+7%}x*_RpE~DCO|$PExJ2rug}K=4eMs*WQ0i;_g-oGzxprRP3{)} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-dependency/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..4923a7b043d8333a41c2b5f45e0802acbe007d1c GIT binary patch literal 2786 zcmb7_O-PhM9L8tW%G9JH5~4(MlZe<{5weJIw?#UbtQBDrZL7VTOYiQQu6>9^h=(#U z2?>HAGpQ))>rj{Ii|`PgI(6z4o;r2v6g|((|HapFg&KI~Kfn3UJM+BreoQ>tp;%Vy zx^Ojy?h+^fO+eFV6d^XCnnb%8?KxBvE6uoLWhSmbf2XvOQYX=lA+Ca^rN0#I2Wam@ zWT`a4SBIp{6&DJ7&qMUJI5UHuO%UBurm)3vZ=vm`%XghOZXOxV%#mhRZpm`Rr&(P*&Gr?suJCP}Dn(MY8yS(Wvvfj3#iNcx>Wr^t_WD1)eSvE6fWt#P# zZ&ZPLH0rQQT&>YHA1k^eIv>|2+L7c99DtOH>bgo>3!~l(uF~VGbfy;LXuU{h;tH6+(}elQG;2H7v3%1GV*<=54u|H!;EOw8FSwYKDbvAoiTa(;P|*I*YlYj;QV}w zj1@W_LCwNdW6+$m{md`i&z#ZE>nx@>e}0R_H5S)dywhTSSDddKa-l}y32G5$o_tU^i#QIo313CL1|1b1MZ6Am3NueWAv}c0KU|lvH(!tNZNzDa z{q%DKx)1RkBtL{^p+VuNh|i!a!pxJ0g=Y{yLG;1v`A2#OjSIg=`~Xb~Gf%!H{1Wja zbVt~mj~+Q+44Q-3&v$h{)CxVe__@WegsTw`L2rZ+)N6=7IA0sYvAhRAf42CG#a}J{ zX7P86e^@*(d>N5@`P0XI#=nI5?(q5k7UsU)h5iVSAx=RhFi-!FpeIn7@GROdptZg{ zdA;yGwD}Bp0I=+anxIX>^=R*bcnnCF-oLHF)yQ#wc^EM7@eYf5B$Oau1BIXli<>Oo zFN~pT7Zmd`zZo7PoR9u`p;n6zTYS{wPK!@joU+)pn8y^?PeA+!SNwN&n>RULcVEnrOqg|4Kb1E?aO7HyfYAT(Qn%}b zQhmvcleo~A?Co{>f*J0=J`Qw$5ugkTo^f+sNw+@~rq^;P5(=iX{rP0J+u`y&6(gbZ zNq4~ES;AEh=W>}?GM_ZP{ASlf@X*yCN~K*Vk zsGx{$q*Or=QE}x;t4LR_x)ABgl`9cf(v|rCGjr+9GzA^_=gc?f+&O3NV{RfoD%e)b zzJ7NL(@l^C-Gyc_Xn^fUSHifFbLhe?DsCQ&F}@l4qQ`KF1&oJaS3zBCR7@+z-53wT zvb8JY>uo(|#-+yDGZ6FCdLCk?6JoWLY8)}{4b-QmeAjt#3-EN*c)e9DCaPw06)*G` zn8mYsbBY#W>U$Vi-_r_D{i2z-8{UCu?}3@}74H zD~v%evLwVh+4HetIwt)IS;PpO+`wK)h`8(nva|^L0dPRZ1*E43aV$L{@IqkB=M|TI zK=!;Qi#hWeZgoUV%WM6aVwk5V>dO&9JweP)%N1kNqx_6xOUUqHUA*AbK`t9fIcc*w6fW{md2p zyuo1B=J#(lIB0OM!CMXH*U0tKkPGq2l8-@oXt(Bbu#-?!^99%`XrE^K$-|lpu(zQ@ znywN~jfU25b!oGqoYNnse zbs7H@`UG9o{0{a##5(Aog+4&s1DSp@Pf;>YqmR%7&EE6n8D>FypaaljgPGUwf3CR; zmha1J%`k#{W*)}#K63512D2`|f7akRgFhQQZ}3-x7c^gny#jsnF`wsm&3vBspdXqU zPyVTy@6LUQhcDX>XeacWfEI>!L5mRg!^ZvpfymzdA^5q)U>?U!hz~+G)Nb%5gF7`N zRBVHSKIS{k1Dxxzz7o`Dux)VI;Ozzv8XPxx*kJx5m_G^e8%_B5EcmGAQH))P|A|Ie z@BW_D?A_ln9gh&f{bhX2{qvu}d~D=`!R^u`#1`0OvQ#eSovJfoySa>$o=UrpohhgC zPV#&?RVq2%+@VufPdJ3D<^_T*|=jN) literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..051cc67e93e8740db2c36410cf9da3e371de242f GIT binary patch literal 2654 zcmb7_OK4L;6o%*aWz||#q=AAZw6Sy{*Q69*6iH%{A}XnfR1woO-k9jk!z8U%bfGI> zsGx{$q*Or=QE}x;t4LR_x)ABgl`9cf(v|rCGjr+9GzA^_=gc?f+&O3NV{RfoD%e)b zzJ7NL(@l^C-Gyc_Xn^fUSHifFbLhe?DsCQ&F}@l4qQ`KF1&oJaS3zBCR7@+z-53wT zvb8JY>uo(|#-+yDGZ6FCdLCk?6JoWLY8)}{4b-QmeAjt#3-EN*c)e9DCaPw06)*G` zn8mYsbBY#W>U$Vi-_r_D{i2z-8{UCu?}3@}74H zD~v%evLwVh+4HetIwt)IS;PpO+`wK)h`8(nva|^L0dPRZ1*E43aV$L{@IqkB=M|TI zK=!;Qi#hWeZgoUV%WM6aVwk5V>dO&9JweP)%N1kNqx_6xOUUqHUA*AbK`t9fIcc*w6fW{md2p zyuo1B=J#(lIB0OM!CMXH*U0tKkPGq2l8-@oXt(Bbu#-?!^99%`XrE^K$-|lpu(zQ@ znywN~jfU25b!oGqoYNnse zbs7H@`UG9o{0{a##5(Aog+4&s1DSp@Pf;>YqmR%7&EE6n8D>FypaaljgPGUwf3CR; zmha1J%`k#{W*)}#K63512D2`|f7akRgFhQQZ}3-x7c^gny#jsnF`wsm&3vBspdXqU zPyVTy@6LUQhcDX>XeacWfEI>!L5mRg!^ZvpfymzdA^5q)U>?U!hz~+G)Nb%5gF7`N zRBVHSKIS{k1Dxxzz7o`Dux)VI;Ozzv8XPxx*kJx5m_G^e8%_B5EcmGAQH))P|A|Ie z@BW_D?A_ln9gh&f{bhX2{qvu}d~D=`!R^u`#1`0OvQ#eSovJfoySa>$o=UrpohhgC zPV#&?RVq2%+@VufPdJ3D<^_T*|=jN) literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-direct/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..319d539be12645b2b1f4342b2843cc92b5b7f5d5 GIT binary patch literal 2698 zcmb7_OK4L;6ozlohqczCMH(n5fyUyZT$>V5OOYf7DWWlzB2@|@NpEcQ=3$anTPmn4 zUsOR61sA0j1d%E(T!}BF3vuPjl`HAWl`D}V{{PHedNWNy2mU$poilgNnfsWVh>jX; zn?+y0y9IY6__Xmq{eiP(vm1BgAW{hL7o1i1g--2-* z<3U)qc4=I_sm9E>*65vrn5QO`*M zOkD-Dcs9o;sS#K|(zan_2O{;0W?mD~jf*~ssB_yeL}Sl~vaaZHMCzAjZy2d+k+8Vu zorb3mgC1l_7+Xcp#|n2u#1o>3VFbB>Ly%!aMeh@(1`V6Q_Xif_Q)gib4FoIIv@7M3SjTCuaL-!OjPQI`BCF}?2kz!{(*2wi@ z&@x272RaBHg`R5sLgQD8cflTmUMq$%cn??y*Na0BAnw7#Ql&7b!qI^xJNOj8hfE$7xSIxVbAqgUkM6nJfQKQ#!-!jG>&ULqA`Cb z%%6n#4Uf6_95}6b6k{9WKcxZIxxZ%>JNK7=7Ouy}{gqwJ{qz6g#K|)nx5LM_8%ici z|#1)SIi)5<(U{U z1Gz$_nkr;0rsv-)Vos&(NvjD%W<60X=3}X9N_zRtbwH>gT`{vc+e+pNxoRLA24Jg!+zbgdjt;F?jHn9=p+w82}qoDl!U|5i>AGezT$4PzVR c@vuZ^=k$6!yrB^}tRIXr$mTpNN&naX1+I(f-2eap literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F4-same-no-dependency/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..b6cedc436e3d6ada09e03c2e87d1a37d9e5750f6 GIT binary patch literal 2658 zcmb7`O=uHA7>0NIqqWweJy;QxU}Nx5)}#c~;vpML@t`G@9%?D1NxHGA`7=MY74_iB zKh%@xMM@O~5fx9Kw2JiP$%9A_;>nXI=}A2JzB99QGL4`E?|k#jH#^@qGn?5Y;^P*} z7Ew2^Zlb#lvY|WB5*jVA1E^|fx1#+RRd|ye_ZgFMd^@zN+HhH4(H?@`4DIWbV>-|d zp?wsVrCS=Uc2t`Y*9&`RA;xL++(XZ9h}lxIu*Gq&paZf?d(I!X3Qyy+{wy{F)n;;4 zf9M*R$+P%PxAz(|LVyb zo|xG4ot7O&BZMdkai9rn8`|i0g+C#Z7=@DyI0ji(T-3e76G4Jeu%uq$>BBgtp0Myj zpw07&i@I0Td}aoH<}+OCsI@4b)g!s+rza*nGDZaX1kk%EW^{!|`ZLbko>3K% zt6@&Ge4iPUvGuX88W9s7GbZ=K6&~qlOwO3Fwu<@WIypa2iMC7Flc-r3bqHEfZJqfG z)|oTvyu)DTru+98956U!aKFL)MRL9jl!th_T@G^Y4E>;k33|>_{1v?FWgBWiL;`{O)B9B9S zUw$aA!_GrL74w|t$rXdU(Z{kMN+!#dQo*Zvbtj+8dYOex z-gB~*RKZK0ucXRluM#Y9f5g=+`da|}N(9g3OX*a;>O`0;?>yHD=8Dx?s+jQ@o_{u6 zXD*emd+lg4>ZwwxFqEpLWG{b%JrHt8SDkDw?0NIqqWweJy;QxU}Nx5)}#c~;vpML@t`G@9%?D1NxHGA`7=MY74_iB zKh%@xMM@O~5fx9Kw2JiP$%9A_;>nXI=}A2JzB99QGL4`E?|k#jH#^@qGn?5Y;^P*} z7Ew2^Zlb#lvY|WB5*jVA1E^|fx1#+RRd|ye_ZgFMd^@zN+HhH4(H?@`4DIWbV>-|d zp?wsVrCS=Uc2t`Y*9&`RA;xL++(XZ9h}lxIu*Gq&paZf?d(I!X3Qyy+{wy{F)n;;4 zf9M*R$+P%PxAz(|LVyb zo|xG4ot7O&BZMdkai9rn8`|i0g+C#Z7=@DyI0ji(T-3e76G4Jeu%uq$>BBgtp0Myj zpw07&i@I0Td}aoH<}+OCsI@4b)g!s+rza*nGDZaX1kk%EW^{!|`ZLbko>3K% zt6@&Ge4iPUvGuX88W9s7GbZ=K6&~qlOwO3Fwu<@WIypa2iMC7Flc-r3bqHEfZJqfG z)|oTvyu)DTru+98956U!aKFL)MRL9jl!th_T@G^Y4E>;k33|>_{1v?FWgBWiL;`{O)B9B9S zUw$aA!_GrL74w|t$rXdU(Z{kMN+!#dQo*Zvbtj+8dYOex z-gB~*RKZK0ucXRluM#Y9f5g=+`da|}N(9g3OX*a;>O`0;?>yHD=8Dx?s+jQ@o_{u6 zXD*emd+lg4>ZwwxFqEpLWG{b%JrHt8SDkDw?0M#T5GLEJ+vYyfyN>tYf=hU5y{3-JV@OX548wsnr>`x^J9K$D_V*t z|EL~B5ImGx5JXgZ@Fe~r9>kL;PoAVFPo6x9?>jqdC({OW;GJ)t@0*?ZW_B_gCoyWU zY!UUw)or+2Arra_Euj&D?MF3_b_?1osGK&xU#P>ko8WJgZG?;tw3D!#p<(H7M|%YA zW3Vh;zENsRwmIWkp?4Z$UX77ucy>d~mhuZ*?Drbl@4J-ef_|%rG(H=QVsfI|RK6N? z<=9M~<*!drd(+7FrjcEUG)^3h%X#||ZJzWPqQSPIiNcyMWnI!!h-{p6xoKoZi^RpA zcN=CDjXuoch!^S@+t7yF7I8-;kwTCQH~|?(LexDX5<`MV!9MkfNH6*^^^k}-295IO?o6qK1(&;v(YD7ej7gco)UEwuty~_G57jo?&&I zl$@6@k_}t#v$mH!gFXd4?Z7-u0mXc%AYj;tnn9(ziRwVr7U(4fZ0HI8dMr12?@M>HPQn4c8R zpN9Aw9#{ARI47C=&-cOaN(*eTzeUNx{_^X>@mR!fUSaMhzcE3aJg0FNA4J&)rPJj~ zso>V!y5;3_Zgw{7xmK={DY)rNl}x$pRw4!NpSZe(KLp^nBy!#>O=P^P6=SZv6KyM! zFIH=rV%FvK{9|HU(;2Vs^4{mHBc)OynW<%bFMo48A>=SowQ_mSP3MdGS|k_aqrHA) zeRhS?WIgCwh_<6!LplSzu9;3^Egg2?mX%s34T!>(geF$B+*4gOkdL*`)FPglC&Z^IXQ?{ z1t*7EoWw;Z(WQ$Het?ML2M*H7FQkH#lmGv@_olDcdf@-g`JHpW-o1G@`Roagwo#sI zKQ1G^9!fxS&=7)k@Qd)-RRHn1eiTUMe~1pEXbB^KvpeGa~r{a-4;p?@_>fd2+l3iP_P%xgE>wX931l z--4DQt~t*9t;Kn>!`mF@%H!>KI6UC+E{FLWV*jhqHOM!79{xJC$6@Xy+uM4^;ZcXj z96shSzjTgAe*-#g7|#0zjYF){$YqFZ_mAICoU0D=D`Nc#^bDFc{22Z@biwd__!rPc z!>{1qLYEA`gZ}_sG0Zx7&hSh4pU_RiU*Nw&Tqo!M27QMX46{zYWB3#N59qF8`+oe+ zX*{;J>0GIz{Bk3RRPk&hsMl2^8Kux)uBGIeN^K&jH2pM>uUB`UX!_-_qKaWP zY$eO-4rIBoH3yDrlQXtyl;WB@A(@Ur4>T55r~PDDZMK4HNp&H^yvn4=`3(|cOa!Ye4W)kwJAno~nG|9AYd%I1#_W$Q!8Z)~= literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..54bd31af2983ca61c42e877ab3edb244d4e6895e GIT binary patch literal 1947 zcmZ{lJ!n%=6vtnzt@VSV9a?cJG>X%s34T!>(geF$B+*4gOkdL*`)FPglC&Z^IXQ?{ z1t*7EoWw;Z(WQ$Het?ML2M*H7FQkH#lmGv@_olDcdf@-g`JHpW-o1G@`Roagwo#sI zKQ1G^9!fxS&=7)k@Qd)-RRHn1eiTUMe~1pEXbB^KvpeGa~r{a-4;p?@_>fd2+l3iP_P%xgE>wX931l z--4DQt~t*9t;Kn>!`mF@%H!>KI6UC+E{FLWV*jhqHOM!79{xJC$6@Xy+uM4^;ZcXj z96shSzjTgAe*-#g7|#0zjYF){$YqFZ_mAICoU0D=D`Nc#^bDFc{22Z@biwd__!rPc z!>{1qLYEA`gZ}_sG0Zx7&hSh4pU_RiU*Nw&Tqo!M27QMX46{zYWB3#N59qF8`+oe+ zX*{;J>0GIz{Bk3RRPk&hsMl2^8Kux)uBGIeN^K&jH2pM>uUB`UX!_-_qKaWP zY$eO-4rIBoH3yDrlQXtyl;WB@A(@Ur4>T55r~PDDZMK4HNp&H^yvn4=`3(|cOa!Ye4W)kwJAno~nG|9AYd%I1#_W$Q!8Z)~= literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-alias/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..97b72748c5b721643f0194c3c1b898c0c1f965e5 GIT binary patch literal 1969 zcmZ{lOK1~O6ox0Mt+h(gEG&pfp;257O;HftqzM+mB8hHXi0LG~v12nyNYaYvN)Qx8 ztAZ;RwYYMnt^`54(S;8XL3|+MO6mhqaOKMXKXY#~y~YFoob#P?Uo&^+PA+rQp{L#5>_> z|E|MSIAh0{-2*YZx-x|fN2PJa9h*Vey;4Ud1Fas7y{Y>U=c9#lG0P~%TWpq8RhgOI zBQXfk!kig1#z)hd@taa&$9bHLR9y!iJ&-=(@K61|CeukrE5IK7M z6edp#vDFadI3s9Bic5tf(85|uFM3g0j7udg*SzcpXX1_-%E~G-`pQw4BxV=W=2j%b zH-r|4ZbCmHt~|>G7fxiarvUsn>X^ST; zp0xO|#r)nmKmB#+xMn!#7c>R2P9vA0=>5)ET(y|r65Bt9oNQVX4c8KHGhEr4&Bjg#=EQ8 zyf6IvY23#a^nd^}{3ygWFI)V?V%{^&^nVp%o8MZ@6NOfS`0PJHG;$64On@DO>Jaaf zN6kKHKg4Gg<=+v%;#lJ^zDcX zg?ghFsFs>@D}Gs(PM0dmEjPSC6;3t0dR;Y=K??oluu7h&)QVoE>5g$b6Jhsa(=GcI zRq(5RD_I`vL6!^aI&e^%o-<8@6xZAf$#e_`p-I0w>n8nbv*lGwst*}1SF#P|P4iE+ z5jw&n-c6QTwT2sbv#K9Co~L1+EdgR&P}nCXXE%ppCMLfMY0vwkNv8b|Fpnv${r~zG Dkn6q} literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-scene-positional/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..5ec10032326a96b347d4e00b79b510e409cd56ef GIT binary patch literal 1951 zcmZ{lO=uHA6vsFA!&;%#9xN0Og+}qTG{q07B5jI2Xpsa#M1-(OCwA>_5;jSTUi9S2 zgNP>&Qay+lKR^%>Q4gN{7DYUWC+W$PCr{G<|IJL2PV0mJ&ilPLA8&TDlU(++N82XP z%^z10?uJs(HE0~p7PPO>?t;4D|3KgjIY|QWa%a`i{T= zMAI=_VT!M&u@KfJ#eqvf)KsKZC=J5XZn6o02+qdZ}@|`cVXOavTUu zOC~2LlJ|zaek5lg&s&kqjEv8kC*yY{PESXtC6~vPT!}6BlE<3loX0cOGiKp=W{nIA zm=t2KVJ5sW^wV=p3F~Oal)NIjY02n(9u?4Xa$c5ZWc{ppa=v!Ow$JU>9`fEnnM0q{ zCHP+;*34a4=I^bOw>!MUVOHMRf5hQYhxa(l-x0?r5Px;P;RUo!XrIG;lk9KvQx4BM zJm>H!htC>5hIR=m8b;%Nh4}SwJsSBuM7HmX-%uxWADzrSk?%qGp^JuZp?v^dHhcr^ zL+Fa($7r8IylXiA8T1^wZkTy8$1%@u@-uYP@LRO+pcTXK(SCsL8fKo%x;XwN^bulB zWV=7kOXIn5FHZk#Ss{0c>jv+m~Soh0eqzYjr zY^2K*U5K)W!dMQoV?ePX-kv(no&Yfxq{pP>rsh_5;jSTUi9S2 zgNP>&Qay+lKR^%>Q4gN{7DYUWC+W$PCr{G<|IJL2PV0mJ&ilPLA8&TDlU(++N82XP z%^z10?uJs(HE0~p7PPO>?t;4D|3KgjIY|QWa%a`i{T= zMAI=_VT!M&u@KfJ#eqvf)KsKZC=J5XZn6o02+qdZ}@|`cVXOavTUu zOC~2LlJ|zaek5lg&s&kqjEv8kC*yY{PESXtC6~vPT!}6BlE<3loX0cOGiKp=W{nIA zm=t2KVJ5sW^wV=p3F~Oal)NIjY02n(9u?4Xa$c5ZWc{ppa=v!Ow$JU>9`fEnnM0q{ zCHP+;*34a4=I^bOw>!MUVOHMRf5hQYhxa(l-x0?r5Px;P;RUo!XrIG;lk9KvQx4BM zJm>H!htC>5hIR=m8b;%Nh4}SwJsSBuM7HmX-%uxWADzrSk?%qGp^JuZp?v^dHhcr^ zL+Fa($7r8IylXiA8T1^wZkTy8$1%@u@-uYP@LRO+pcTXK(SCsL8fKo%x;XwN^bulB zWV=7kOXIn5FHZk#Ss{0c>jv+m~Soh0eqzYjr zY^2K*U5K)W!dMQoV?ePX-kv(no&Yfxq{pP>rshsUF0OAE1bcpok~GMe!sa#FO;o$&>j1znx9CV}0=7_kQoq%)Z^(ObWS^inc|r z8(&tC?t@a$WoQyX5BziZ9Z)ag??^0S5Xa>=N4_6%!Ni*oA4j|w9!^~}`2ob25buVk z{o6-e;T^li>_Ldx^_6*KxGIeucg;t*aixVy4qCq&XH$=$^<6N_u_-=cv!ZJ{zSB1( zh9Fv$i`Pu?)wCA8rj$5w+4b9+v<9W2c-d~$nG~--j9`RwV9aHuk5QGH#H$}iq9EIW z#I#fjvLi(`rUp@*fs|U6%8bm*Z=hAfZ{goTw+ypRW?!8D40;c-r{sDM z4aeULPXHSCk)ncA1vwJ9}q!|AXXOskZ2{TtgNh3dCr}g^YCNO`e-S zZbI$^62NU>7{M0!CHOr+2jXQ2=P`)mMz(6-h4`?EyAh8fJ_HZv)r{VQxQX}xJni2; zY=$eY8`Yx#)s2}6D6C3j$LltYaPv$Znd895YMf0x2DlzguSJzng0I*tsj9LoeTC2q z(6nZ2Cb%`N>98p&PMi%YZAG>MBmrA?JzAS&>vtpQ;~W^ZwDi&MC5Ex}gAnp^91t>+ z$;*ipya8`Jk~zTh79^9C`C0R%o|lu+N=EboG_FF=_b6aJ^1R3M)YYmywLl7d%}tFK1<0PS($wC+jUr%!zi){g`ru2^hP+4lD!g zInMc8i}M{0-|cXA9v{Eg;e!s}?{NNxIDZb92Ykc%ySxk>bU1gC<840e@G*yvJN%5p z`K7boN#F`_(Qr8LJ1_w-Pa`h_P7 z{A=Kb;cwvI0=Eojo}70N>%RcL0e1}l2>%JVXZUCMFTkSV%#%Mf{2e^M(?^Ee_v3d? zHxE{=wnwlV1EjB(y#{f18>=6>0`dmrLrvEHaf zs-@a~B`mAbe5s=RawCXTajp^6>#C8AQkXB-Qu0!zHW^f!{s@n^Pfwq0`sJ{qieWWu zCCeinP}$g~g`?V3+YXIV?70h&2ioaJTi xCrhnb!;gX))dP(;r`9wJ9}q!|AXXOskZ2{TtgNh3dCr}g^YCNO`e-S zZbI$^62NU>7{M0!CHOr+2jXQ2=P`)mMz(6-h4`?EyAh8fJ_HZv)r{VQxQX}xJni2; zY=$eY8`Yx#)s2}6D6C3j$LltYaPv$Znd895YMf0x2DlzguSJzng0I*tsj9LoeTC2q z(6nZ2Cb%`N>98p&PMi%YZAG>MBmrA?JzAS&>vtpQ;~W^ZwDi&MC5Ex}gAnp^91t>+ z$;*ipya8`Jk~zTh79^9C`C0R%o|lu+N=EboG_FF=_b6aJ^1R3M)YYmywLl7d%}tFK1<0PS($wC+jUr%!zi){g`ru2^hP+4lD!g zInMc8i}M{0-|cXA9v{Eg;e!s}?{NNxIDZb92Ykc%ySxk>bU1gC<840e@G*yvJN%5p z`K7boN#F`_(Qr8LJ1_w-Pa`h_P7 z{A=Kb;cwvI0=Eojo}70N>%RcL0e1}l2>%JVXZUCMFTkSV%#%Mf{2e^M(?^Ee_v3d? zHxE{=wnwlV1EjB(y#{f18>=6>0`dmrLrvEHaf zs-@a~B`mAbe5s=RawCXTajp^6>#C8AQkXB-Qu0!zHW^f!{s@n^Pfwq0`sJ{qieWWu zCCeinP}$g~g`?V3+YXIV?70h&2ioaJTi xCrhnb!;gX))dP(;r`9unqmB1W^5)2d9+kriGqTN zD?xBkt1CeeAK*rPGw>iF0Vgc1Jgbz8CS7j{6X25FdbtbFS!oKjLeM_rcTt zU5BY~#VZ5)lgsmBoKqlI%Z%P7WMtmjo(nVG&J zF$mGZoEbC5N7E?!bt$pqf>&xP(mIrY%&_gK)ya&%6+xVRV9cdt9Xp)ZC?5SV5*gVJ zB*vwZksZl8L(Tw-6OiL9OJzd(r}dTjjOn6)hNGnsIePpg zCQk{m)ez)3BWOqJk_tzlg|(z!^s=-Vmr6>mS=kTH#2qs>8Crw5@+k9-i}DtWw_D7WN89hTc-Z2-7V}MF|3zpCay1v>&qMnyK4fvq;z^6A zEIw&5zjw}m47vcF)ePr+g{C3aY2*SFy!aUn{X`VsM=VeaxJ&1F; zYONBehHAPczo7C<`I2%AH7`)P#hO>Gs#+pQqQ4wgiMdi`#w*p`F>ZG}>^@U>3w}xE z{IcIj6vn!d<-$4+98_kTrfHDmntLIcj=>-_<(KE(gkP>VymDUkA;aZLwx+yU{;9S> zr+CD>iF~6{a|3T)^&`jgG|aOlK#U6t`^4nz=1|PUd4Dv?wEh9+F@?4NU;hFf CjkmP` literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c2cef3589dc12349f3aa1289e4c688b1a39084fc GIT binary patch literal 1959 zcmZ{lOK1~O6o&8Erw@u2X~k8c@qvq>DS}!=+Y|()=tMzWnNHG)9hymE9<8DvC_WY< zu3WjOMK>Y{uGEEA5J6NBaUtTP6a`nVT)Fc9?<1Ms)&u{X^PO|=xi@zn@lq!QZMD3v ze7TNvE95{op#cP|;OF5tK`n?sA(6!(jvMMwz76p{9k(M+A>IQIC(h}7C*li;x5Lwx z@55BMV$+!24Kcg4GL8(p(zxTMO(I;mQbuJjw6q&%Qx71nM^kGt%gEtRtmcAZU{?Bw zL>EL;In&eO(bOixsw{Ehv|p$Pq(vwJnYPWSG0F6AN6^hVFy@BkK6->RfTQn2!jrcH zi4j@x$}vZA4a7JuOs6Pu?p-qjLR}zOvt(j5*Paxf9FmVgbfo z^O^ktanEt)vli#I7H_baJCBdwY;m8(TP@}@#QB$?%aE&?Pu~@2r^P%;jyLsTiw{^l zX7N#r`KGhqVdyG!QZtSXaS;4KxZJHK`XQ$Itcx; z__xJ>G#`RL0{xBEJ;r#g*l!!eXNTV!as-`**2S3n>Cw#Rg!?hy?k$KjnR2BR1+}2= z7Q%dxJDV#6ZocA2L1w1nm&-vV5hXESewGra3Z<-HsJer^z1?bhw(91?LXZiIVJ(p# zY(chPRhBo7N)vT6G)i*MZIE1!K^HU@7N^`qSgh9kVlHS$hTE0dO5jg)05(F$CQIex zVKuC|iCnEzaU*{!=tQ0^nl;WqLK-(F#Cph)Uu(8x#&NhnV-9~SP5xyxzWnCMRPF!Q Ee}ja+YXATM literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c2cef3589dc12349f3aa1289e4c688b1a39084fc GIT binary patch literal 1959 zcmZ{lOK1~O6o&8Erw@u2X~k8c@qvq>DS}!=+Y|()=tMzWnNHG)9hymE9<8DvC_WY< zu3WjOMK>Y{uGEEA5J6NBaUtTP6a`nVT)Fc9?<1Ms)&u{X^PO|=xi@zn@lq!QZMD3v ze7TNvE95{op#cP|;OF5tK`n?sA(6!(jvMMwz76p{9k(M+A>IQIC(h}7C*li;x5Lwx z@55BMV$+!24Kcg4GL8(p(zxTMO(I;mQbuJjw6q&%Qx71nM^kGt%gEtRtmcAZU{?Bw zL>EL;In&eO(bOixsw{Ehv|p$Pq(vwJnYPWSG0F6AN6^hVFy@BkK6->RfTQn2!jrcH zi4j@x$}vZA4a7JuOs6Pu?p-qjLR}zOvt(j5*Paxf9FmVgbfo z^O^ktanEt)vli#I7H_baJCBdwY;m8(TP@}@#QB$?%aE&?Pu~@2r^P%;jyLsTiw{^l zX7N#r`KGhqVdyG!QZtSXaS;4KxZJHK`XQ$Itcx; z__xJ>G#`RL0{xBEJ;r#g*l!!eXNTV!as-`**2S3n>Cw#Rg!?hy?k$KjnR2BR1+}2= z7Q%dxJDV#6ZocA2L1w1nm&-vV5hXESewGra3Z<-HsJer^z1?bhw(91?LXZiIVJ(p# zY(chPRhBo7N)vT6G)i*MZIE1!K^HU@7N^`qSgh9kVlHS$hTE0dO5jg)05(F$CQIex zVKuC|iCnEzaU*{!=tQ0^nl;WqLK-(F#Cph)Uu(8x#&NhnV-9~SP5xyxzWnCMRPF!Q Ee}ja+YXATM literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/F5-shopvisit/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..57cff6bd2cae855c811fd23f47d8ceef41375780 GIT binary patch literal 1981 zcmZ{lO=uHA6vt=#ZIz-yEQm;<@dFP_Q#_~_(-Z`y=tf0)GTo*VvoxE;P1-7WQv5iG z=s`~&YSD`q#gksNf(W95coNZCM5QNBo;>;g&(1XIv_AOnd%ySQGc&vKGNXdFPCeIt zTt~VMa-f^g0D>0ydHC&6E8+ztA~a$Y`iw*m zM2mA~Oou;By%^L~i5;i?(v&1EK}pCA+lZDsnejIuNU#r#xwKlx7U2xwr|(0;Q^$eC zkg9mWHqKbiN`$;6oW4lkP!W7M`}?OjzEiRDZS`f)nZ6h((0L2=fRnHVups*Dl+=XQRh_5E~d@BrVMWg ztp(!E{Q+_1&CDCu%D)BG0xJ#<4e>tvoI$A1ZZhwf6LI(Pnp+4;G8dGC zda^Lsifn&eSv_!AnV2$7!xY!t4yoxF^gts)dD2Y=nT&~JS(x2!AY=%x0 zE7em$EvUQ6e7zF6p+70RkmnGM8haq2j0+QDBjl)WIEQ4$aX7(pAMTZ={z#Vp56n*% I*Z%+f2e0tKDgXcg literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..8890cde7150bf6ea86e857112930752ae53b6b38 GIT binary patch literal 558 zcmZvZ%}T>S6or#kt3_QjlmrTv5*4&RX;#Ih))#1Z-GvY)AS4(DMSKSrK2{&A=iJOx z5_;g9d(OT2nM^k8okR6yJ-z&*eFj|c2cAI(?2YfDa_9kG=V8ct4t(Q#@FU|d;K#;a z!iVtJs1$5Vp~=k&yFTEaIC%l=xG`Qms_m=vHge6@38V(nyK~;8Zk-#c^}@X@0ryJT zY|qB#t9pE#4_bNH%G?fR@1IEe&-@nZ2~5Ew12hA35HUcUGsg_jEm(jR17x4i^PnC; rl2rPmRG;cAD&BLI{bYrTa-Ehc`POMwDScnYJVgF1>7zDepT_0^|JEE& literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..8890cde7150bf6ea86e857112930752ae53b6b38 GIT binary patch literal 558 zcmZvZ%}T>S6or#kt3_QjlmrTv5*4&RX;#Ih))#1Z-GvY)AS4(DMSKSrK2{&A=iJOx z5_;g9d(OT2nM^k8okR6yJ-z&*eFj|c2cAI(?2YfDa_9kG=V8ct4t(Q#@FU|d;K#;a z!iVtJs1$5Vp~=k&yFTEaIC%l=xG`Qms_m=vHge6@38V(nyK~;8Zk-#c^}@X@0ryJT zY|qB#t9pE#4_bNH%G?fR@1IEe&-@nZ2~5Ew12hA35HUcUGsg_jEm(jR17x4i^PnC; rl2rPmRG;cAD&BLI{bYrTa-Ehc`POMwDScnYJVgF1>7zDepT_0^|JEE& literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/artifacts/installed/runtime-trap-control/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..8890cde7150bf6ea86e857112930752ae53b6b38 GIT binary patch literal 558 zcmZvZ%}T>S6or#kt3_QjlmrTv5*4&RX;#Ih))#1Z-GvY)AS4(DMSKSrK2{&A=iJOx z5_;g9d(OT2nM^k8okR6yJ-z&*eFj|c2cAI(?2YfDa_9kG=V8ct4t(Q#@FU|d;K#;a z!iVtJs1$5Vp~=k&yFTEaIC%l=xG`Qms_m=vHge6@38V(nyK~;8Zk-#c^}@X@0ryJT zY|qB#t9pE#4_bNH%G?fR@1IEe&-@nZ2~5Ew12hA35HUcUGsg_jEm(jR17x4i^PnC; rl2rPmRG;cAD&BLI{bYrTa-Ehc`POMwDScnYJVgF1>7zDepT_0^|JEE& literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/checksums.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/checksums.json new file mode 100644 index 00000000..fcf352a0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/checksums.json @@ -0,0 +1,604 @@ +{ + "summary.json": "89012dab6f92785fe816c0d101dd56fa5cf5e59ad097d39f14cebb22191e32fc", + "provenance.json": "a3cacf2045563148d717ca48a6d4a9b8d24d0afd4ac71eadd1dee5f0c7518c6c", + "artifacts/installed/F5-scene-alias/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-scene-alias/optimized-public/program.pbx": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "artifacts/installed/F5-scene-alias/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-scene-alias/unoptimized/program.pbx": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "artifacts/installed/F5-scene-alias/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-scene-alias/optimized/program.pbx": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "artifacts/installed/F4-same-direct/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-same-direct/optimized-public/program.pbx": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "artifacts/installed/F4-same-direct/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-same-direct/unoptimized/program.pbx": "a39fb9b13b1fb0e4ff5222ca00b1cb27fb35dd464af1e76170d6241bc2fb8a0f", + "artifacts/installed/F4-same-direct/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-same-direct/optimized/program.pbx": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "artifacts/installed/F1-service-local/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-service-local/optimized-public/program.pbx": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "artifacts/installed/F1-service-local/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-service-local/unoptimized/program.pbx": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "artifacts/installed/F1-service-local/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-service-local/optimized/program.pbx": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "artifacts/installed/F1-two-calls/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-two-calls/optimized-public/program.pbx": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "artifacts/installed/F1-two-calls/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-two-calls/unoptimized/program.pbx": "f910c0f6e31276cd7d4bff2cde54900820bc354e61759eb518e79b5ffccd3ec9", + "artifacts/installed/F1-two-calls/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-two-calls/optimized/program.pbx": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "artifacts/installed/F2-expression/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-expression/optimized-public/program.pbx": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "artifacts/installed/F2-expression/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-expression/unoptimized/program.pbx": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "artifacts/installed/F2-expression/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-expression/optimized/program.pbx": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "artifacts/installed/F4-same-dependency/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-same-dependency/optimized-public/program.pbx": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "artifacts/installed/F4-same-dependency/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-same-dependency/unoptimized/program.pbx": "af13fe4f09ef762fb916c055924c250f045d895f739a5b55f40ee0c30a3dc379", + "artifacts/installed/F4-same-dependency/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-same-dependency/optimized/program.pbx": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "artifacts/installed/F1-service-this/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-service-this/optimized-public/program.pbx": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "artifacts/installed/F1-service-this/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-service-this/unoptimized/program.pbx": "8341bab19d4943a8d414b3c2ef7ba4552bd05c7a93c9b0d8af555ee3bfbf9b39", + "artifacts/installed/F1-service-this/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-service-this/optimized/program.pbx": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "artifacts/installed/F5-scene-positional/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-scene-positional/optimized-public/program.pbx": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "artifacts/installed/F5-scene-positional/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-scene-positional/unoptimized/program.pbx": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "artifacts/installed/F5-scene-positional/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-scene-positional/optimized/program.pbx": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "artifacts/installed/F3-service/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-service/optimized-public/program.pbx": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "artifacts/installed/F3-service/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-service/unoptimized/program.pbx": "c568447b582b4839b65e1e7368f0d07b61bfaa038ba28d984434c8db6df7c64f", + "artifacts/installed/F3-service/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-service/optimized/program.pbx": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "artifacts/installed/F3-global/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-global/optimized-public/program.pbx": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "artifacts/installed/F3-global/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-global/unoptimized/program.pbx": "8ffa05f45c4a33784ca0bb524d4a6b7dfb527781c8ebb40b5d08df4fa7a6a22c", + "artifacts/installed/F3-global/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-global/optimized/program.pbx": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "artifacts/installed/F4-public-aliases/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-public-aliases/optimized-public/program.pbx": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "artifacts/installed/F4-public-aliases/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-public-aliases/unoptimized/program.pbx": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "artifacts/installed/F4-public-aliases/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-public-aliases/optimized/program.pbx": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "artifacts/installed/F3-single-file/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-single-file/optimized-public/program.pbx": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "artifacts/installed/F3-single-file/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-single-file/unoptimized/program.pbx": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "artifacts/installed/F3-single-file/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-single-file/optimized/program.pbx": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "artifacts/installed/F2-arguments/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-arguments/optimized-public/program.pbx": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "artifacts/installed/F2-arguments/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-arguments/unoptimized/program.pbx": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "artifacts/installed/F2-arguments/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-arguments/optimized/program.pbx": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "artifacts/installed/F4-rename-a/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-rename-a/optimized-public/program.pbx": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "artifacts/installed/F4-rename-a/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-rename-a/unoptimized/program.pbx": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "artifacts/installed/F4-rename-a/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-rename-a/optimized/program.pbx": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "artifacts/installed/F3-global-local/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-global-local/optimized-public/program.pbx": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "artifacts/installed/F3-global-local/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-global-local/unoptimized/program.pbx": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "artifacts/installed/F3-global-local/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-global-local/optimized/program.pbx": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "artifacts/installed/runtime-trap-control/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/runtime-trap-control/optimized-public/program.pbx": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "artifacts/installed/runtime-trap-control/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/runtime-trap-control/unoptimized/program.pbx": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "artifacts/installed/runtime-trap-control/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/runtime-trap-control/optimized/program.pbx": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "artifacts/installed/F2-struct-method/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-struct-method/optimized-public/program.pbx": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "artifacts/installed/F2-struct-method/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-struct-method/unoptimized/program.pbx": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "artifacts/installed/F2-struct-method/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-struct-method/optimized/program.pbx": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "artifacts/installed/F4-distinct/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-distinct/optimized-public/program.pbx": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "artifacts/installed/F4-distinct/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-distinct/unoptimized/program.pbx": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "artifacts/installed/F4-distinct/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-distinct/optimized/program.pbx": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "artifacts/installed/F1-local/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-local/optimized-public/program.pbx": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "artifacts/installed/F1-local/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-local/unoptimized/program.pbx": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "artifacts/installed/F1-local/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-local/optimized/program.pbx": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "artifacts/installed/F3-service-local/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-service-local/optimized-public/program.pbx": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "artifacts/installed/F3-service-local/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-service-local/unoptimized/program.pbx": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "artifacts/installed/F3-service-local/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-service-local/optimized/program.pbx": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "artifacts/installed/F5-shopvisit/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-shopvisit/optimized-public/program.pbx": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "artifacts/installed/F5-shopvisit/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-shopvisit/unoptimized/program.pbx": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "artifacts/installed/F5-shopvisit/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-shopvisit/optimized/program.pbx": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "artifacts/installed/F5-scene/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-scene/optimized-public/program.pbx": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "artifacts/installed/F5-scene/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-scene/unoptimized/program.pbx": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "artifacts/installed/F5-scene/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F5-scene/optimized/program.pbx": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "artifacts/installed/F1-direct/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-direct/optimized-public/program.pbx": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "artifacts/installed/F1-direct/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-direct/unoptimized/program.pbx": "d709189473a3cc1c9ff1bb4a0887bd51bafddabf129a02d876a02e37056ff566", + "artifacts/installed/F1-direct/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-direct/optimized/program.pbx": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "artifacts/installed/F2-locals/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-locals/optimized-public/program.pbx": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "artifacts/installed/F2-locals/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-locals/unoptimized/program.pbx": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "artifacts/installed/F2-locals/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F2-locals/optimized/program.pbx": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "artifacts/installed/F3-function/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-function/optimized-public/program.pbx": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "artifacts/installed/F3-function/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-function/unoptimized/program.pbx": "c098719dae70b95ba847e7813e5fa7c005f99337946d6e06f5e5fc4381051f79", + "artifacts/installed/F3-function/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F3-function/optimized/program.pbx": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "artifacts/installed/F4-same-no-dependency/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-same-no-dependency/optimized-public/program.pbx": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "artifacts/installed/F4-same-no-dependency/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-same-no-dependency/unoptimized/program.pbx": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "artifacts/installed/F4-same-no-dependency/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F4-same-no-dependency/optimized/program.pbx": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "artifacts/installed/F1-condition/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-condition/optimized-public/program.pbx": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "artifacts/installed/F1-condition/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-condition/unoptimized/program.pbx": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "artifacts/installed/F1-condition/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/F1-condition/optimized/program.pbx": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "artifacts/checkout/F5-scene-alias/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-scene-alias/optimized-public/program.pbx": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "artifacts/checkout/F5-scene-alias/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-scene-alias/unoptimized/program.pbx": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "artifacts/checkout/F5-scene-alias/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-scene-alias/optimized/program.pbx": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "artifacts/checkout/F4-same-direct/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-same-direct/optimized-public/program.pbx": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "artifacts/checkout/F4-same-direct/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-same-direct/unoptimized/program.pbx": "a39fb9b13b1fb0e4ff5222ca00b1cb27fb35dd464af1e76170d6241bc2fb8a0f", + "artifacts/checkout/F4-same-direct/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-same-direct/optimized/program.pbx": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "artifacts/checkout/F1-service-local/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-service-local/optimized-public/program.pbx": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "artifacts/checkout/F1-service-local/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-service-local/unoptimized/program.pbx": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "artifacts/checkout/F1-service-local/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-service-local/optimized/program.pbx": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "artifacts/checkout/F1-two-calls/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-two-calls/optimized-public/program.pbx": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "artifacts/checkout/F1-two-calls/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-two-calls/unoptimized/program.pbx": "f910c0f6e31276cd7d4bff2cde54900820bc354e61759eb518e79b5ffccd3ec9", + "artifacts/checkout/F1-two-calls/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-two-calls/optimized/program.pbx": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "artifacts/checkout/F2-expression/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-expression/optimized-public/program.pbx": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "artifacts/checkout/F2-expression/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-expression/unoptimized/program.pbx": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "artifacts/checkout/F2-expression/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-expression/optimized/program.pbx": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "artifacts/checkout/F4-same-dependency/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-same-dependency/optimized-public/program.pbx": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "artifacts/checkout/F4-same-dependency/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-same-dependency/unoptimized/program.pbx": "af13fe4f09ef762fb916c055924c250f045d895f739a5b55f40ee0c30a3dc379", + "artifacts/checkout/F4-same-dependency/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-same-dependency/optimized/program.pbx": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "artifacts/checkout/F1-service-this/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-service-this/optimized-public/program.pbx": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "artifacts/checkout/F1-service-this/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-service-this/unoptimized/program.pbx": "8341bab19d4943a8d414b3c2ef7ba4552bd05c7a93c9b0d8af555ee3bfbf9b39", + "artifacts/checkout/F1-service-this/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-service-this/optimized/program.pbx": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "artifacts/checkout/F5-scene-positional/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-scene-positional/optimized-public/program.pbx": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "artifacts/checkout/F5-scene-positional/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-scene-positional/unoptimized/program.pbx": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "artifacts/checkout/F5-scene-positional/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-scene-positional/optimized/program.pbx": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "artifacts/checkout/F3-service/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-service/optimized-public/program.pbx": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "artifacts/checkout/F3-service/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-service/unoptimized/program.pbx": "c568447b582b4839b65e1e7368f0d07b61bfaa038ba28d984434c8db6df7c64f", + "artifacts/checkout/F3-service/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-service/optimized/program.pbx": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "artifacts/checkout/F3-global/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-global/optimized-public/program.pbx": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "artifacts/checkout/F3-global/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-global/unoptimized/program.pbx": "8ffa05f45c4a33784ca0bb524d4a6b7dfb527781c8ebb40b5d08df4fa7a6a22c", + "artifacts/checkout/F3-global/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-global/optimized/program.pbx": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "artifacts/checkout/F4-public-aliases/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-public-aliases/optimized-public/program.pbx": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "artifacts/checkout/F4-public-aliases/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-public-aliases/unoptimized/program.pbx": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "artifacts/checkout/F4-public-aliases/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-public-aliases/optimized/program.pbx": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "artifacts/checkout/F3-single-file/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-single-file/optimized-public/program.pbx": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "artifacts/checkout/F3-single-file/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-single-file/unoptimized/program.pbx": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "artifacts/checkout/F3-single-file/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-single-file/optimized/program.pbx": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "artifacts/checkout/F2-arguments/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-arguments/optimized-public/program.pbx": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "artifacts/checkout/F2-arguments/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-arguments/unoptimized/program.pbx": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "artifacts/checkout/F2-arguments/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-arguments/optimized/program.pbx": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "artifacts/checkout/F4-rename-a/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-rename-a/optimized-public/program.pbx": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "artifacts/checkout/F4-rename-a/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-rename-a/unoptimized/program.pbx": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "artifacts/checkout/F4-rename-a/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-rename-a/optimized/program.pbx": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "artifacts/checkout/F3-global-local/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-global-local/optimized-public/program.pbx": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "artifacts/checkout/F3-global-local/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-global-local/unoptimized/program.pbx": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "artifacts/checkout/F3-global-local/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-global-local/optimized/program.pbx": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "artifacts/checkout/runtime-trap-control/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/runtime-trap-control/optimized-public/program.pbx": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "artifacts/checkout/runtime-trap-control/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/runtime-trap-control/unoptimized/program.pbx": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "artifacts/checkout/runtime-trap-control/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/runtime-trap-control/optimized/program.pbx": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "artifacts/checkout/F2-struct-method/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-struct-method/optimized-public/program.pbx": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "artifacts/checkout/F2-struct-method/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-struct-method/unoptimized/program.pbx": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "artifacts/checkout/F2-struct-method/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-struct-method/optimized/program.pbx": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "artifacts/checkout/F4-distinct/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-distinct/optimized-public/program.pbx": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "artifacts/checkout/F4-distinct/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-distinct/unoptimized/program.pbx": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "artifacts/checkout/F4-distinct/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-distinct/optimized/program.pbx": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "artifacts/checkout/F1-local/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-local/optimized-public/program.pbx": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "artifacts/checkout/F1-local/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-local/unoptimized/program.pbx": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "artifacts/checkout/F1-local/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-local/optimized/program.pbx": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "artifacts/checkout/F3-service-local/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-service-local/optimized-public/program.pbx": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "artifacts/checkout/F3-service-local/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-service-local/unoptimized/program.pbx": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "artifacts/checkout/F3-service-local/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-service-local/optimized/program.pbx": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "artifacts/checkout/F5-shopvisit/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-shopvisit/optimized-public/program.pbx": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "artifacts/checkout/F5-shopvisit/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-shopvisit/unoptimized/program.pbx": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "artifacts/checkout/F5-shopvisit/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-shopvisit/optimized/program.pbx": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "artifacts/checkout/F5-scene/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-scene/optimized-public/program.pbx": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "artifacts/checkout/F5-scene/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-scene/unoptimized/program.pbx": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "artifacts/checkout/F5-scene/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F5-scene/optimized/program.pbx": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "artifacts/checkout/F1-direct/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-direct/optimized-public/program.pbx": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "artifacts/checkout/F1-direct/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-direct/unoptimized/program.pbx": "d709189473a3cc1c9ff1bb4a0887bd51bafddabf129a02d876a02e37056ff566", + "artifacts/checkout/F1-direct/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-direct/optimized/program.pbx": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "artifacts/checkout/F2-locals/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-locals/optimized-public/program.pbx": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "artifacts/checkout/F2-locals/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-locals/unoptimized/program.pbx": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "artifacts/checkout/F2-locals/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F2-locals/optimized/program.pbx": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "artifacts/checkout/F3-function/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-function/optimized-public/program.pbx": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "artifacts/checkout/F3-function/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-function/unoptimized/program.pbx": "c098719dae70b95ba847e7813e5fa7c005f99337946d6e06f5e5fc4381051f79", + "artifacts/checkout/F3-function/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F3-function/optimized/program.pbx": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "artifacts/checkout/F4-same-no-dependency/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-same-no-dependency/optimized-public/program.pbx": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "artifacts/checkout/F4-same-no-dependency/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-same-no-dependency/unoptimized/program.pbx": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "artifacts/checkout/F4-same-no-dependency/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F4-same-no-dependency/optimized/program.pbx": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "artifacts/checkout/F1-condition/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-condition/optimized-public/program.pbx": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "artifacts/checkout/F1-condition/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-condition/unoptimized/program.pbx": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "artifacts/checkout/F1-condition/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/F1-condition/optimized/program.pbx": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "execution/installed/F2-locals-unoptimized.json": "dacc97b4d674274e03c7b14f2070d05d93b83c9146594e24ed6e66bcbb7eabf7", + "execution/installed/F1-condition-optimized.json": "91e3839387d6d25395199728b936ba1040947d30bfeb236904675914f0cb4051", + "execution/installed/F3-service-local-optimized.json": "eb58ef25e11ea84ba27e222435e36c955fc49f24ca3ba3c6336ae4f39cc09966", + "execution/installed/F2-struct-method-unoptimized.json": "b47e3f70c6d68a8d8bcab058b8c6f2bbe183f22e58c26d5528ae1d103b6f6a56", + "execution/installed/F4-same-dependency-optimized.json": "650b04b7a2fa2f451cb27caa2455aa20c707059a57d06eeb88280ab74c959653", + "execution/installed/F4-same-no-dependency-optimized.json": "f7deb777cb54cc6d7331d3a930af7849df3b7a58e8294b73f92a3983a5cd509c", + "execution/installed/runtime-trap-control-unoptimized.json": "d8a90d91099afd43d88a8ed5049a1461f4858bacca83c299e28a74b5332ecf68", + "execution/installed/F4-distinct-unoptimized.json": "0dcad62cb244c5d6e650f28469c0bfc10b41f809758eb9c9d2eefc2b687751ff", + "execution/installed/F2-arguments-optimized.json": "0ca9badd0bb18d04ccd772801327474652e5119c5d7084c2847720c4c8081a4c", + "execution/installed/F3-function-optimized.json": "8d51a01a59442feda718d62bbedbf7f505a7a729a8c999c8ccc676b2e06a4be6", + "execution/installed/F3-single-file-unoptimized.json": "c1cf4db175f139cd2824a5e13c5826ffe19fc6f48aeb0acfcc4ba4241346ba53", + "execution/installed/F5-scene-alias-optimized.json": "1ca44437f198aa70b5b38ef6ed630ca0de1e87ede10822768813381a809cc7d8", + "execution/installed/F1-service-this-optimized.json": "9fc6abeb5cbc03765d596f9a6fcc3c0588215ad0bdb3b4a0eba369dc4bef2587", + "execution/installed/F4-rename-a-optimized.json": "14d436f9a98784e1da2694efdb13c8b5f253c43fb26d1068a88c6936720ce814", + "execution/installed/F4-distinct-optimized.json": "7cb8ef345b5d45e027f0c205eeb0479b1cc8e4a6a282a12dd529c1a8f817a9f4", + "execution/installed/F4-same-direct-optimized.json": "4291cdba918cf75f114f38727dde0c0cef7b9d7cbf1fb92dc879714791dac66e", + "execution/installed/F1-direct-unoptimized.json": "58807b905641cd1eaf5f181fc780413c3f9c528002bfa32994ec3eac15dcc385", + "execution/installed/F2-expression-optimized.json": "91c4ef001a5d43094e40cc22dd6b0f6f8851d5077bf60e836a23d0704c494a25", + "execution/installed/F5-scene-positional-optimized.json": "9fee1716c697a0da475fa4596dcb077d5399661331bfa8497ed835c1e429904a", + "execution/installed/F3-single-file-optimized.json": "bea883fa45ee86b4b9d20b505228bf5e4c76e8c25eb126c2daa9521143d6e0c7", + "execution/installed/F3-global-local-unoptimized.json": "c3d5a96dc1afc8784a117e6f6a2ea45f164d63d478c5a17a0100ab3da7c04316", + "execution/installed/F4-public-aliases-optimized.json": "80d6e7feb3887f4ff4d38128a32194356b05c886220d06f61f86656556c2e93e", + "execution/installed/F4-public-aliases-unoptimized.json": "8f577dc945e451ebad0d18b1b1ae5df201da1804c11111ea142ceb493f3563bd", + "execution/installed/F5-scene-positional-unoptimized.json": "0ac7f5d59c66aae439191e3b7c10ec5334afd984d3675c77cc16e5f71eaa839f", + "execution/installed/F3-service-local-unoptimized.json": "efe1214f9ce073bd67407889f36ff99115ed73d2c6f56a354ba9528cbb204e8f", + "execution/installed/F2-struct-method-optimized.json": "df5410a35c6493327b754f12654bbe2cff68fa552a10f21489a30e2ed8e78e04", + "execution/installed/F3-global-unoptimized.json": "c567769ec8d6355a0db23b99223e58871ce7e058e6d317f948ec222b6c38009e", + "execution/installed/F4-same-no-dependency-unoptimized.json": "3f0ab82aee65106d2ae999b7b6ce2aaf401d30d5aca6d8db7a16f570b092a75e", + "execution/installed/F3-global-optimized.json": "b0cdc8ab3f60009d472028118a8bdcbb2cdcd27b97e7605c7772fc8e7b2eceea", + "execution/installed/F5-scene-alias-unoptimized.json": "9493813070e8ae8fb6fb20db7574b96d3ee5e7ad9345fd66b73afce57d044203", + "execution/installed/F5-shopvisit-unoptimized.json": "68062e8208bc09ddbd8ba78d16add1877a61c8af043963ff165e8d9fceea9f52", + "execution/installed/F5-scene-optimized.json": "8959df14fd35e235cea311d7292f66433d2cccf3ca59bd14f963f61b2963ca7d", + "execution/installed/runtime-trap-control-optimized.json": "2871fc23fb997f8d367a6408cb30849983cfdbf3cc14e04363aa88edaa5da239", + "execution/installed/F2-expression-unoptimized.json": "e336f7b83707ac1ac65639897def695b54376e0bdce56221e74e28ab5f766e5e", + "execution/installed/F3-global-local-optimized.json": "3b0d77328e665a12d976cd0eadf541b023a84cb0f9c5b0349238a380c15709ae", + "execution/installed/F3-service-unoptimized.json": "063ffbaa2fa53fb7dbbd40aa1773fd844f28eb19f566b5d8920a1f15368a021a", + "execution/installed/F1-two-calls-unoptimized.json": "02f744f26148f95afe00c374e97a6061988e841267f54ec2bdf5964a62ffec25", + "execution/installed/F5-scene-unoptimized.json": "38869dbe49422bf2dde52eaf11bc8d481dc782088b5f7d295d9de09484ef3245", + "execution/installed/F2-arguments-unoptimized.json": "02f84f640ef1baa3836909afae0b14f3e4c1d9eae9a48dd6773b0a276cbbe465", + "execution/installed/F1-service-this-unoptimized.json": "7351ed7dd3924eef15abe37e74b9a08a5df0ec51191225a086495983545d90af", + "execution/installed/F5-shopvisit-optimized.json": "10d92455f976273c7bbf7cf8ad7b1d47a73ada8f04956a4fb3f6204c4992e3eb", + "execution/installed/F2-locals-optimized.json": "9a903a5bc860b6010c8228d99615a7081c5027cc3bfc4c4112878f7238ec1fe0", + "execution/installed/F1-service-local-optimized.json": "462b476cd91daf583c9eeb75708a9957a42a258463af5127ddfdaac4004edc55", + "execution/installed/F1-condition-unoptimized.json": "7cd113f8db10d317f6b5f5dea5b232e89ca6e8dd991ebf7ef9b98a9a53a5ccc2", + "execution/installed/F3-function-unoptimized.json": "cef0dbcee029a3604301107e95ad2f1fc685b8a3f78de9932c9407873eded50b", + "execution/installed/F4-same-dependency-unoptimized.json": "7fc2f3ad44e3e415062d422bce653bcacae9252c01a1038461f4d816ac4455d4", + "execution/installed/F1-local-unoptimized.json": "411677cda64f58a313ba728518ecadabe01b015850caf9e77424b1f60eff78f7", + "execution/installed/F1-service-local-unoptimized.json": "0aa652ff9dc5779c4e47fe9bacf2cf9601c5fe5208a5edbe765e13c682ec8e8a", + "execution/installed/F3-service-optimized.json": "fb4fcc163f2db4dab596a8c37338259d6007e1a6125790ca27103c571a028fe2", + "execution/installed/F4-same-direct-unoptimized.json": "38ddf54ed56beddb01feda622105c6b1e46ea1414dc412ca4b957c7d4b17a447", + "execution/installed/F1-direct-optimized.json": "372e5a7c9f70d1d0b485b0d2db2a5704f9576db50619a1f4bf689fd796eae437", + "execution/installed/F1-local-optimized.json": "3286bf97a339bcbf62de33bbac86b30e32b55595cc788a11b4dcaf0de3597f7b", + "execution/installed/F4-rename-a-unoptimized.json": "480545aee39e3ee62551c5663889cf578af11a69e2d25ab147a9e74899dd2ac9", + "execution/installed/F1-two-calls-optimized.json": "0415fdf6635bb382f67885496812821b2254a2ea331345ab7d54bd9a89df1245", + "execution/checkout/F2-locals-unoptimized.json": "fc04b3aa21df7a425bd1e6cdc7f7968771acd881a9d70309a13f908464c0d289", + "execution/checkout/F1-condition-optimized.json": "ad98fce5befb0cbbef7ae9278fdbe0b4e52a65ac9611d6cf08cb2c914b5c9160", + "execution/checkout/F3-service-local-optimized.json": "51210bd85919d61487187641a1218d50f893fe6dc3540c8f6754f708fe657ff6", + "execution/checkout/F2-struct-method-unoptimized.json": "36e97505470199230a2186ddf79e5e28ec8de86051a98d09b064fcda86cb43fe", + "execution/checkout/F4-same-dependency-optimized.json": "dcad951cf6c80b84ea6289c5bedbf72083a83379e96f4a9d60b8ae832486b926", + "execution/checkout/F4-same-no-dependency-optimized.json": "16b86a8c2c2b79eaf154209732ef896190acdae74333ecdc2467bfd13f5f880f", + "execution/checkout/runtime-trap-control-unoptimized.json": "63f2c37ea686d80e2164d5466110c08c3660dbafc3caa370a3ce008ede9a917a", + "execution/checkout/F4-distinct-unoptimized.json": "00be4f51871cfa4e4818093766f329e6fafa1b4b3f9878f20bdab3e8819af8d0", + "execution/checkout/F2-arguments-optimized.json": "61e3f6f9f4aa3209182e5db3fb97811c038692c0e66b0a3920cdfe73f05a2890", + "execution/checkout/F3-function-optimized.json": "f8e6446b489bd2505ccc411aaca2baa0d8413fe23b05764ed8d070e8b37f5cf8", + "execution/checkout/F3-single-file-unoptimized.json": "e5c8f9c21da265dae1670bd1bd828674e40b405525612a52aab07592c31b8ac5", + "execution/checkout/F5-scene-alias-optimized.json": "c033c84bf7d1647ec52eba9ef4043f3a05203c7777d99d9557a259b03b0a474d", + "execution/checkout/F1-service-this-optimized.json": "ecbfcf96b205ded7b00558bb7e4a7ad5413d365e1fff2e87d19f02b59510cb40", + "execution/checkout/F4-rename-a-optimized.json": "50238453c4b1c5ac076242ed07ddd414eb951d6df09207ea948e841d22ea2fec", + "execution/checkout/F4-distinct-optimized.json": "ea10a8ff3cfb830d898b1173c81ea59abe74349ca8fc42192c09d0ffe70f4aeb", + "execution/checkout/F4-same-direct-optimized.json": "cc646e9ac216544d1795e3d2e52f1f104bbe08b9fea7c8ff98c242b67e75373f", + "execution/checkout/F1-direct-unoptimized.json": "6906def3a716fccb3b7219b6b4a576434829e42825bf46f79936f94b7e1a6852", + "execution/checkout/F2-expression-optimized.json": "502b0bca836aee74897a605698ac6afdc942f396f9d78ca2ac9bf783139db44c", + "execution/checkout/F5-scene-positional-optimized.json": "f7c7e4345bb51562e5a1add1cdb259287e56d3c1d63d4aaed4a083ee95ee31ed", + "execution/checkout/F3-single-file-optimized.json": "d8a80b62072b8e6ce4b977cb7780b4505eca920c241351a567620939e88e1cf4", + "execution/checkout/F3-global-local-unoptimized.json": "7b8f23e998783e445767e04c9bf632df279bd5b2c27918a96c029123d3796b08", + "execution/checkout/F4-public-aliases-optimized.json": "c4e235683b22b0b1ce65666fd9d7f833fdfc82f99b19fbc989d9e915456cd38d", + "execution/checkout/F4-public-aliases-unoptimized.json": "e88e43f142e3ce7d98d53c6dac295b30b0a1f4e1bc5ea197df4e047187f0cc36", + "execution/checkout/F5-scene-positional-unoptimized.json": "175fc784bf90fb560cb4a2487d5f74005bcb816e95397945f96fdd96fd62f81e", + "execution/checkout/F3-service-local-unoptimized.json": "c50fba923bf474ff99b98c8f6fb410b70d7327472e296f017a7d0ae9f0438c6c", + "execution/checkout/F2-struct-method-optimized.json": "19775cd09529dac452105b6ca6a3ac65d11f81f1becc85fe3d03ecbab5cd8983", + "execution/checkout/F3-global-unoptimized.json": "a96a5e7742422a9d7c103eb455ab217d4c8bc3c236de86bb384dcd5f8eafb996", + "execution/checkout/F4-same-no-dependency-unoptimized.json": "5d5e8e10a8663649b5b9a16ce54742df18e3b1e0850853061bb4a318d9bddc13", + "execution/checkout/F3-global-optimized.json": "09d226a140ad26f217ad6c836ef2427d7c1a59d921fa8d75be483bdff79bf297", + "execution/checkout/F5-scene-alias-unoptimized.json": "749cd435ef892876b2adae7ace9cd224db80e8f264edd978bc61f9195d64dcbf", + "execution/checkout/F5-shopvisit-unoptimized.json": "d182fbb88e70acc31bb2180424e1e3dac500b2841863da502d9f95cddacbfd67", + "execution/checkout/F5-scene-optimized.json": "fb5bdb9ca96782a0c7901e0189ca65118b87ac95729c12f2a3806ea94ca2df4b", + "execution/checkout/runtime-trap-control-optimized.json": "c17685962669811507da7d86e2c8f7c3492dccfdd711497821222cdbe7743fb6", + "execution/checkout/F2-expression-unoptimized.json": "2fbe98860bdb8bde5c346f06b41165837badc39b21b6bf2b9e6f799692f866d3", + "execution/checkout/F3-global-local-optimized.json": "978fc1f05371c839285d0a594c9855c080cd22bf0053926408056811702ea6e4", + "execution/checkout/F3-service-unoptimized.json": "258104d7e6c475d6d11678ff856936647f350d2d9e0f01df2e5fbb6083d157a3", + "execution/checkout/F1-two-calls-unoptimized.json": "92fc7c3638ad2ac1b23dac55e80c4f3d9f5ca724f70a597ebde086aee89a79f3", + "execution/checkout/F5-scene-unoptimized.json": "40724083cf1fc326d91634bddee6d8a7f7754a98f916a5bc21c4577d6dbfde5d", + "execution/checkout/F2-arguments-unoptimized.json": "01c3e15a7fca6572e2a9089b3a80097f2d73f75f28d1e08e959b3932bbc8f202", + "execution/checkout/F1-service-this-unoptimized.json": "e38abab1fe7df8424f7b2637269872a87bc701d1704dde5331f8d565f93a283c", + "execution/checkout/F5-shopvisit-optimized.json": "7d15a8663b9b109ff576956bb5b3c4a0dece8a912dcd2b86e5635c4d1d87e1b0", + "execution/checkout/F2-locals-optimized.json": "5143d0822a1e21e20c037a5908ccc4692d28065a9c75061d6d2c8ae00f7dbc28", + "execution/checkout/F1-service-local-optimized.json": "7c443d510cc8e0109383f331f1033ba9e35d86280a9cfbcc407ab61a21d41265", + "execution/checkout/F1-condition-unoptimized.json": "61e0669e39eca8b5ab24224bb90cc4d8e058ea685f95b841d7d5aac27cc34ba6", + "execution/checkout/F3-function-unoptimized.json": "b06d1da88645daf4c0d6107cc9ca6caaf50ce0d221266cd6688dc2af04eebd96", + "execution/checkout/F4-same-dependency-unoptimized.json": "90612e4d6815b374dbe1490509e18b8963584ed3d2c3f16e1fad3bbfa04a46bc", + "execution/checkout/F1-local-unoptimized.json": "570cffa9202cdd575545a671f18a4e55c85f2ceca9bb363155d09ec0e1dce319", + "execution/checkout/F1-service-local-unoptimized.json": "2f25c574b7940a405f920659fcbc2e08fcb96f85b605c142d2673218c3f8173c", + "execution/checkout/F3-service-optimized.json": "7ea8b1d2ba77c8ef99b00a0427b873ac6523d970bae4d18e389034a09133ef71", + "execution/checkout/F4-same-direct-unoptimized.json": "c0c6ea3db6a82ebc2799315193d040e0cfdc697fb1e7d5e14be15559f43b91d5", + "execution/checkout/F1-direct-optimized.json": "7bea6d7d275d89ac4357d9433a7bcf856d23377b6eba6562bf04e93bef5efe8f", + "execution/checkout/F1-local-optimized.json": "c1ad8e40c2c54d9492a14a5f01f940aac64950ef2462d15ee5b81bc9ad8b4067", + "execution/checkout/F4-rename-a-unoptimized.json": "578f4d8cff5435dca2d03aed2c8edd4a79a8a76989ac2910aa978c04507af36b", + "execution/checkout/F1-two-calls-optimized.json": "0f85b0e225c09a17486486d1ae55b1eff0642e8e79f63d7c461b7ceb21667a95", + "compilation/installed/F2-locals-unoptimized.json": "56762f9f1ddef6f02045606321e5f2d46406fe2e305de19368ed85f6e7396383", + "compilation/installed/F1-condition-optimized.json": "fe0c0729e27f14dcf50f0f79a06591641470a13fae33fbb9e3cf6d520764c7d4", + "compilation/installed/F3-file-private-unoptimized.json": "9f78df7b03248c5d8109c20a48489f4a2ddb79b8f57be2967f604eea1962dc2d", + "compilation/installed/F3-service-local-optimized.json": "ec5335a5829a23840c697e4875f254b30cac645c4bef82a76d790e6318ec7f07", + "compilation/installed/F2-struct-method-unoptimized.json": "02d7f2969fa9836af0bb16bae26a930b88d55c6deb256d61f563aa1ecb986623", + "compilation/installed/F4-same-dependency-optimized.json": "e120632d23aba938b241e85439961717f3e7c9abcbd89dc4e3dc226bf071c35f", + "compilation/installed/F3-service-local-optimized-public.json": "0e991852810528fbea44159d43025a757554e8516cefeb36365c6de51de576e0", + "compilation/installed/F4-same-no-dependency-optimized.json": "4f05f8226e00cd95a953736b3ac611ffccc21eb82364a961dddcabae4e19e4cd", + "compilation/installed/F2-arguments-optimized-public.json": "44cffc2444397ee9d6ee440eeffef2cd86dbab19b034a9f4c6965bce55f726ac", + "compilation/installed/F1-local-optimized-public.json": "65a087a4af40609071f45b558674877df0364440ffb19cca3870dea6a2e16d1d", + "compilation/installed/runtime-trap-control-unoptimized.json": "9ad6b613ed7cb75510920dd4a5a13b2d151adba17ed845d919779f908bd96c83", + "compilation/installed/F4-distinct-unoptimized.json": "3936dbad075ec8a0fa6f8cbdcba7394cd7315d37cdf2f3198d14c0360b8b9793", + "compilation/installed/F2-arguments-optimized.json": "ff24943481b5fab0177d091ea6c44a55a895abb248fedbc0faa3489e0674586f", + "compilation/installed/F4-distinct-optimized-public.json": "9bb3588173516ce856aae72cdf3646d9873a2c361c12eea69863be3aab926949", + "compilation/installed/F4-public-aliases-optimized-public.json": "1f38614f0d9e35ffcf7796db7e4cf20ee18d3d99d606900fda01e66703791436", + "compilation/installed/F3-function-optimized.json": "62240d16115c995f361aa2e70042f9918d94839ec062accd5ba0f92336f0f247", + "compilation/installed/F3-single-file-unoptimized.json": "f0f759ba6ac7d0708093185f08f3bc67cb551c8468a8fdfee8f110c74d3b6726", + "compilation/installed/F5-scene-alias-optimized.json": "ebedc9a4fba7479cdcfa13872a8ace0639163a5994a31e049456b115eb77b76e", + "compilation/installed/F2-locals-optimized-public.json": "c258fdc1569f5c4dfe45fdb822f5ca42171db03c75c2ee4da8a567587caed987", + "compilation/installed/F2-struct-method-optimized-public.json": "211a3cf5d7e4f5510fd94e771320766906a40b060075430248e047b668f8bea9", + "compilation/installed/F1-two-calls-optimized-public.json": "02ee55c5669a3e93ab28cd66cde0bc517626ffa17c80e01f2a372c0e53db6fa9", + "compilation/installed/F1-service-this-optimized.json": "b1efcf587bf0b808e6a7e12537f214d835ac2b585d94cf646aecb68dc235dce3", + "compilation/installed/F4-rename-a-optimized.json": "b4ffed50464566651b49cc1087dfaa2e6c302aaca73dcd77c92d96137ea1af3c", + "compilation/installed/F4-distinct-optimized.json": "f3a54677f23275ccf9c297d3e8075749c1e625b84d4e23717e1f21cc4bec08ca", + "compilation/installed/F4-same-direct-optimized.json": "0424354235f2168e41c4321ce562ac40f6ef225315d595b16426768d5b8d37d5", + "compilation/installed/F3-global-optimized-public.json": "18d722dfc5c174f887dea39bdbf2b9088f59db002eb1d46e5838240e4da5c105", + "compilation/installed/F1-direct-unoptimized.json": "0b24e33b75294cb53e7aa447654dd168eb72363ad39df058bf44b31fb423fba2", + "compilation/installed/F2-expression-optimized.json": "6952b62ee3318d9f4aaa8b60b0132c5286e1aedbdce84853a61a007593991a84", + "compilation/installed/F4-rename-a-optimized-public.json": "96ee7820ec151a5cfe9436b9d706a8618c65c3037baec2c35d4c7d6a500f7955", + "compilation/installed/F5-scene-positional-optimized.json": "e5569642f034a748fe09a1fb2bafadc916204a99e0a7845f8d1bbd861c5b516c", + "compilation/installed/F3-single-file-optimized.json": "99b0136a521e6bfb399bf6851f905af9498a61f8faf00df84f50e064715a2c0c", + "compilation/installed/F3-global-local-unoptimized.json": "1b80db12ddf52628fcec2a10c60a744ca0972df8b5d4107bdfe52f28ee1d5784", + "compilation/installed/F4-same-direct-optimized-public.json": "94ec65f210bb8bb6e577ece3b834191fbe92026b57e0d09cf59061930811e4ca", + "compilation/installed/F4-public-aliases-optimized.json": "7724cb856ee14b647dacda21ad36e82a9c80baf08cb512ff2b06aa7ada36132e", + "compilation/installed/F5-scene-alias-optimized-public.json": "764744755853769364a74c30fc103d04d68363f18fb71e22b2003eb7fdde1ab9", + "compilation/installed/F3-file-private-optimized-public.json": "28088b71ffab5043155ba4734099adc4cb6185098401d2ab922ed51444dfc4d0", + "compilation/installed/F4-public-aliases-unoptimized.json": "0bf7f4c2f013d46263a638bb9e1af0e049c966cb54d7ef2490820551b762cea5", + "compilation/installed/F5-scene-positional-unoptimized.json": "4ddd54d8b27cf37d5710e5fb74ae9a528673b94bef9df9f94d7c7a56ab0330b1", + "compilation/installed/F3-service-local-unoptimized.json": "535592db545b83edcaab392923a0057ca19608fdcdf39f0e3c4c197a3b5346ab", + "compilation/installed/F4-same-no-dependency-optimized-public.json": "901f3825d90bf04cb96a2767ee5ba965a5dfc59c4cd162e00b466015202e2ef1", + "compilation/installed/F2-struct-method-optimized.json": "b4a537bdff7479fa00cefb5a547ab0dba57649a3c011a9f08c59f5ca6eb097bf", + "compilation/installed/F3-global-unoptimized.json": "8bc462422b1b5b8aef467e59693bd16346575c19ddaed141047fc773270c1d7a", + "compilation/installed/F4-same-no-dependency-unoptimized.json": "7d98612dbd0a2a571c9be361baa84d298ee4544b466cf5660c3a40bcc2205b1e", + "compilation/installed/F3-global-optimized.json": "eec1c28f9f8d81a0ca5c2f261bd47c36d86a607470f7ec0f13c71f7a25d4bcb9", + "compilation/installed/F5-scene-alias-unoptimized.json": "745be031060808d7e631bd34dbdd01625d6b0deee5ede55b27fda28febee430f", + "compilation/installed/F5-shopvisit-unoptimized.json": "caf98826455069a676616c662ac32b8c05691b5a6b1be0badbc442130b4a9618", + "compilation/installed/F5-scene-optimized.json": "0276b9d4f805603b6505b2d9462c2925b6b366332418c2a6d280d01ef0bbc8db", + "compilation/installed/runtime-trap-control-optimized.json": "c3fdae3e6ebe8fbff7f27bcb1c58b6af440c935df0be537322954268cd6e6ee5", + "compilation/installed/F1-direct-optimized-public.json": "e5f4120f199dca288964f13c9a3b7e6751ac51bcc82d97866f4c7ab511720cb0", + "compilation/installed/F2-expression-optimized-public.json": "7e2bae3cd3ffae642c4f2db80893fe2c2958a712d47ed01a446c909ae2daf357", + "compilation/installed/F2-expression-unoptimized.json": "bb77517a0ca5b44d65d93b20cf8ea97d12e1733e59b0ddd21e093660cc9b0b7b", + "compilation/installed/F3-global-local-optimized.json": "d8922e91bc9833030892262b2b26f0a0852c4dc1ffa53604674d844daa02a936", + "compilation/installed/F3-service-unoptimized.json": "78795bb7d7257aea3b7ef49055a2d66c8330d64277a699af54e25c82ae31c16c", + "compilation/installed/F1-two-calls-unoptimized.json": "c8022ec700d1aab96bb8cbbd6b90c26f179ba29abf0935006363dfcd6c46f565", + "compilation/installed/F3-service-optimized-public.json": "0a976b700c38078b0440f6e5a74e24a130623da6f2e1319a35b01a4d93cb8306", + "compilation/installed/F5-scene-unoptimized.json": "54f031b472a8c203d3e28f6c317d1988560f44f881cf172ffc07a177ca63f4ba", + "compilation/installed/F2-arguments-unoptimized.json": "8c7916f6dcaeda7116f32605edc6cc8e87141354617f911b96255bb6c3218e72", + "compilation/installed/runtime-trap-control-optimized-public.json": "8c9e2be4fea37f99b1feef8907d0cd2ca25f3ead35e895132127cd76e0b651b7", + "compilation/installed/F1-condition-optimized-public.json": "2a3c10fcdca0bca53cc15bd1d4d81c5265d09d8850b5c07404d8eb933bc038ca", + "compilation/installed/F1-service-local-optimized-public.json": "a99b171ae2c6a3b34708d7340daeb25c15d8a67f1149d0dc6616d3f7911e845c", + "compilation/installed/F1-service-this-unoptimized.json": "b1cc320e1414149a05f30aef7f01deac5e9ef79261a5e8676e2105f86a1536af", + "compilation/installed/F5-shopvisit-optimized.json": "597156ccf838dedb5db7497f9fe2942420edce9c277a6af78d589cbc6313058e", + "compilation/installed/F2-locals-optimized.json": "662780ee19c3af0a995608a27d16c243c215ff13caa47f40601f08c4fc102c9f", + "compilation/installed/F3-file-private-optimized.json": "be22c8bc51df85ddb549bf951ed23a5038f1911b57d0ef4ab01ec81244ef76f2", + "compilation/installed/F1-service-local-optimized.json": "74c6226b6d645db8c0966a275989920d618971d404a261d921e1f50307f20db7", + "compilation/installed/F1-service-this-optimized-public.json": "53884e9b550db1ad3bfc84363a0b602da0a487fe98089fd1046dd4421555f3b9", + "compilation/installed/F1-condition-unoptimized.json": "04ead9227339942b2842d8d12d229594b59cafda8347ef10b6486c9b2316a337", + "compilation/installed/F3-function-optimized-public.json": "4eafc0c40be3aed6ee38aceaa10a99fc5b557823c7c69b66ff5aa5a6d08b07e3", + "compilation/installed/F5-scene-optimized-public.json": "4a182a965326e187b0528e6512c0ce512babe7b7728810e73b06cac2df9ac99e", + "compilation/installed/F3-function-unoptimized.json": "0d8af7d731c3edc48082378ab63799378e15cfbd524a3e51508d8a9e3cb084f0", + "compilation/installed/F4-same-dependency-unoptimized.json": "c136ffd0005889b3421139944f387a8e52dce611ff10a5096fb56ada840c4407", + "compilation/installed/F4-same-dependency-optimized-public.json": "7a8f0a0f96a0e0a9bd7e91886424ab0614f14a0dabb8eaecaa6645f16cc99556", + "compilation/installed/F5-scene-positional-optimized-public.json": "d78a95f7fe4c5c8f3ff2b366596497901432c384b04cb32733e07ea5f2e787f9", + "compilation/installed/F1-local-unoptimized.json": "8016ba09f76219c3e571919c28438afc7843eaf4e4bd0752fe56403a14e90b73", + "compilation/installed/F1-service-local-unoptimized.json": "b23af4427d85d28f4a30cde09e9b2c39010e9c622aa04a7a34663fd747ee30bf", + "compilation/installed/F3-service-optimized.json": "fd75e566a8f76514b55988510791637eb484ddb8e9b961363555e136bb340043", + "compilation/installed/F4-same-direct-unoptimized.json": "42df78af8b3b7a429f45985951cf65b8b83f88cb9ac2358ac2b0dfdc842bb4cd", + "compilation/installed/F3-global-local-optimized-public.json": "75bd02890eabad638f53be570111b56c54233ec97e29d5254820a0cd573fbc72", + "compilation/installed/F1-direct-optimized.json": "29daf1b1bce84c04de5e6251721a48133689123160ed37d7de34f9f62a19964d", + "compilation/installed/F1-local-optimized.json": "26432433f49d0f348959c40c58d98967b6120cbef2b55a4b20882a83e5121e1f", + "compilation/installed/F4-rename-a-unoptimized.json": "23b062abdaa29aa5027288be62a371cbee9df0ea3e9e157574f1f8defe3b04f6", + "compilation/installed/F5-shopvisit-optimized-public.json": "97b6a9a31ec96992402cbff809e97ece777e94636e379fd5f95a3396e7574546", + "compilation/installed/F3-single-file-optimized-public.json": "202e7fbd848db4d771bec7e42bdbc2baae7a8cef9acf87df92d51c1e09f5204e", + "compilation/installed/F1-two-calls-optimized.json": "b81ae333c966b0cded905289ed1e946d992b3c6911d5f9226a19c39c67d33151", + "compilation/checkout/F2-locals-unoptimized.json": "ca80bfc26a9e9c2c68434644b2795e327c9477e66d2ab405e81b9d3c9630961b", + "compilation/checkout/F1-condition-optimized.json": "4e04b33819ec6f9a604f0f74fcf8d9d623788ca60d0c415400879f096a6efad9", + "compilation/checkout/F3-file-private-unoptimized.json": "608e82a16183341be53426839642726df5c7eab3408d2b87aed6d9c13e3b040b", + "compilation/checkout/F3-service-local-optimized.json": "e0db24d81f4520517f157a8613917917e3460ae173647d82ba4921402db4150d", + "compilation/checkout/F2-struct-method-unoptimized.json": "dcc066a1d772959ddac4fcfc72cd54c9a04e3e570c6e03888d6602d2e0f0982d", + "compilation/checkout/F4-same-dependency-optimized.json": "f464706024e14f8f2445d53dedf21e3c34b84440f1fc6dc6f70c80857f4cb0b2", + "compilation/checkout/F3-service-local-optimized-public.json": "85b9e168e54d2f97778c713a2173201b52656245a014c40341fe8423a496f639", + "compilation/checkout/F4-same-no-dependency-optimized.json": "73a14b00188e55a4601eb7b66cb6272b24fadd853b77b8f44f4dba562e83dc95", + "compilation/checkout/F2-arguments-optimized-public.json": "5908eda9435622ca2b6c6529c4e1b18e4d71e9ab749e268b7ec06c1e2e4f63b0", + "compilation/checkout/F1-local-optimized-public.json": "570e7b7702e378fd6a94d3c359cede3720bf7fa7f0d0aafb1321b8a5256841ac", + "compilation/checkout/runtime-trap-control-unoptimized.json": "90fa9e8dad14053bd4681a5155dc351c2b0e017e388c7167b70a17a087a06d8b", + "compilation/checkout/F4-distinct-unoptimized.json": "e14adbe8e7c226986e13ea023a827343b78b8a7d48e01efeb41cb7c2124885fc", + "compilation/checkout/F2-arguments-optimized.json": "04ad91e32b23e46f00ef7f5803b228f73d7e594029db0b53551e2f76681dee53", + "compilation/checkout/F4-distinct-optimized-public.json": "82691196a1ee0da59b76980503080720da7bfe25c2887ddd09abff257c0a0e11", + "compilation/checkout/F4-public-aliases-optimized-public.json": "740c13b3f03b501408ca7f08c0437d5806dea93c2153785a269f3fdf1205e378", + "compilation/checkout/F3-function-optimized.json": "2ac7755aaab464ac5a3c32ed866fccba799238b2c7f138ab0dca62cb018b423c", + "compilation/checkout/F3-single-file-unoptimized.json": "42136b3e187b8723c288377443bbba3da9f38a5a7f10003c1fa6596f8d46bf7f", + "compilation/checkout/F5-scene-alias-optimized.json": "d69db9fd47b23109d2b7138c1c47bac65332c8f19ceb0106fc61432a17d8346e", + "compilation/checkout/F2-locals-optimized-public.json": "598644e83f869e76578986f8f07395e28f75a0d4fc75ffab592062509225bbca", + "compilation/checkout/F2-struct-method-optimized-public.json": "a29db2315d1d1fcd6f93fc5568bd6f4f165d08b59a58738b1cc8e674f3b55e82", + "compilation/checkout/F1-two-calls-optimized-public.json": "75da952592cfe045c30550b18388dd3fe381f5b09e2d1705010c699ad9608e80", + "compilation/checkout/F1-service-this-optimized.json": "2100ab4f5241561dea6e7c23eacc87590e332a651e5298d0af522e9fd2010c55", + "compilation/checkout/F4-rename-a-optimized.json": "e78c1ceffa86123af6502e84e9c77989f31b95faa3f324aaaa8771721b1b2715", + "compilation/checkout/F4-distinct-optimized.json": "6e735084fa03f2b0d53497507e31a734b0f550a28870ae85e3599ce102a104d1", + "compilation/checkout/F4-same-direct-optimized.json": "eebab2f46f8aaa71d16b429b9c7d8443c3535ebfd9fad1ed026dca3a224bd2f5", + "compilation/checkout/F3-global-optimized-public.json": "9b6e5f28fd604aa9ea3ac641ab30e1543b65a0da7da6a624386009b67129b63a", + "compilation/checkout/F1-direct-unoptimized.json": "12a36beb8a2b47b80b724194d014f64cdc2ed345e8136751b7c8ecede79c7541", + "compilation/checkout/F2-expression-optimized.json": "591432e48d3db5e4e8d76772ad3fc943788f9e5fa8e6e3f0c345b9817958e5ca", + "compilation/checkout/F4-rename-a-optimized-public.json": "a89fc96378020ea000fafa1d67fb4bc0accd404b7b35728dccea1972b805421a", + "compilation/checkout/F5-scene-positional-optimized.json": "955064b12a41455db8538c1c8f4c4d0fde18cea67fb4e146f2f20c0be12422bf", + "compilation/checkout/F3-single-file-optimized.json": "f35cf499340f8c0acb173f4d465efe77660c1f36880257786e1bf1b13591cf21", + "compilation/checkout/F3-global-local-unoptimized.json": "4a8912e508717b4b8c2dde455c7d146d2b2fb43a7fc45be2bd3e93b5ca3366bb", + "compilation/checkout/F4-same-direct-optimized-public.json": "a7c2f0ec23c708ff8db4ef1df66e140c65c3dd93b16d15fa2ae4a500415568ce", + "compilation/checkout/F4-public-aliases-optimized.json": "e3aafd7d3c8bf9fc97f4f23d50316c8f0a1196793a5f7b8430adc82a2c941140", + "compilation/checkout/F5-scene-alias-optimized-public.json": "5c2ac3c3b3eaaf77e7e98f89acb28a20ca9ac19a14132a92b09a384d00877f01", + "compilation/checkout/F3-file-private-optimized-public.json": "b10f3657d00e8704666fdeeb13136b7de9833c6453fd4da1bc54e14e6d0ba908", + "compilation/checkout/F4-public-aliases-unoptimized.json": "695662fb124619a71ed71846c01aca2ffc90b2eaffc914a604c304e9c39ba580", + "compilation/checkout/F5-scene-positional-unoptimized.json": "7cbe5f2193376aa29c6502eb0eda1560420d587e45f5b45b2959305de04874c6", + "compilation/checkout/F3-service-local-unoptimized.json": "e5c55f78dce6028df9636de37c25e793e4d8968e2a5af03b7c9d58e4bb69f1b4", + "compilation/checkout/F4-same-no-dependency-optimized-public.json": "cacf0969df963a866217773abaad54117372b39cf11b61105e6bcb5433944e29", + "compilation/checkout/F2-struct-method-optimized.json": "c13c1927c28f7d59d32c0a4ebb6ee06ca443f19e715e3286e5b0733920e882b2", + "compilation/checkout/F3-global-unoptimized.json": "a68436ce9f3f4e2ca36465aec04ef11de26a53db092746fcc826cc6a35e8cb65", + "compilation/checkout/F4-same-no-dependency-unoptimized.json": "63b450943f9c49ba3551cb7c78d0e93704795c16ae60177804dbb8db7e8b3e87", + "compilation/checkout/F3-global-optimized.json": "80c6dfafa17ca583cf18f7bffe50484295a6a29545fd0080905495ea80a31c30", + "compilation/checkout/F5-scene-alias-unoptimized.json": "7026640e0aae05f2fac74703d3785779e1f9c2cf3f654b3ecc8d50bc766d4913", + "compilation/checkout/F5-shopvisit-unoptimized.json": "fba10f4e0ebcc37b4dd1cf9173da93fac3b311940889c3b73423feaafd4016a7", + "compilation/checkout/F5-scene-optimized.json": "16ec26183c0f6ba1caf710e7660761d37d994871aabd92a59758de1f446954da", + "compilation/checkout/runtime-trap-control-optimized.json": "6555f85ec79eec2f184e1b8addf3f9778999c3605cafbf99dc809922e9508f64", + "compilation/checkout/F1-direct-optimized-public.json": "bef45d00d4a7e794104234fa12d6f0bc99262b8d0b460367ebb98c8d24abc4d8", + "compilation/checkout/F2-expression-optimized-public.json": "2e791402e317b38fb6eac8c675b6bd54cfde17e79619ba5b166b27801d6f3f5b", + "compilation/checkout/F2-expression-unoptimized.json": "644495135b438292c591eb8570f1b99f286bf8d15ef1ce0e8e36f5c8075c634c", + "compilation/checkout/F3-global-local-optimized.json": "82df11e9b9f585744186929b8c742a6971fa3596cb09fb0ddc30f2c984d0ebc9", + "compilation/checkout/F3-service-unoptimized.json": "48fd21d9b77c2168d627936ff228be67626a258ebf431463d68e94cab1b06cdd", + "compilation/checkout/F1-two-calls-unoptimized.json": "e9a2c7bac5069acf047e13fed5ebf9f489ed0c5171f7cc129e78bc718e34f01b", + "compilation/checkout/F3-service-optimized-public.json": "2d5290d7ae3080f7818310ab17d29b168c7461710e497d6191826e231345dea9", + "compilation/checkout/F5-scene-unoptimized.json": "7757aca3e7616384fd64ff92751ea0f7ce57126e458fdcb1a8a7dc0cbc89c17d", + "compilation/checkout/F2-arguments-unoptimized.json": "f4bca5dbd203fa4848a5fde8c10d3aeee8267c3571371e637cfa22ba8193d0c6", + "compilation/checkout/runtime-trap-control-optimized-public.json": "dafcff53d88b0c50ac36e7eafee3713b8806894428cf3ca4e9226323710dd4c2", + "compilation/checkout/F1-condition-optimized-public.json": "e3975867b9733f53effb3f24d31a647f3383eb2e07e91287889332997abe34fc", + "compilation/checkout/F1-service-local-optimized-public.json": "165652eb32c9031e79c6c09daac98bec40f033974fd46ce0eda2a1fa6a81f732", + "compilation/checkout/F1-service-this-unoptimized.json": "3aff0549da17dd0bdc8bac9bb8ad9066f184314bcd74f8e8594cb06a93c30821", + "compilation/checkout/F5-shopvisit-optimized.json": "e198532f7f7e1cf5c5bedbcf2c5173d94680195776c1f748e008abe5825249ea", + "compilation/checkout/F2-locals-optimized.json": "ae52aac9e5c18920b80af79f86a338a5b078e035988fd661a8c363eb736db9d2", + "compilation/checkout/F3-file-private-optimized.json": "e75fbfcc1da75139ef3710925692625d13a93b3e20720d245aa0339fafca5ef3", + "compilation/checkout/F1-service-local-optimized.json": "45688ca7865389d1424af3ec7cef4d06375b171d9b4dd227349b4f5f3bbf4aee", + "compilation/checkout/F1-service-this-optimized-public.json": "7c9b8c2b6ea88959623ee38a50a2787d984d8d29850a84f49fb94a8e15a47005", + "compilation/checkout/F1-condition-unoptimized.json": "821d8ed7d71aea5c323b4033ddb4de56403d402023376c9295dee920a11fd791", + "compilation/checkout/F3-function-optimized-public.json": "afb7561656d693bff3090b98da5f8aaada73c1b0342b8bf14527d2d1d9be3550", + "compilation/checkout/F5-scene-optimized-public.json": "9f175852db284b6818d6678d9fcb2bc36af109db3f968e10f08dfc95028c6287", + "compilation/checkout/F3-function-unoptimized.json": "c120c7f44642b1dbe4a79d70a1a521d6419b8469415d92e51ea7d9b4e1900708", + "compilation/checkout/F4-same-dependency-unoptimized.json": "bc68336a7bd3de006f09ea2e883cac7cdf5bdebb933ba106b7a8c8045ca387f1", + "compilation/checkout/F4-same-dependency-optimized-public.json": "c3c0ad3b4fda42b21a2633ad15953c4053d18471ba2d9a29a14251fd27998c90", + "compilation/checkout/F5-scene-positional-optimized-public.json": "1cb46410ff59b06d57d49ba76b132061d8dc7cfda732da9e3d2ffb089cfc6e29", + "compilation/checkout/F1-local-unoptimized.json": "9800c0f12587bdd1766d28142176bd12395d10694e77d4799113f5e1d579a098", + "compilation/checkout/F1-service-local-unoptimized.json": "aba8fc7e954e065921d2feb54dff5fa8c59fc611949fcd28c8951ffa6b7374ba", + "compilation/checkout/F3-service-optimized.json": "2f4bfd18a922bd150f30fc02fb3b2e044017c2e7a807015fd6c542888fad2139", + "compilation/checkout/F4-same-direct-unoptimized.json": "1a8363084a23abf44b1a602c7edcb702946c219e8c34de01d8dcfb447827f461", + "compilation/checkout/F3-global-local-optimized-public.json": "b6a3b1d69b99785d49a2435b1c2c2eb39ea74dd30bf7d0cfce62f8a4774b1a15", + "compilation/checkout/F1-direct-optimized.json": "fbb8f9eb5e6bfd94d95dfdc7fe4633875429d0d903a1e78a0b32f1bab5aaac09", + "compilation/checkout/F1-local-optimized.json": "30ea020b5b76430460ea0ab40cae6e9225b41e596d984e5a67b8b92f3126d71b", + "compilation/checkout/F4-rename-a-unoptimized.json": "b176159ebfd3add4eec501660e14632f9e4df96eeb185d6b9fd78a7755f37533", + "compilation/checkout/F5-shopvisit-optimized-public.json": "b3ba55464be8cf03b789c2a790817347a0ceb36063e4311478b9a905aa19dbcf", + "compilation/checkout/F3-single-file-optimized-public.json": "bc7291c7dbb4662b615a0490a7bc3c7f0609bcf15d48353898695f8ae04786bd", + "compilation/checkout/F1-two-calls-optimized.json": "8359ca61ee619d4132628faa7ba4f0f1a98635869c233112dc7360a42ff38e2e" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-optimized-public.json new file mode 100644 index 00000000..6492de7c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-optimized-public.json @@ -0,0 +1,142 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized-public/cartridge", + "bytecodeBytes": 1176, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1729c18f70ccced4337ad021a12b7ea00332c0029ba81174fb4fe651c68d8be0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-condition", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-optimized.json new file mode 100644 index 00000000..9c80a45a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-optimized.json @@ -0,0 +1,171 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized/cartridge", + "bytecodeBytes": 1176, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1729c18f70ccced4337ad021a12b7ea00332c0029ba81174fb4fe651c68d8be0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-condition", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-unoptimized.json new file mode 100644 index 00000000..c5ec7fe9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-condition-unoptimized.json @@ -0,0 +1,166 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/unoptimized/cartridge", + "bytecodeBytes": 1198, + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@45efd90f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1729c18f70ccced4337ad021a12b7ea00332c0029ba81174fb4fe651c68d8be0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-condition", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-optimized-public.json new file mode 100644 index 00000000..2a4cb0e1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-optimized-public.json @@ -0,0 +1,152 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized-public/cartridge", + "bytecodeBytes": 1287, + "bytecodeSha256": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,147]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[156,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-direct", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-optimized.json new file mode 100644 index 00000000..91f19ff3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-optimized.json @@ -0,0 +1,181 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized/cartridge", + "bytecodeBytes": 1287, + "bytecodeSha256": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,147]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[156,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-direct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-unoptimized.json new file mode 100644 index 00000000..0a0f148a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-direct-unoptimized.json @@ -0,0 +1,176 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/unoptimized/cartridge", + "bytecodeBytes": 1309, + "bytecodeSha256": "d709189473a3cc1c9ff1bb4a0887bd51bafddabf129a02d876a02e37056ff566", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,147]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[156,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-direct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-optimized-public.json new file mode 100644 index 00000000..2ec9d532 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-optimized-public.json @@ -0,0 +1,154 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized-public/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-local", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-optimized.json new file mode 100644 index 00000000..f9af356d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-optimized.json @@ -0,0 +1,183 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-unoptimized.json new file mode 100644 index 00000000..bef263c6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-local-unoptimized.json @@ -0,0 +1,178 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/unoptimized/cartridge", + "bytecodeBytes": 1353, + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-optimized-public.json new file mode 100644 index 00000000..94dc4570 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-optimized-public.json @@ -0,0 +1,147 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized-public/cartridge", + "bytecodeBytes": 1310, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6dd7b5a3, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3187b0, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@44be0077, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "86e6a7f326c962b8b582a44d7630da95efb6d383746958eff8548b7de55212b6", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-optimized.json new file mode 100644 index 00000000..db5aa823 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-optimized.json @@ -0,0 +1,176 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized/cartridge", + "bytecodeBytes": 1310, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6dd7b5a3, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3187b0, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@44be0077, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "86e6a7f326c962b8b582a44d7630da95efb6d383746958eff8548b7de55212b6", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-unoptimized.json new file mode 100644 index 00000000..ac77f1c8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-local-unoptimized.json @@ -0,0 +1,171 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/unoptimized/cartridge", + "bytecodeBytes": 1332, + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6dd7b5a3, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3187b0, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@44be0077, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "86e6a7f326c962b8b582a44d7630da95efb6d383746958eff8548b7de55212b6", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-optimized-public.json new file mode 100644 index 00000000..2ee8d1e8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-optimized-public.json @@ -0,0 +1,145 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized-public/cartridge", + "bytecodeBytes": 1266, + "bytecodeSha256": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6dd7b5a3, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3187b0, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@44be0077, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[113,174] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-optimized.json new file mode 100644 index 00000000..c8775ac6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-optimized.json @@ -0,0 +1,174 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized/cartridge", + "bytecodeBytes": 1266, + "bytecodeSha256": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6dd7b5a3, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3187b0, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@44be0077, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[113,174] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-unoptimized.json new file mode 100644 index 00000000..3691db93 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-service-this-unoptimized.json @@ -0,0 +1,169 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/unoptimized/cartridge", + "bytecodeBytes": 1288, + "bytecodeSha256": "8341bab19d4943a8d414b3c2ef7ba4552bd05c7a93c9b0d8af555ee3bfbf9b39", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6dd7b5a3, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3187b0, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@44be0077, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f2cfe3f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[113,174] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-optimized-public.json new file mode 100644 index 00000000..26437a43 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-optimized-public.json @@ -0,0 +1,153 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized-public/cartridge", + "bytecodeBytes": 1309, + "bytecodeSha256": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,158]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[167,222] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-optimized.json new file mode 100644 index 00000000..3e7a518a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-optimized.json @@ -0,0 +1,182 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized/cartridge", + "bytecodeBytes": 1309, + "bytecodeSha256": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,158]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[167,222] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-unoptimized.json new file mode 100644 index 00000000..e390eccb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F1-two-calls-unoptimized.json @@ -0,0 +1,177 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/unoptimized/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "f910c0f6e31276cd7d4bff2cde54900820bc354e61759eb518e79b5ffccd3ec9", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@61710c6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dd6fd0a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,158]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[167,222] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-optimized-public.json new file mode 100644 index 00000000..97a4c7a3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-optimized-public.json @@ -0,0 +1,164 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized-public/cartridge", + "bytecodeBytes": 1516, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30b6ffe0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1e646, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ba8c737, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c3fdb62, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@205d38da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@189cbd7c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@609bcfb6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a39838f2cd524106253e20730ce9f12a410800fca472cb9983252a373efe79bd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-optimized.json new file mode 100644 index 00000000..c56e14cd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-optimized.json @@ -0,0 +1,193 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized/cartridge", + "bytecodeBytes": 1516, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30b6ffe0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1e646, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ba8c737, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c3fdb62, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@205d38da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@189cbd7c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@609bcfb6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a39838f2cd524106253e20730ce9f12a410800fca472cb9983252a373efe79bd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-unoptimized.json new file mode 100644 index 00000000..89e736bf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-arguments-unoptimized.json @@ -0,0 +1,188 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/unoptimized/cartridge", + "bytecodeBytes": 1538, + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30b6ffe0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1e646, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ba8c737, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c3fdb62, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@205d38da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@189cbd7c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@609bcfb6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a39838f2cd524106253e20730ce9f12a410800fca472cb9983252a373efe79bd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-optimized-public.json new file mode 100644 index 00000000..96bc1a5d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-optimized-public.json @@ -0,0 +1,166 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized-public/cartridge", + "bytecodeBytes": 1556, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30b6ffe0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1e646, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ba8c737, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c3fdb62, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@205d38da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@189cbd7c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@44be0077, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a4bb694225a11ab87f744eb3025b51855c052382f21ae26bb4a3bc4a4ab5d41f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-expression", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-optimized.json new file mode 100644 index 00000000..5edf762d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-optimized.json @@ -0,0 +1,195 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized/cartridge", + "bytecodeBytes": 1556, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30b6ffe0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1e646, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ba8c737, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c3fdb62, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@205d38da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@189cbd7c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@44be0077, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a4bb694225a11ab87f744eb3025b51855c052382f21ae26bb4a3bc4a4ab5d41f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-expression", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-unoptimized.json new file mode 100644 index 00000000..98372d7c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-expression-unoptimized.json @@ -0,0 +1,190 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/unoptimized/cartridge", + "bytecodeBytes": 1578, + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30b6ffe0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1e646, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ba8c737, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c3fdb62, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@205d38da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@189cbd7c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@44be0077, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a4bb694225a11ab87f744eb3025b51855c052382f21ae26bb4a3bc4a4ab5d41f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-expression", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-optimized-public.json new file mode 100644 index 00000000..a535da05 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-optimized-public.json @@ -0,0 +1,168 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized-public/cartridge", + "bytecodeBytes": 1604, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30b6ffe0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1e646, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ba8c737, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c3fdb62, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@205d38da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f3187b0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d1fbdb4746e09a526ffffe9bd6145dfb0939c5a7237f96e7c66bb4d97028e5ff", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-locals", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-optimized.json new file mode 100644 index 00000000..940f9fcd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-optimized.json @@ -0,0 +1,197 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized/cartridge", + "bytecodeBytes": 1604, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30b6ffe0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1e646, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ba8c737, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c3fdb62, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@205d38da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f3187b0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d1fbdb4746e09a526ffffe9bd6145dfb0939c5a7237f96e7c66bb4d97028e5ff", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-locals", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-unoptimized.json new file mode 100644 index 00000000..16a190f6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-locals-unoptimized.json @@ -0,0 +1,192 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/unoptimized/cartridge", + "bytecodeBytes": 1626, + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@50029372, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30b6ffe0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@cd1e646, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ba8c737, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c3fdb62, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@205d38da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f3187b0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@37911f88, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f4c4b1a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@19976a65, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d1fbdb4746e09a526ffffe9bd6145dfb0939c5a7237f96e7c66bb4d97028e5ff", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-locals", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-optimized-public.json new file mode 100644 index 00000000..9f680806 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-optimized-public.json @@ -0,0 +1,158 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized-public/cartridge", + "bytecodeBytes": 1431, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@239105a8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@239105a8, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@239105a8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b8729ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51a9ad5e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@352ff4da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e32ccc5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@651aed93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6736fa8d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@51a9ad5e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b7b20b0a1866f3225d1d1635a268c33a574ac50ada33caf31f76dcd3eee5261", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-optimized.json new file mode 100644 index 00000000..40cf04b7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-optimized.json @@ -0,0 +1,187 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized/cartridge", + "bytecodeBytes": 1431, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@239105a8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@239105a8, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@239105a8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b8729ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51a9ad5e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@352ff4da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e32ccc5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@651aed93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6736fa8d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@51a9ad5e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b7b20b0a1866f3225d1d1635a268c33a574ac50ada33caf31f76dcd3eee5261", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-unoptimized.json new file mode 100644 index 00000000..10d64665 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F2-struct-method-unoptimized.json @@ -0,0 +1,182 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/unoptimized/cartridge", + "bytecodeBytes": 1453, + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@239105a8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@239105a8, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@239105a8, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b8729ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51a9ad5e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@352ff4da, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e32ccc5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@651aed93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6736fa8d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@51a9ad5e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47caedad, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b7b20b0a1866f3225d1d1635a268c33a574ac50ada33caf31f76dcd3eee5261", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-optimized-public.json new file mode 100644 index 00000000..539fb749 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-optimized-public.json @@ -0,0 +1,212 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "diagnostics": [ + { + "issueId": "83314227-fe34-4e36-95d8-73977a621995:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "increment", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "INT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 1, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public/src/main.pbs", + "fileId": 1, + "span": { + "start": 39, + "end": 48, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 48 + }, + "unit": "utf16" + }, + "revision": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=1:39-48] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "F3-file-private", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-optimized.json new file mode 100644 index 00000000..b7067d7c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-optimized.json @@ -0,0 +1,211 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "e76aea6e-5179-4c44-9b30-2a25c3972624:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "increment", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "INT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 1, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized/src/main.pbs", + "fileId": 1, + "span": { + "start": 39, + "end": 48, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 48 + }, + "unit": "utf16" + }, + "revision": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=1:39-48] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "F3-file-private", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-unoptimized.json new file mode 100644 index 00000000..1e94249b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-file-private-unoptimized.json @@ -0,0 +1,211 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "1b8761fc-acbb-4421-9930-de960d33ba99:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "increment", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "INT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 1, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized/src/main.pbs", + "fileId": 1, + "span": { + "start": 39, + "end": 48, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 48 + }, + "unit": "utf16" + }, + "revision": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-file-private/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=1:39-48] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "F3-file-private", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-optimized-public.json new file mode 100644 index 00000000..c006f91a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-optimized-public.json @@ -0,0 +1,128 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized-public/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e17553a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f6c5d8, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34b9f960, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fba3fc4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized-public/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "75e1c6fdd04fcb9c4501fe6994a427215ec53fd48d5c5eed2ff0ae4272a9147a", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,87] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-function", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-optimized.json new file mode 100644 index 00000000..45a4c631 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-optimized.json @@ -0,0 +1,157 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e17553a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f6c5d8, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34b9f960, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fba3fc4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "75e1c6fdd04fcb9c4501fe6994a427215ec53fd48d5c5eed2ff0ae4272a9147a", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,87] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-function", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-unoptimized.json new file mode 100644 index 00000000..088b04c0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-function-unoptimized.json @@ -0,0 +1,152 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized/cartridge", + "bytecodeBytes": 881, + "bytecodeSha256": "c098719dae70b95ba847e7813e5fa7c005f99337946d6e06f5e5fc4381051f79", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e17553a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f6c5d8, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34b9f960, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fba3fc4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "75e1c6fdd04fcb9c4501fe6994a427215ec53fd48d5c5eed2ff0ae4272a9147a", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,87] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-function", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-optimized-public.json new file mode 100644 index 00000000..8dea746d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-optimized-public.json @@ -0,0 +1,132 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized-public/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e25951c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5167f57d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ec9bd38, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@75c56eb9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bc222e, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@791d1f8b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2415fc55, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14f232c4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ec9bd38, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "35ba6c3b96ea8a42a3bac627a7da7c1b17187ee793df474674011cbb7c8e9cfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-optimized.json new file mode 100644 index 00000000..ed92da3a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-optimized.json @@ -0,0 +1,161 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e25951c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5167f57d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ec9bd38, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@75c56eb9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bc222e, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@791d1f8b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2415fc55, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14f232c4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ec9bd38, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "35ba6c3b96ea8a42a3bac627a7da7c1b17187ee793df474674011cbb7c8e9cfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-unoptimized.json new file mode 100644 index 00000000..8658da72 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-local-unoptimized.json @@ -0,0 +1,156 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/unoptimized/cartridge", + "bytecodeBytes": 1049, + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e25951c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5167f57d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ec9bd38, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@75c56eb9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bc222e, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@43015c69, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@19b89d4, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bbf6d0e, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@791d1f8b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2415fc55, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14f232c4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13bc8645, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@93081b6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1ec9bd38, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "35ba6c3b96ea8a42a3bac627a7da7c1b17187ee793df474674011cbb7c8e9cfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-optimized-public.json new file mode 100644 index 00000000..af6f6042 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-optimized-public.json @@ -0,0 +1,145 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized-public/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized-public/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189cbd7c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@239105a8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@609bcfb6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1863d2fe, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f81aa00, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f81aa00, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "3b489d6fc97278c0a20017438cb5f14468d62773fc502542712225607a87cb90", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,72] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-optimized.json new file mode 100644 index 00000000..9f3ea6a6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-optimized.json @@ -0,0 +1,174 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189cbd7c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@239105a8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@609bcfb6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1863d2fe, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f81aa00, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f81aa00, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "3b489d6fc97278c0a20017438cb5f14468d62773fc502542712225607a87cb90", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,72] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-unoptimized.json new file mode 100644 index 00000000..77555fdb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-global-unoptimized.json @@ -0,0 +1,169 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized/cartridge", + "bytecodeBytes": 1049, + "bytecodeSha256": "8ffa05f45c4a33784ca0bb524d4a6b7dfb527781c8ebb40b5d08df4fa7a6a22c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189cbd7c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7bf3a5d8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@239105a8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@609bcfb6, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23202fce, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1863d2fe, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f81aa00, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f81aa00, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "3b489d6fc97278c0a20017438cb5f14468d62773fc502542712225607a87cb90", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,72] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-optimized-public.json new file mode 100644 index 00000000..57398779 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-optimized-public.json @@ -0,0 +1,128 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized-public/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5a9082ef4fa26489e8ef25223a5076f238fca1ad7d0b75eacc76c5510e3f8b10", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-optimized.json new file mode 100644 index 00000000..29cc768f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-optimized.json @@ -0,0 +1,157 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5a9082ef4fa26489e8ef25223a5076f238fca1ad7d0b75eacc76c5510e3f8b10", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-unoptimized.json new file mode 100644 index 00000000..fc2d6eae --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-local-unoptimized.json @@ -0,0 +1,152 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/unoptimized/cartridge", + "bytecodeBytes": 1050, + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1890516e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@15a04efb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2663e964, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42e25b0b, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39b43d60, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2205a05d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e21e98f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cc4cdb9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@446a1e84, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5a9082ef4fa26489e8ef25223a5076f238fca1ad7d0b75eacc76c5510e3f8b10", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-optimized-public.json new file mode 100644 index 00000000..098a3b40 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-optimized-public.json @@ -0,0 +1,141 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized-public/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Helper.$instance", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5340477f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.value", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ddc6915, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c61a903, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@658c5a19, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized-public/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "f1dccf72135529a1f3af9a181db244535d37b0571b8179b3a1be3a1a4994e6af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "12fc30691f4148a7b9d23917b32b5820b75f893c334ce7005aeeb572908af36c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,89] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-optimized.json new file mode 100644 index 00000000..e431494a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-optimized.json @@ -0,0 +1,170 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Helper.$instance", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5340477f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.value", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ddc6915, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c61a903, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@658c5a19, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "f1dccf72135529a1f3af9a181db244535d37b0571b8179b3a1be3a1a4994e6af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "12fc30691f4148a7b9d23917b32b5820b75f893c334ce7005aeeb572908af36c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,89] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-unoptimized.json new file mode 100644 index 00000000..cabb36ab --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-service-unoptimized.json @@ -0,0 +1,165 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized/cartridge", + "bytecodeBytes": 1050, + "bytecodeSha256": "c568447b582b4839b65e1e7368f0d07b61bfaa038ba28d984434c8db6df7c64f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Helper.$instance", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5340477f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5340477f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.value", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1e4d3ce5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3ddc6915, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c61a903, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@658c5a19, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2657d4dd, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "f1dccf72135529a1f3af9a181db244535d37b0571b8179b3a1be3a1a4994e6af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "12fc30691f4148a7b9d23917b32b5820b75f893c334ce7005aeeb572908af36c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,89] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-optimized-public.json new file mode 100644 index 00000000..6411e2e0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-optimized-public.json @@ -0,0 +1,115 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized-public/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@478db956, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ca18a14, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c667f46, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f8e8894, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3cfdd820, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@928763c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bc222e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6531a794, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e17553a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3eb91815, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56dc1551, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@102cec62, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2f07a5b109ed463e25089c2ec1c8034e0965bbef00655b967ddcbad64cc93a69", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-optimized.json new file mode 100644 index 00000000..0b237ee0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-optimized.json @@ -0,0 +1,144 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@478db956, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ca18a14, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c667f46, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f8e8894, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3cfdd820, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@928763c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bc222e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6531a794, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e17553a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3eb91815, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56dc1551, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@102cec62, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2f07a5b109ed463e25089c2ec1c8034e0965bbef00655b967ddcbad64cc93a69", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-unoptimized.json new file mode 100644 index 00000000..a0c0d50f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F3-single-file-unoptimized.json @@ -0,0 +1,139 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/unoptimized/cartridge", + "bytecodeBytes": 881, + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7905a0b8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@478db956, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ca18a14, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c667f46, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f8e8894, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3cfdd820, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@928763c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bc222e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dc9b0f5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6531a794, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e17553a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3eb91815, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56dc1551, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@102cec62, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27912e3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20b2475a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2f07a5b109ed463e25089c2ec1c8034e0965bbef00655b967ddcbad64cc93a69", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-optimized-public.json new file mode 100644 index 00000000..b8a27771 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-optimized-public.json @@ -0,0 +1,332 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/cartridge", + "bytecodeBytes": 2746, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@398dada8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2049a9c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11bb571c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c51f34b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5495333e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e7a160, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@45a4b042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16b2bb0c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@9573584, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6057aebb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6853425f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@352c1b98, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@21129f1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a9f4771, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2b686e22ebaf401e70528c6e6f15f6951cb6d4a0c539b4686cf6760042514c24", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "4f6f664f20809a3a27c7f7abdbe8954c983bb11f7f95e57697426389882a4f16", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "e1f1f4682dcf962703fb8b85952c645d83c116f58bb07e2dd10bc972704b2a1d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "8f942aa58010ee4d00e537d6c692c204476d37cd7a4e48240fa515c68aacafa5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "70e91bdb1fe5082069709b41f27d279719a36dcadbd4c415fea24563cbff64af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "9f933a36e85421755ab583845dfeccb402a9fd88ec9157a13994905ae880d9cc", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-optimized.json new file mode 100644 index 00000000..99d20545 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-optimized.json @@ -0,0 +1,361 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/cartridge", + "bytecodeBytes": 2746, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@398dada8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2049a9c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11bb571c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c51f34b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5495333e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e7a160, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@45a4b042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16b2bb0c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@9573584, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6057aebb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6853425f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@352c1b98, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@21129f1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a9f4771, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2b686e22ebaf401e70528c6e6f15f6951cb6d4a0c539b4686cf6760042514c24", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "4f6f664f20809a3a27c7f7abdbe8954c983bb11f7f95e57697426389882a4f16", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "e1f1f4682dcf962703fb8b85952c645d83c116f58bb07e2dd10bc972704b2a1d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "8f942aa58010ee4d00e537d6c692c204476d37cd7a4e48240fa515c68aacafa5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "70e91bdb1fe5082069709b41f27d279719a36dcadbd4c415fea24563cbff64af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "9f933a36e85421755ab583845dfeccb402a9fd88ec9157a13994905ae880d9cc", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-unoptimized.json new file mode 100644 index 00000000..1fc97497 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-distinct-unoptimized.json @@ -0,0 +1,356 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/cartridge", + "bytecodeBytes": 2790, + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@398dada8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2049a9c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11bb571c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c51f34b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5495333e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e7a160, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@45a4b042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16b2bb0c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@9573584, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6057aebb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6853425f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@352c1b98, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@21129f1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a9f4771, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2b686e22ebaf401e70528c6e6f15f6951cb6d4a0c539b4686cf6760042514c24", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "4f6f664f20809a3a27c7f7abdbe8954c983bb11f7f95e57697426389882a4f16", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "e1f1f4682dcf962703fb8b85952c645d83c116f58bb07e2dd10bc972704b2a1d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "8f942aa58010ee4d00e537d6c692c204476d37cd7a4e48240fa515c68aacafa5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "70e91bdb1fe5082069709b41f27d279719a36dcadbd4c415fea24563cbff64af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "9f933a36e85421755ab583845dfeccb402a9fd88ec9157a13994905ae880d9cc", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-optimized-public.json new file mode 100644 index 00000000..647477f0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-optimized-public.json @@ -0,0 +1,228 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/cartridge", + "bytecodeBytes": 1897, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@23202fce, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@26df6e3a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4a3631f8, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14fa86ae, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42a15bdc, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68f1b17f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@44a59da3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cb502c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fbe37eb, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a47b187, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1205bd62, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ef27d7f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@490caf5f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6337c201, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d483de4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28d18df5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@934b6cb, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55cf0d14, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3b74ac8, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5e09d10289aadc3a996ab2c1055f36a8e877d465901992bb80af2526a45d5b75", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-optimized.json new file mode 100644 index 00000000..751dbcfd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-optimized.json @@ -0,0 +1,257 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/cartridge", + "bytecodeBytes": 1897, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@23202fce, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@26df6e3a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4a3631f8, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14fa86ae, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42a15bdc, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68f1b17f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@44a59da3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cb502c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fbe37eb, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a47b187, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1205bd62, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ef27d7f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@490caf5f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6337c201, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d483de4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28d18df5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@934b6cb, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55cf0d14, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3b74ac8, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5e09d10289aadc3a996ab2c1055f36a8e877d465901992bb80af2526a45d5b75", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-unoptimized.json new file mode 100644 index 00000000..c94b692f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-public-aliases-unoptimized.json @@ -0,0 +1,252 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/cartridge", + "bytecodeBytes": 1919, + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1df8b5b8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@23202fce, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b993c65, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@26df6e3a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4a3631f8, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b58b9e9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14fa86ae, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@42a15bdc, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@68f1b17f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@44a59da3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cb502c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fbe37eb, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a47b187, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1205bd62, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ef27d7f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@490caf5f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6337c201, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d483de4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28d18df5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@934b6cb, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@55cf0d14, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3b74ac8, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5e09d10289aadc3a996ab2c1055f36a8e877d465901992bb80af2526a45d5b75", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-optimized-public.json new file mode 100644 index 00000000..b9ddaa3b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-optimized-public.json @@ -0,0 +1,332 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/cartridge", + "bytecodeBytes": 2752, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@398dada8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2049a9c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11bb571c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c51f34b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5495333e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e7a160, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@45a4b042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16b2bb0c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@9573584, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6057aebb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6853425f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@352c1b98, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@21129f1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a9f4771, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2e13ddd5144eeb20c95017d5ee1ede4be572cda9a539b794a7b40382185508d7", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2a4a7f6280fd8119271ca07adb314076d7863917fad7523fbe2a001644f6ca9c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "4af9fea15e220d843b6ed7e6a88907aa9a6f33ae11c367e9fa15e4b68c8a75d5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-optimized.json new file mode 100644 index 00000000..96b2cace --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-optimized.json @@ -0,0 +1,361 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/cartridge", + "bytecodeBytes": 2752, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@398dada8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2049a9c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11bb571c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c51f34b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5495333e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e7a160, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@45a4b042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16b2bb0c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@9573584, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6057aebb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6853425f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@352c1b98, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@21129f1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a9f4771, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2e13ddd5144eeb20c95017d5ee1ede4be572cda9a539b794a7b40382185508d7", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2a4a7f6280fd8119271ca07adb314076d7863917fad7523fbe2a001644f6ca9c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "4af9fea15e220d843b6ed7e6a88907aa9a6f33ae11c367e9fa15e4b68c8a75d5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-unoptimized.json new file mode 100644 index 00000000..ad03ed65 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-rename-a-unoptimized.json @@ -0,0 +1,356 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/cartridge", + "bytecodeBytes": 2796, + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@398dada8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2049a9c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11bb571c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c51f34b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5495333e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e7a160, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@45a4b042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16b2bb0c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@9573584, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6057aebb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6853425f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@352c1b98, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@21129f1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a9f4771, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2e13ddd5144eeb20c95017d5ee1ede4be572cda9a539b794a7b40382185508d7", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2a4a7f6280fd8119271ca07adb314076d7863917fad7523fbe2a001644f6ca9c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "4af9fea15e220d843b6ed7e6a88907aa9a6f33ae11c367e9fa15e4b68c8a75d5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-optimized-public.json new file mode 100644 index 00000000..7ba334a0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-optimized-public.json @@ -0,0 +1,332 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/cartridge", + "bytecodeBytes": 2742, + "bytecodeSha256": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@398dada8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2049a9c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11bb571c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c51f34b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5495333e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e7a160, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@45a4b042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16b2bb0c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@9573584, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6057aebb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6853425f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@352c1b98, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@21129f1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a9f4771, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "256ed36c3a135897882019cd9e1f71327326880e5165cda19f0779cc1c34e45b", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-optimized.json new file mode 100644 index 00000000..ac7706a7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-optimized.json @@ -0,0 +1,361 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/cartridge", + "bytecodeBytes": 2742, + "bytecodeSha256": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@398dada8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2049a9c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11bb571c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c51f34b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5495333e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e7a160, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@45a4b042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16b2bb0c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@9573584, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6057aebb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6853425f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@352c1b98, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@21129f1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a9f4771, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "256ed36c3a135897882019cd9e1f71327326880e5165cda19f0779cc1c34e45b", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-unoptimized.json new file mode 100644 index 00000000..e6804067 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-dependency-unoptimized.json @@ -0,0 +1,356 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/cartridge", + "bytecodeBytes": 2786, + "bytecodeSha256": "af13fe4f09ef762fb916c055924c250f045d895f739a5b55f40ee0c30a3dc379", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@398dada8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2049a9c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ef6d34c, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46271dd6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11bb571c, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7c51f34b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5495333e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5be49b60, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@19e7a160, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@45a4b042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16b2bb0c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5117dd67, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@9573584, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6057aebb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6853425f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@352c1b98, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@21129f1f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a9f4771, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d898981, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "256ed36c3a135897882019cd9e1f71327326880e5165cda19f0779cc1c34e45b", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-optimized-public.json new file mode 100644 index 00000000..d092d29c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-optimized-public.json @@ -0,0 +1,328 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/cartridge", + "bytecodeBytes": 2654, + "bytecodeSha256": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4167d97b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ad2aa7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e2059ae, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fbe37eb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4167d97b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ae8bcbc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cdba6dc, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@35399441, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a72a540, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@35399441, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@40317ba2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3c01cfa1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@75d2da2d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "e13cd7e6baaf4c1eb2133f85ebb31fdcb1f8677b71e44d97265e58709a795ecb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-optimized.json new file mode 100644 index 00000000..101fcac2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-optimized.json @@ -0,0 +1,357 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/cartridge", + "bytecodeBytes": 2654, + "bytecodeSha256": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4167d97b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ad2aa7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e2059ae, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fbe37eb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4167d97b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ae8bcbc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cdba6dc, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@35399441, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a72a540, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@35399441, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@40317ba2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3c01cfa1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@75d2da2d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "e13cd7e6baaf4c1eb2133f85ebb31fdcb1f8677b71e44d97265e58709a795ecb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-unoptimized.json new file mode 100644 index 00000000..7b385910 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-direct-unoptimized.json @@ -0,0 +1,352 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/cartridge", + "bytecodeBytes": 2698, + "bytecodeSha256": "a39fb9b13b1fb0e4ff5222ca00b1cb27fb35dd464af1e76170d6241bc2fb8a0f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4167d97b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ad2aa7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e2059ae, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@275bf9b3, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b8a29df, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fbe37eb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4167d97b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ae8bcbc, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cdba6dc, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@35399441, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a72a540, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@35399441, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@40317ba2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3c01cfa1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a5338df, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@75d2da2d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4278284b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3370f42, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "e13cd7e6baaf4c1eb2133f85ebb31fdcb1f8677b71e44d97265e58709a795ecb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-optimized-public.json new file mode 100644 index 00000000..652dc980 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-optimized-public.json @@ -0,0 +1,328 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/cartridge", + "bytecodeBytes": 2658, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@58594a11, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@58594a11, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@58594a11, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ad2aa7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e2059ae, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fd14d74, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@563e4951, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5cdec700, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5cdec700, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5cdec700, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e6f3f28, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e19ebf0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@727eb8cb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d9314d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b978d10, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ce6c6ec, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2cf9e4647b1c385a089f4b2b5c0a49dc32ba00d1e52bce5e68a461f01fa14317", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "ab042c21f60d65ff38447b0f12a3afc2f1befe0a8dfa81a967f2c82e4ff7a363", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-optimized.json new file mode 100644 index 00000000..8b260c81 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-optimized.json @@ -0,0 +1,357 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/cartridge", + "bytecodeBytes": 2658, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@58594a11, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@58594a11, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@58594a11, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ad2aa7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e2059ae, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fd14d74, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@563e4951, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5cdec700, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5cdec700, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5cdec700, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e6f3f28, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e19ebf0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@727eb8cb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d9314d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b978d10, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ce6c6ec, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2cf9e4647b1c385a089f4b2b5c0a49dc32ba00d1e52bce5e68a461f01fa14317", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "ab042c21f60d65ff38447b0f12a3afc2f1befe0a8dfa81a967f2c82e4ff7a363", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-unoptimized.json new file mode 100644 index 00000000..955ab8c3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F4-same-no-dependency-unoptimized.json @@ -0,0 +1,352 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/cartridge", + "bytecodeBytes": 2702, + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7a3793c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42b3b079, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@58594a11, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@58594a11, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@58594a11, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f9e9475, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e15fe2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1722011b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ad2aa7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e2059ae, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4f74980d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fd14d74, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@563e4951, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5cdec700, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5cdec700, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5cdec700, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d23e042, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d23e042, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@30c8681, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e6f3f28, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e19ebf0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@727eb8cb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d9314d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@b978d10, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ce6c6ec, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1acaf3d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b175c00, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d0399f4, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2cf9e4647b1c385a089f4b2b5c0a49dc32ba00d1e52bce5e68a461f01fa14317", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "ab042c21f60d65ff38447b0f12a3afc2f1befe0a8dfa81a967f2c82e4ff7a363", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-optimized-public.json new file mode 100644 index 00000000..5ca193bc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-optimized-public.json @@ -0,0 +1,241 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "af292197c231e837f7940d26160d799db4470d1f4ffc2ad1272009ecb1889439", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-optimized.json new file mode 100644 index 00000000..de411bbc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-optimized.json @@ -0,0 +1,270 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "af292197c231e837f7940d26160d799db4470d1f4ffc2ad1272009ecb1889439", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-unoptimized.json new file mode 100644 index 00000000..b4c66521 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-alias-unoptimized.json @@ -0,0 +1,265 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/cartridge", + "bytecodeBytes": 1969, + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "af292197c231e837f7940d26160d799db4470d1f4ffc2ad1272009ecb1889439", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-optimized-public.json new file mode 100644 index 00000000..9ee8a005 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-optimized-public.json @@ -0,0 +1,241 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "3df9d812d80a29e5ef9ce0fa42261ae7651d697fe61bebd7cf611277695acffd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-optimized.json new file mode 100644 index 00000000..3269fa9c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-optimized.json @@ -0,0 +1,270 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "3df9d812d80a29e5ef9ce0fa42261ae7651d697fe61bebd7cf611277695acffd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-optimized-public.json new file mode 100644 index 00000000..73a81424 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-optimized-public.json @@ -0,0 +1,241 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/cartridge", + "bytecodeBytes": 1951, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@b978d10, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b7a8434, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5026735c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "338f1ea93a9af3519f80196302d9c599e664f0d365a660036a073cfc4701cfda", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-optimized.json new file mode 100644 index 00000000..bb0c1e69 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-optimized.json @@ -0,0 +1,270 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/cartridge", + "bytecodeBytes": 1951, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@b978d10, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b7a8434, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5026735c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "338f1ea93a9af3519f80196302d9c599e664f0d365a660036a073cfc4701cfda", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-unoptimized.json new file mode 100644 index 00000000..c3eece6d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-positional-unoptimized.json @@ -0,0 +1,265 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/cartridge", + "bytecodeBytes": 1973, + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@b978d10, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b7a8434, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5026735c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bae316d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "338f1ea93a9af3519f80196302d9c599e664f0d365a660036a073cfc4701cfda", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-unoptimized.json new file mode 100644 index 00000000..f9c98074 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-scene-unoptimized.json @@ -0,0 +1,265 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/cartridge", + "bytecodeBytes": 1969, + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "3df9d812d80a29e5ef9ce0fa42261ae7651d697fe61bebd7cf611277695acffd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-optimized-public.json new file mode 100644 index 00000000..6300448b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-optimized-public.json @@ -0,0 +1,241 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/cartridge", + "bytecodeBytes": 1959, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "d309beb0094105002c85ee855aa65b8f31a35a98be84f9dbf6de5cf9f1b73baf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "c2a4b16876c09ee2d63b76e58a788c2b949e3fa477d733dc89c34bda04a0282d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "04704074c56c798b56d3d59a8c427879ac5da497b51349938affea6a28cf8f62", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "c51e0520b36e8ec99881d40d6c0672bd7b9101acbc8e8d1a89566e1cc69dbb65", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-optimized.json new file mode 100644 index 00000000..146249dc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-optimized.json @@ -0,0 +1,270 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/cartridge", + "bytecodeBytes": 1959, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "d309beb0094105002c85ee855aa65b8f31a35a98be84f9dbf6de5cf9f1b73baf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "c2a4b16876c09ee2d63b76e58a788c2b949e3fa477d733dc89c34bda04a0282d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "04704074c56c798b56d3d59a8c427879ac5da497b51349938affea6a28cf8f62", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "c51e0520b36e8ec99881d40d6c0672bd7b9101acbc8e8d1a89566e1cc69dbb65", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-unoptimized.json new file mode 100644 index 00000000..9297c9a7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/F5-shopvisit-unoptimized.json @@ -0,0 +1,265 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/cartridge", + "bytecodeBytes": 1981, + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6cd24612, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@20d7d6fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c669da8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@31920ade, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@31920ade, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b3f61ff, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@27adc16e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@b83a9be, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2609b277, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d026701, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78aa1f72, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f75a668, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b7dc788, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6304101a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5170bcf4, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2812b107, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e31276e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67b9b51a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@147a5d08, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7cbd9d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10f7f7de, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@73a8da0f, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5026735c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dafbe45, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "d309beb0094105002c85ee855aa65b8f31a35a98be84f9dbf6de5cf9f1b73baf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "c2a4b16876c09ee2d63b76e58a788c2b949e3fa477d733dc89c34bda04a0282d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "04704074c56c798b56d3d59a8c427879ac5da497b51349938affea6a28cf8f62", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "c51e0520b36e8ec99881d40d6c0672bd7b9101acbc8e8d1a89566e1cc69dbb65", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-optimized-public.json new file mode 100644 index 00000000..396bc7db --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-optimized-public.json @@ -0,0 +1,94 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized-public/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70e38ce1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ca923bb, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ebea008, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5cc3dba182dd69a791a9b24f0ce8da877937bbc7e1ac32c2e3566c32fec44c28", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-optimized.json new file mode 100644 index 00000000..571ed80d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-optimized.json @@ -0,0 +1,123 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70e38ce1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ca923bb, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ebea008, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5cc3dba182dd69a791a9b24f0ce8da877937bbc7e1ac32c2e3566c32fec44c28", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-unoptimized.json new file mode 100644 index 00000000..5057fca0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/checkout/runtime-trap-control-unoptimized.json @@ -0,0 +1,118 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/unoptimized/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70e38ce1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ca923bb, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13df2a8c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ebea008, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b1cfb87, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5cc3dba182dd69a791a9b24f0ce8da877937bbc7e1ac32c2e3566c32fec44c28", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-optimized-public.json new file mode 100644 index 00000000..c5b6f607 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-optimized-public.json @@ -0,0 +1,142 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized-public/cartridge", + "bytecodeBytes": 1176, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1046d517, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@294a6b8e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f25b795, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16414e40, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74bada02, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b14918a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d1ef78d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1729c18f70ccced4337ad021a12b7ea00332c0029ba81174fb4fe651c68d8be0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-condition", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-optimized.json new file mode 100644 index 00000000..bcaa9988 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-optimized.json @@ -0,0 +1,171 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized/cartridge", + "bytecodeBytes": 1176, + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1046d517, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@294a6b8e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f25b795, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16414e40, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74bada02, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b14918a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d1ef78d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1729c18f70ccced4337ad021a12b7ea00332c0029ba81174fb4fe651c68d8be0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-condition", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-unoptimized.json new file mode 100644 index 00000000..845a3650 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-condition-unoptimized.json @@ -0,0 +1,166 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/unoptimized/cartridge", + "bytecodeBytes": 1198, + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1046d517, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@294a6b8e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f25b795, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fb365ed, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16414e40, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74bada02, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b14918a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d1ef78d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@11f0a5a1, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1729c18f70ccced4337ad021a12b7ea00332c0029ba81174fb4fe651c68d8be0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[109,171] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-condition", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-optimized-public.json new file mode 100644 index 00000000..6bbb4780 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-optimized-public.json @@ -0,0 +1,152 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized-public/cartridge", + "bytecodeBytes": 1287, + "bytecodeSha256": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@73cd37c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71c27ee8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4748a0f9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b14918a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d1ef78d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421bba99, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,147]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[156,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-direct", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-optimized.json new file mode 100644 index 00000000..0e37b852 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-optimized.json @@ -0,0 +1,181 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized/cartridge", + "bytecodeBytes": 1287, + "bytecodeSha256": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@73cd37c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71c27ee8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4748a0f9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b14918a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d1ef78d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421bba99, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,147]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[156,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-direct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-unoptimized.json new file mode 100644 index 00000000..f9557224 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-direct-unoptimized.json @@ -0,0 +1,176 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/unoptimized/cartridge", + "bytecodeBytes": 1309, + "bytecodeSha256": "d709189473a3cc1c9ff1bb4a0887bd51bafddabf129a02d876a02e37056ff566", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@73cd37c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71c27ee8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4748a0f9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b14918a, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d1ef78d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421bba99, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,147]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[156,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-direct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-optimized-public.json new file mode 100644 index 00000000..21fbc30a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-optimized-public.json @@ -0,0 +1,154 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized-public/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@73cd37c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@294a6b8e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b1d6571, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4748a0f9, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b14918a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-local", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-optimized.json new file mode 100644 index 00000000..5cff62da --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-optimized.json @@ -0,0 +1,183 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@73cd37c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@294a6b8e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b1d6571, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4748a0f9, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b14918a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-unoptimized.json new file mode 100644 index 00000000..ad5c2a8b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-local-unoptimized.json @@ -0,0 +1,178 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/unoptimized/cartridge", + "bytecodeBytes": 1353, + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@73cd37c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@294a6b8e, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b1d6571, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4748a0f9, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b14918a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-optimized-public.json new file mode 100644 index 00000000..3bc6305b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-optimized-public.json @@ -0,0 +1,147 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized-public/cartridge", + "bytecodeBytes": 1310, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3d1848cc, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dda48d9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e4bd84a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@648c94da, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a62b5bc, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53de625d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d41f816, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f5ce22, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1afdd473, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "86e6a7f326c962b8b582a44d7630da95efb6d383746958eff8548b7de55212b6", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-local", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-optimized.json new file mode 100644 index 00000000..502f1a9a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-optimized.json @@ -0,0 +1,176 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized/cartridge", + "bytecodeBytes": 1310, + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3d1848cc, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dda48d9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e4bd84a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@648c94da, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a62b5bc, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53de625d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d41f816, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f5ce22, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1afdd473, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "86e6a7f326c962b8b582a44d7630da95efb6d383746958eff8548b7de55212b6", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-unoptimized.json new file mode 100644 index 00000000..3b7d0383 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-local-unoptimized.json @@ -0,0 +1,171 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/unoptimized/cartridge", + "bytecodeBytes": 1332, + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3d1848cc, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dda48d9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e4bd84a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@648c94da, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a62b5bc, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53de625d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d41f816, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f5ce22, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1afdd473, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "86e6a7f326c962b8b582a44d7630da95efb6d383746958eff8548b7de55212b6", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[130,191] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-optimized-public.json new file mode 100644 index 00000000..001f83d2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-optimized-public.json @@ -0,0 +1,145 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized-public/cartridge", + "bytecodeBytes": 1266, + "bytecodeSha256": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3d1848cc, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dda48d9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e4bd84a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@648c94da, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a62b5bc, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53de625d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d41f816, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@531f4093, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f5ce22, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[113,174] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-this", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-optimized.json new file mode 100644 index 00000000..99b27d21 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-optimized.json @@ -0,0 +1,174 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized/cartridge", + "bytecodeBytes": 1266, + "bytecodeSha256": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3d1848cc, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dda48d9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e4bd84a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@648c94da, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a62b5bc, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53de625d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d41f816, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@531f4093, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f5ce22, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[113,174] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-this", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-unoptimized.json new file mode 100644 index 00000000..d71fe616 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-service-this-unoptimized.json @@ -0,0 +1,169 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/unoptimized/cartridge", + "bytecodeBytes": 1288, + "bytecodeSha256": "8341bab19d4943a8d414b3c2ef7ba4552bd05c7a93c9b0d8af555ee3bfbf9b39", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3d1848cc, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dda48d9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e4bd84a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@648c94da, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a62b5bc, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53de625d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Probe.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@d41f816, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d41f816, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@531f4093, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74f5ce22, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1672fe87, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[113,174] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-service-this", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-optimized-public.json new file mode 100644 index 00000000..02366277 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-optimized-public.json @@ -0,0 +1,153 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized-public/cartridge", + "bytecodeBytes": 1309, + "bytecodeSha256": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7776ab, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7776ab, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7776ab, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@73cd37c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71c27ee8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,158]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[167,222] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-optimized.json new file mode 100644 index 00000000..d501794c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-optimized.json @@ -0,0 +1,182 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized/cartridge", + "bytecodeBytes": 1309, + "bytecodeSha256": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7776ab, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7776ab, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7776ab, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@73cd37c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71c27ee8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,158]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[167,222] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-unoptimized.json new file mode 100644 index 00000000..8f20e33b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F1-two-calls-unoptimized.json @@ -0,0 +1,177 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/unoptimized/cartridge", + "bytecodeBytes": 1331, + "bytecodeSha256": "f910c0f6e31276cd7d4bff2cde54900820bc354e61759eb518e79b5ffccd3ec9", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7776ab, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7776ab, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7776ab, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@73cd37c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71c27ee8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@16fdec90, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e3d57c7, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,158]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[167,222] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-optimized-public.json new file mode 100644 index 00000000..520ebe63 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-optimized-public.json @@ -0,0 +1,164 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized-public/cartridge", + "bytecodeBytes": 1516, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41709512, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78d6692f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@344f4dea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b7c473a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce1d6d0, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f3f02ee, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca20101, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f9738, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2ea6e30c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21a21c64, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1afdd473, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7776ab, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@79179359, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51acdf2e, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a55299e, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a39838f2cd524106253e20730ce9f12a410800fca472cb9983252a373efe79bd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-arguments", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-optimized.json new file mode 100644 index 00000000..ad810fe3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-optimized.json @@ -0,0 +1,193 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized/cartridge", + "bytecodeBytes": 1516, + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41709512, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78d6692f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@344f4dea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b7c473a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce1d6d0, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f3f02ee, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca20101, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f9738, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2ea6e30c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21a21c64, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1afdd473, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7776ab, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@79179359, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51acdf2e, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a55299e, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a39838f2cd524106253e20730ce9f12a410800fca472cb9983252a373efe79bd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-arguments", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-unoptimized.json new file mode 100644 index 00000000..de1c3bf2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-arguments-unoptimized.json @@ -0,0 +1,188 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/unoptimized/cartridge", + "bytecodeBytes": 1538, + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41709512, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78d6692f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@344f4dea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b7c473a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce1d6d0, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f3f02ee, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca20101, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f9738, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2ea6e30c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21a21c64, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1afdd473, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7776ab, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@79179359, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51acdf2e, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a55299e, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a39838f2cd524106253e20730ce9f12a410800fca472cb9983252a373efe79bd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-arguments", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-optimized-public.json new file mode 100644 index 00000000..f67698e6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-optimized-public.json @@ -0,0 +1,166 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized-public/cartridge", + "bytecodeBytes": 1556, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41709512, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78d6692f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@344f4dea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b7c473a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce1d6d0, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f3f02ee, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca20101, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f9738, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2ea6e30c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7803bfd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@79179359, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51acdf2e, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a55299e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da30852, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a4bb694225a11ab87f744eb3025b51855c052382f21ae26bb4a3bc4a4ab5d41f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-expression", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-optimized.json new file mode 100644 index 00000000..a9e60587 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-optimized.json @@ -0,0 +1,195 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized/cartridge", + "bytecodeBytes": 1556, + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41709512, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78d6692f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@344f4dea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b7c473a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce1d6d0, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f3f02ee, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca20101, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f9738, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2ea6e30c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7803bfd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@79179359, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51acdf2e, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a55299e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da30852, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a4bb694225a11ab87f744eb3025b51855c052382f21ae26bb4a3bc4a4ab5d41f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-expression", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-unoptimized.json new file mode 100644 index 00000000..9516ec52 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-expression-unoptimized.json @@ -0,0 +1,190 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/unoptimized/cartridge", + "bytecodeBytes": 1578, + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41709512, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78d6692f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@344f4dea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b7c473a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce1d6d0, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f3f02ee, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca20101, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f9738, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2ea6e30c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2dcd168a, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7803bfd, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@79179359, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51acdf2e, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a55299e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da30852, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a4bb694225a11ab87f744eb3025b51855c052382f21ae26bb4a3bc4a4ab5d41f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-expression", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-optimized-public.json new file mode 100644 index 00000000..78b48abc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-optimized-public.json @@ -0,0 +1,168 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized-public/cartridge", + "bytecodeBytes": 1604, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41709512, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78d6692f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@344f4dea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b7c473a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce1d6d0, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f3f02ee, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca20101, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f9738, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@561868a0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ea6e30c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@21a21c64, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a55299e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da30852, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d1fbdb4746e09a526ffffe9bd6145dfb0939c5a7237f96e7c66bb4d97028e5ff", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-locals", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-optimized.json new file mode 100644 index 00000000..1714d953 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-optimized.json @@ -0,0 +1,197 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized/cartridge", + "bytecodeBytes": 1604, + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41709512, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78d6692f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@344f4dea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b7c473a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce1d6d0, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f3f02ee, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca20101, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f9738, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@561868a0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ea6e30c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@21a21c64, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a55299e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da30852, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d1fbdb4746e09a526ffffe9bd6145dfb0939c5a7237f96e7c66bb4d97028e5ff", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-locals", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-unoptimized.json new file mode 100644 index 00000000..1bfe70ec --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-locals-unoptimized.json @@ -0,0 +1,192 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/unoptimized/cartridge", + "bytecodeBytes": 1626, + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41709512, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78d6692f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "next", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b6e2263, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@344f4dea, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b7c473a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ce1d6d0, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f3f02ee, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca20101, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f9738, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@561868a0, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ea6e30c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@388526fb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@21a21c64, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@6a55299e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da30852, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ed3f258, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4416d64f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d1fbdb4746e09a526ffffe9bd6145dfb0939c5a7237f96e7c66bb4d97028e5ff", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-locals", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-optimized-public.json new file mode 100644 index 00000000..fd6cf593 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-optimized-public.json @@ -0,0 +1,158 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized-public/cartridge", + "bytecodeBytes": 1431, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5505ae1a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@294a6b8e, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b1d6571, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b835480, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3549bca9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad3381f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@34a875b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4748a0f9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@134d26af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b3ed2f0, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fad9bb2, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7862f56, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a12c404, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@22d7b4f8, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@691939c9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b7b20b0a1866f3225d1d1635a268c33a574ac50ada33caf31f76dcd3eee5261", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-optimized.json new file mode 100644 index 00000000..65ade5a0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-optimized.json @@ -0,0 +1,187 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized/cartridge", + "bytecodeBytes": 1431, + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5505ae1a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@294a6b8e, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b1d6571, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b835480, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3549bca9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad3381f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@34a875b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4748a0f9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@134d26af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b3ed2f0, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fad9bb2, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7862f56, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a12c404, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@22d7b4f8, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@691939c9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b7b20b0a1866f3225d1d1635a268c33a574ac50ada33caf31f76dcd3eee5261", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-unoptimized.json new file mode 100644 index 00000000..15ca179a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F2-struct-method-unoptimized.json @@ -0,0 +1,182 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/unoptimized/cartridge", + "bytecodeBytes": 1453, + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5505ae1a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "add", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@294a6b8e, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b1d6571, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b835480, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3549bca9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad3381f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@34a875b3, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4748a0f9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@134d26af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b3ed2f0, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fad9bb2, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7862f56, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a12c404, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@22d7b4f8, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@691939c9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50dfbc58, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b7b20b0a1866f3225d1d1635a268c33a574ac50ada33caf31f76dcd3eee5261", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-optimized-public.json new file mode 100644 index 00000000..64256e8d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-optimized-public.json @@ -0,0 +1,212 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "diagnostics": [ + { + "issueId": "c5259d0e-74c7-4884-9dfc-21232d5174fa:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "increment", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "INT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 1, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public/src/main.pbs", + "fileId": 1, + "span": { + "start": 39, + "end": 48, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 48 + }, + "unit": "utf16" + }, + "revision": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=1:39-48] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "F3-file-private", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-optimized.json new file mode 100644 index 00000000..78fc2e5f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-optimized.json @@ -0,0 +1,211 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "d26f88f8-22f0-46b0-8a80-d0437a795c7d:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "increment", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "INT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 1, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized/src/main.pbs", + "fileId": 1, + "span": { + "start": 39, + "end": 48, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 48 + }, + "unit": "utf16" + }, + "revision": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=1:39-48] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "F3-file-private", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-unoptimized.json new file mode 100644 index 00000000..08978c1e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-file-private-unoptimized.json @@ -0,0 +1,211 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "9ff96fb4-6164-4abc-8e2e-1bbe96697f88:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "increment", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "INT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 1, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized/src/main.pbs", + "fileId": 1, + "span": { + "start": 39, + "end": 48, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 48 + }, + "unit": "utf16" + }, + "revision": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-file-private/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=1:39-48] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "F3-file-private", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-optimized-public.json new file mode 100644 index 00000000..d9720cc6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-optimized-public.json @@ -0,0 +1,128 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized-public/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@335b5620, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6eb2384f, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3c9c0d96, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a4621bd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77258e59, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dd1c9f2, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@324a0017, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6187d1f5, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2445445a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized-public/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "75e1c6fdd04fcb9c4501fe6994a427215ec53fd48d5c5eed2ff0ae4272a9147a", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,87] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-function", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-optimized.json new file mode 100644 index 00000000..8620575e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-optimized.json @@ -0,0 +1,157 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@335b5620, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6eb2384f, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3c9c0d96, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a4621bd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77258e59, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dd1c9f2, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@324a0017, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6187d1f5, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2445445a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "75e1c6fdd04fcb9c4501fe6994a427215ec53fd48d5c5eed2ff0ae4272a9147a", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,87] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-function", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-unoptimized.json new file mode 100644 index 00000000..df98176e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-function-unoptimized.json @@ -0,0 +1,152 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized/cartridge", + "bytecodeBytes": 881, + "bytecodeSha256": "c098719dae70b95ba847e7813e5fa7c005f99337946d6e06f5e5fc4381051f79", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@335b5620, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6eb2384f, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3c9c0d96, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a4621bd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77258e59, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a22cb6a, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dd1c9f2, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59b38691, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@324a0017, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6187d1f5, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2445445a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7502291e, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@487db668, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "75e1c6fdd04fcb9c4501fe6994a427215ec53fd48d5c5eed2ff0ae4272a9147a", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,87] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-function", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-optimized-public.json new file mode 100644 index 00000000..d568daed --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-optimized-public.json @@ -0,0 +1,132 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized-public/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6eb2384f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@26ceffa8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a87f8ec, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5443d039, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63787180, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@48e92c5c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e1ef60, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22356acd, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@386f0da3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "35ba6c3b96ea8a42a3bac627a7da7c1b17187ee793df474674011cbb7c8e9cfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global-local", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-optimized.json new file mode 100644 index 00000000..98951eb1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-optimized.json @@ -0,0 +1,161 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6eb2384f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@26ceffa8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a87f8ec, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5443d039, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63787180, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@48e92c5c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e1ef60, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22356acd, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@386f0da3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "35ba6c3b96ea8a42a3bac627a7da7c1b17187ee793df474674011cbb7c8e9cfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-unoptimized.json new file mode 100644 index 00000000..a75dbc17 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-local-unoptimized.json @@ -0,0 +1,156 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/unoptimized/cartridge", + "bytecodeBytes": 1049, + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6eb2384f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@26ceffa8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6bca7e0d, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2631f68c, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@a87f8ec, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5443d039, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63787180, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@48e92c5c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e1ef60, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22356acd, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@386f0da3, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f22f9d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6676f6a0, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "35ba6c3b96ea8a42a3bac627a7da7c1b17187ee793df474674011cbb7c8e9cfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-optimized-public.json new file mode 100644 index 00000000..aa4479dd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-optimized-public.json @@ -0,0 +1,145 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized-public/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized-public/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71812481, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@16ce702d, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21a21c64, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7803bfd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "3b489d6fc97278c0a20017438cb5f14468d62773fc502542712225607a87cb90", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,72] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-optimized.json new file mode 100644 index 00000000..b0885292 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-optimized.json @@ -0,0 +1,174 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized/cartridge", + "bytecodeBytes": 1027, + "bytecodeSha256": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71812481, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@16ce702d, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21a21c64, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7803bfd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "3b489d6fc97278c0a20017438cb5f14468d62773fc502542712225607a87cb90", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,72] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-unoptimized.json new file mode 100644 index 00000000..18940ffa --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-global-unoptimized.json @@ -0,0 +1,169 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized/cartridge", + "bytecodeBytes": 1049, + "bytecodeSha256": "8ffa05f45c4a33784ca0bb524d4a6b7dfb527781c8ebb40b5d08df4fa7a6a22c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71812481, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@16ce702d, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21a21c64, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7803bfd, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@25aca718, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3da05287, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@687ef2e0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "3b489d6fc97278c0a20017438cb5f14468d62773fc502542712225607a87cb90", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,72] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-global", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-optimized-public.json new file mode 100644 index 00000000..a5ab989f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-optimized-public.json @@ -0,0 +1,128 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized-public/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@a87f8ec, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5443d039, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e4bd84a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@648c94da, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53de625d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@535779e4, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7803bfd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5a9082ef4fa26489e8ef25223a5076f238fca1ad7d0b75eacc76c5510e3f8b10", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service-local", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-optimized.json new file mode 100644 index 00000000..71c41fd4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-optimized.json @@ -0,0 +1,157 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@a87f8ec, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5443d039, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e4bd84a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@648c94da, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53de625d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@535779e4, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7803bfd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5a9082ef4fa26489e8ef25223a5076f238fca1ad7d0b75eacc76c5510e3f8b10", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-unoptimized.json new file mode 100644 index 00000000..960bc663 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-local-unoptimized.json @@ -0,0 +1,152 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/unoptimized/cartridge", + "bytecodeBytes": 1050, + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@a87f8ec, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5443d039, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e4566f1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5e4bd84a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@648c94da, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53de625d, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@535779e4, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53fd0d10, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c0d9d86, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24111ef1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.$instance", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63f259c3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Helper.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7803bfd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5c45d770, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5a9082ef4fa26489e8ef25223a5076f238fca1ad7d0b75eacc76c5510e3f8b10", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-optimized-public.json new file mode 100644 index 00000000..ed43afde --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-optimized-public.json @@ -0,0 +1,141 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized-public/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized-public/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Helper.$instance", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.value", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1afdd473, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@93cf163, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1852a3ff, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@66565121, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fc6f97f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d2ee678, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@35f26e72, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d6764b2, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@49c6c24f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized-public/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "f1dccf72135529a1f3af9a181db244535d37b0571b8179b3a1be3a1a4994e6af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "12fc30691f4148a7b9d23917b32b5820b75f893c334ce7005aeeb572908af36c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,89] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-optimized.json new file mode 100644 index 00000000..59a7b830 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-optimized.json @@ -0,0 +1,170 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized/cartridge", + "bytecodeBytes": 1028, + "bytecodeSha256": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Helper.$instance", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.value", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1afdd473, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@93cf163, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1852a3ff, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@66565121, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fc6f97f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d2ee678, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@35f26e72, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d6764b2, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@49c6c24f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "f1dccf72135529a1f3af9a181db244535d37b0571b8179b3a1be3a1a4994e6af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "12fc30691f4148a7b9d23917b32b5820b75f893c334ce7005aeeb572908af36c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,89] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-unoptimized.json new file mode 100644 index 00000000..c6a5a860 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-service-unoptimized.json @@ -0,0 +1,165 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized/cartridge", + "bytecodeBytes": 1050, + "bytecodeSha256": "c568447b582b4839b65e1e7368f0d07b61bfaa038ba28d984434c8db6df7c64f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized/src/helpers.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Helper.$instance", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Helper.value", + "file": "src/helpers.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1afdd473, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@40238dd0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@93cf163, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1852a3ff, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@66565121, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fc6f97f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3d2ee678, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@35f26e72, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d6764b2, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@49c6c24f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79351f41, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized/src/helpers.pbs", + "relativePath": "src/helpers.pbs", + "originScope": "project", + "sha256": "f1dccf72135529a1f3af9a181db244535d37b0571b8179b3a1be3a1a4994e6af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "12fc30691f4148a7b9d23917b32b5820b75f893c334ce7005aeeb572908af36c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,89] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-service", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-optimized-public.json new file mode 100644 index 00000000..6717fa92 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-optimized-public.json @@ -0,0 +1,115 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized-public/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@39a2bb97, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f63b475, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@554e218, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1608bcbd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2766ca9d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@65a15628, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a1de7fb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@335b5620, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32a68f4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73194df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6eb2384f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3c9c0d96, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2f07a5b109ed463e25089c2ec1c8034e0965bbef00655b967ddcbad64cc93a69", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-single-file", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-optimized.json new file mode 100644 index 00000000..6d57087c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-optimized.json @@ -0,0 +1,144 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized/cartridge", + "bytecodeBytes": 859, + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@39a2bb97, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f63b475, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@554e218, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1608bcbd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2766ca9d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@65a15628, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a1de7fb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@335b5620, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32a68f4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73194df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6eb2384f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3c9c0d96, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2f07a5b109ed463e25089c2ec1c8034e0965bbef00655b967ddcbad64cc93a69", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-single-file", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-unoptimized.json new file mode 100644 index 00000000..3852f1a3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F3-single-file-unoptimized.json @@ -0,0 +1,139 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/unoptimized/cartridge", + "bytecodeBytes": 881, + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "increment", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@39a2bb97, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f63b475, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@554e218, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1608bcbd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2766ca9d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5460cf3a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@65a15628, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@676cf48, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a1de7fb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@335b5620, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@32a68f4f, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@73194df, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6eb2384f, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3c9c0d96, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31dadd46, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c7045b9, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2f07a5b109ed463e25089c2ec1c8034e0965bbef00655b967ddcbad64cc93a69", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F3-single-file", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-optimized-public.json new file mode 100644 index 00000000..9e2bc430 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-optimized-public.json @@ -0,0 +1,332 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/cartridge", + "bytecodeBytes": 2746, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@30b19518, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad59d92, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56f0cc85, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62e20a76, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d730606, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3016fd5e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@70a36a66, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@45815ffc, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@732f29af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d3957fe, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6622fc65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23fb172e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64ba3208, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@158a3b2e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@25a6944c, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2b686e22ebaf401e70528c6e6f15f6951cb6d4a0c539b4686cf6760042514c24", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "4f6f664f20809a3a27c7f7abdbe8954c983bb11f7f95e57697426389882a4f16", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "e1f1f4682dcf962703fb8b85952c645d83c116f58bb07e2dd10bc972704b2a1d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "8f942aa58010ee4d00e537d6c692c204476d37cd7a4e48240fa515c68aacafa5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "70e91bdb1fe5082069709b41f27d279719a36dcadbd4c415fea24563cbff64af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "9f933a36e85421755ab583845dfeccb402a9fd88ec9157a13994905ae880d9cc", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-distinct", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-optimized.json new file mode 100644 index 00000000..02632e15 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-optimized.json @@ -0,0 +1,361 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/cartridge", + "bytecodeBytes": 2746, + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@30b19518, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad59d92, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56f0cc85, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62e20a76, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d730606, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3016fd5e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@70a36a66, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@45815ffc, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@732f29af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d3957fe, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6622fc65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23fb172e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64ba3208, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@158a3b2e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@25a6944c, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2b686e22ebaf401e70528c6e6f15f6951cb6d4a0c539b4686cf6760042514c24", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "4f6f664f20809a3a27c7f7abdbe8954c983bb11f7f95e57697426389882a4f16", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "e1f1f4682dcf962703fb8b85952c645d83c116f58bb07e2dd10bc972704b2a1d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "8f942aa58010ee4d00e537d6c692c204476d37cd7a4e48240fa515c68aacafa5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "70e91bdb1fe5082069709b41f27d279719a36dcadbd4c415fea24563cbff64af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "9f933a36e85421755ab583845dfeccb402a9fd88ec9157a13994905ae880d9cc", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-distinct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-unoptimized.json new file mode 100644 index 00000000..df5b8d36 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-distinct-unoptimized.json @@ -0,0 +1,356 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/cartridge", + "bytecodeBytes": 2790, + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "ARoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@30b19518, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad59d92, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56f0cc85, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62e20a76, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "BRoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d730606, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3016fd5e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@70a36a66, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@45815ffc, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@732f29af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d3957fe, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6622fc65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23fb172e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64ba3208, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@158a3b2e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@25a6944c, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2b686e22ebaf401e70528c6e6f15f6951cb6d4a0c539b4686cf6760042514c24", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "4f6f664f20809a3a27c7f7abdbe8954c983bb11f7f95e57697426389882a4f16", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "e1f1f4682dcf962703fb8b85952c645d83c116f58bb07e2dd10bc972704b2a1d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "8f942aa58010ee4d00e537d6c692c204476d37cd7a4e48240fa515c68aacafa5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "70e91bdb1fe5082069709b41f27d279719a36dcadbd4c415fea24563cbff64af", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "9f933a36e85421755ab583845dfeccb402a9fd88ec9157a13994905ae880d9cc", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-distinct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-optimized-public.json new file mode 100644 index 00000000..f95e8e28 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-optimized-public.json @@ -0,0 +1,228 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/cartridge", + "bytecodeBytes": 1897, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@115667d, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ff684e1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76012793, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ef6ae06, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@635572a7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e8ce150, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b73be9f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b84fcf8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@33b1c5c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b202a3a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10b9db7b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@9ef8eb7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34cdeda2, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee660fb, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@305a0c5f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ecee32c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4372b9b6, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@232a7d73, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5e09d10289aadc3a996ab2c1055f36a8e877d465901992bb80af2526a45d5b75", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-optimized.json new file mode 100644 index 00000000..c02e5e65 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-optimized.json @@ -0,0 +1,257 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/cartridge", + "bytecodeBytes": 1897, + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@115667d, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ff684e1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76012793, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ef6ae06, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@635572a7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e8ce150, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b73be9f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b84fcf8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@33b1c5c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b202a3a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10b9db7b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@9ef8eb7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34cdeda2, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee660fb, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@305a0c5f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ecee32c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4372b9b6, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@232a7d73, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5e09d10289aadc3a996ab2c1055f36a8e877d465901992bb80af2526a45d5b75", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-unoptimized.json new file mode 100644 index 00000000..8a2dc6f5 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-public-aliases-unoptimized.json @@ -0,0 +1,252 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/cartridge", + "bytecodeBytes": 1919, + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/a/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/a/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/b/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/b/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@62ef27a8, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6436a7db, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "RoomData.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e636ea3, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@115667d, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@736caf7a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@ff684e1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@76012793, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ef6ae06, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@635572a7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e8ce150, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b73be9f, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b84fcf8, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@33b1c5c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b202a3a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10b9db7b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@9ef8eb7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34cdeda2, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee660fb, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@305a0c5f, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1ecee32c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4372b9b6, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@232a7d73, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74960bfa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f4", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.module_init$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7aaca91a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "98ee27f02f36b49dd05ce20be6532e304049c673111328ff81b7aeae7eef8dfe", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "79df0b06d6399d886f3aca22fa9ea084b538f18092f20c7336a98d265e986dcf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5e09d10289aadc3a996ab2c1055f36a8e877d465901992bb80af2526a45d5b75", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-optimized-public.json new file mode 100644 index 00000000..a2da5540 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-optimized-public.json @@ -0,0 +1,332 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/cartridge", + "bytecodeBytes": 2752, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@30b19518, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad59d92, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56f0cc85, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62e20a76, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d730606, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3016fd5e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@70a36a66, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@45815ffc, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@732f29af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d3957fe, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6622fc65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23fb172e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64ba3208, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@158a3b2e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@25a6944c, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2e13ddd5144eeb20c95017d5ee1ede4be572cda9a539b794a7b40382185508d7", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2a4a7f6280fd8119271ca07adb314076d7863917fad7523fbe2a001644f6ca9c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "4af9fea15e220d843b6ed7e6a88907aa9a6f33ae11c367e9fa15e4b68c8a75d5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-optimized.json new file mode 100644 index 00000000..8b70ffb7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-optimized.json @@ -0,0 +1,361 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/cartridge", + "bytecodeBytes": 2752, + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@30b19518, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad59d92, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56f0cc85, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62e20a76, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d730606, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3016fd5e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@70a36a66, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@45815ffc, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@732f29af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d3957fe, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6622fc65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23fb172e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64ba3208, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@158a3b2e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@25a6944c, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2e13ddd5144eeb20c95017d5ee1ede4be572cda9a539b794a7b40382185508d7", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2a4a7f6280fd8119271ca07adb314076d7863917fad7523fbe2a001644f6ca9c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "4af9fea15e220d843b6ed7e6a88907aa9a6f33ae11c367e9fa15e4b68c8a75d5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-unoptimized.json new file mode 100644 index 00000000..c70e2aef --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-rename-a-unoptimized.json @@ -0,0 +1,356 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/cartridge", + "bytecodeBytes": 2796, + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "StartRoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@30b19518, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad59d92, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56f0cc85, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62e20a76, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d730606, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3016fd5e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@70a36a66, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@45815ffc, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@732f29af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d3957fe, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6622fc65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23fb172e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64ba3208, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@158a3b2e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@25a6944c, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "2e13ddd5144eeb20c95017d5ee1ede4be572cda9a539b794a7b40382185508d7", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2a4a7f6280fd8119271ca07adb314076d7863917fad7523fbe2a001644f6ca9c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "4af9fea15e220d843b6ed7e6a88907aa9a6f33ae11c367e9fa15e4b68c8a75d5", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-optimized-public.json new file mode 100644 index 00000000..b7026735 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-optimized-public.json @@ -0,0 +1,332 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/cartridge", + "bytecodeBytes": 2742, + "bytecodeSha256": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@30b19518, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad59d92, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56f0cc85, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62e20a76, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d730606, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3016fd5e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@70a36a66, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@45815ffc, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@732f29af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d3957fe, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6622fc65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23fb172e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64ba3208, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@158a3b2e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@25a6944c, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "256ed36c3a135897882019cd9e1f71327326880e5165cda19f0779cc1c34e45b", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-optimized.json new file mode 100644 index 00000000..d200eff6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-optimized.json @@ -0,0 +1,361 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/cartridge", + "bytecodeBytes": 2742, + "bytecodeSha256": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@30b19518, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad59d92, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56f0cc85, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62e20a76, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d730606, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3016fd5e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@70a36a66, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@45815ffc, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@732f29af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d3957fe, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6622fc65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23fb172e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64ba3208, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@158a3b2e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@25a6944c, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "256ed36c3a135897882019cd9e1f71327326880e5165cda19f0779cc1c34e45b", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-unoptimized.json new file mode 100644 index 00000000..1546877b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-dependency-unoptimized.json @@ -0,0 +1,356 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/cartridge", + "bytecodeBytes": 2786, + "bytecodeSha256": "af13fe4f09ef762fb916c055924c250f045d895f739a5b55f40ee0c30a3dc379", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d3ac898, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@30b19518, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@363042d7, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@366ac49b, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad59d92, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56f0cc85, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62e20a76, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1d730606, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d730606, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@3016fd5e, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4dc8caa7, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@70a36a66, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@45815ffc, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@732f29af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d3957fe, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6622fc65, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@23fb172e, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64ba3208, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@158a3b2e, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@25a6944c, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6b00f608, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "256ed36c3a135897882019cd9e1f71327326880e5165cda19f0779cc1c34e45b", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-optimized-public.json new file mode 100644 index 00000000..c4685425 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-optimized-public.json @@ -0,0 +1,328 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/cartridge", + "bytecodeBytes": 2654, + "bytecodeSha256": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@f80945f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f80945f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f80945f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ef6ae06, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6e35bc3d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e8ce150, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@301ec38b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56113384, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5a9d6f02, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56113384, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1b765a2c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e8e8225, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@51972dc7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d470d0, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24d09c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@54c62d71, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b45dcb8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "e13cd7e6baaf4c1eb2133f85ebb31fdcb1f8677b71e44d97265e58709a795ecb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-optimized.json new file mode 100644 index 00000000..73203693 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-optimized.json @@ -0,0 +1,357 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/cartridge", + "bytecodeBytes": 2654, + "bytecodeSha256": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@f80945f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f80945f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f80945f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ef6ae06, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6e35bc3d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e8ce150, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@301ec38b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56113384, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5a9d6f02, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56113384, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1b765a2c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e8e8225, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@51972dc7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d470d0, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24d09c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@54c62d71, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b45dcb8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "e13cd7e6baaf4c1eb2133f85ebb31fdcb1f8677b71e44d97265e58709a795ecb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-unoptimized.json new file mode 100644 index 00000000..247b578b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-direct-unoptimized.json @@ -0,0 +1,352 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/cartridge", + "bytecodeBytes": 2698, + "bytecodeSha256": "a39fb9b13b1fb0e4ff5222ca00b1cb27fb35dd464af1e76170d6241bc2fb8a0f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@f80945f, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f80945f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f80945f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:78], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ef6ae06, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6e35bc3d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d9b7a8a, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e8ce150, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@604f2bd2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@301ec38b, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@56113384, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5a9d6f02, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@56113384, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1b765a2c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2e8e8225, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@51972dc7, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1d470d0, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24d09c1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@54c62d71, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b45dcb8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@10ded6a9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "e13cd7e6baaf4c1eb2133f85ebb31fdcb1f8677b71e44d97265e58709a795ecb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-optimized-public.json new file mode 100644 index 00000000..83a2f3e4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-optimized-public.json @@ -0,0 +1,328 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/cartridge", + "bytecodeBytes": 2658, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e35bc3d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cdc4c27, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77b14724, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@301ec38b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17a1e4ca, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@373ebf74, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@373ebf74, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@373ebf74, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@67c2e933, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41dd05a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c5529ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39a8312f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f6722d3, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@294e5088, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51972dc7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@65045a87, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d1dee39, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@48d5f34e, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@fc258b1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2cf9e4647b1c385a089f4b2b5c0a49dc32ba00d1e52bce5e68a461f01fa14317", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "ab042c21f60d65ff38447b0f12a3afc2f1befe0a8dfa81a967f2c82e4ff7a363", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-optimized.json new file mode 100644 index 00000000..dd5cecb3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-optimized.json @@ -0,0 +1,357 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/cartridge", + "bytecodeBytes": 2658, + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e35bc3d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cdc4c27, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77b14724, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@301ec38b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17a1e4ca, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@373ebf74, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@373ebf74, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@373ebf74, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@67c2e933, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41dd05a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c5529ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39a8312f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f6722d3, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@294e5088, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51972dc7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@65045a87, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d1dee39, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@48d5f34e, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@fc258b1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2cf9e4647b1c385a089f4b2b5c0a49dc32ba00d1e52bce5e68a461f01fa14317", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "ab042c21f60d65ff38447b0f12a3afc2f1befe0a8dfa81a967f2c82e4ff7a363", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-unoptimized.json new file mode 100644 index 00000000..36781f51 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F4-same-no-dependency-unoptimized.json @@ -0,0 +1,352 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/cartridge", + "bytecodeBytes": 2702, + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/a/data.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/a/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/a/mod.barrel", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/b/data.pbs", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/b/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/b/mod.barrel", + "6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/main.pbs", + "7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "RoomData.value", + "file": "src/a/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "$globals.1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@576f63f6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "A.$instance", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7fcf2fc1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "A.value", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@23aa363a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e35bc3d, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cdc4c27, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77b14724, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__pbs.file_init$f1", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@584f54e6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "RoomData.value", + "file": "src/b/data.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@301ec38b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@17a1e4ca, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "$globals.4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@373ebf74, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@373ebf74, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@373ebf74, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "B.$instance", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4196c360, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4196c360, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "B.value", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(9)", + "name": "__pbs.file_init$f4", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@5669c5fb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(10)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@67c2e933, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@41dd05a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c5529ab, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39a8312f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f6722d3, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@294e5088, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51972dc7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3700ec9c, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@2002348, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31000e60, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@65045a87, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@47f4e407, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d1dee39, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@48d5f34e, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@fc258b1, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b0f373b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(11)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/a/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@eda25e5, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(12)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/b/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c5dc4a2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(13)", + "name": "__prometeu.lifecycle.frame_wrapper$m2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@225129c, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/a/data.pbs", + "relativePath": "src/a/data.pbs", + "originScope": "project", + "sha256": "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/a/main.pbs", + "relativePath": "src/a/main.pbs", + "originScope": "project", + "sha256": "2cf9e4647b1c385a089f4b2b5c0a49dc32ba00d1e52bce5e68a461f01fa14317", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/a/mod.barrel", + "relativePath": "src/a/mod.barrel", + "originScope": "project", + "sha256": "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/b/data.pbs", + "relativePath": "src/b/data.pbs", + "originScope": "project", + "sha256": "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/b/main.pbs", + "relativePath": "src/b/main.pbs", + "originScope": "project", + "sha256": "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/b/mod.barrel", + "relativePath": "src/b/mod.barrel", + "originScope": "project", + "sha256": "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 6, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "ab042c21f60d65ff38447b0f12a3afc2f1befe0a8dfa81a967f2c82e4ff7a363", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 7, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-optimized-public.json new file mode 100644 index 00000000..144cff4e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-optimized-public.json @@ -0,0 +1,241 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@acdb094, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@35a9782c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "af292197c231e837f7940d26160d799db4470d1f4ffc2ad1272009ecb1889439", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-optimized.json new file mode 100644 index 00000000..4e69f0a2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-optimized.json @@ -0,0 +1,270 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@acdb094, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@35a9782c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "af292197c231e837f7940d26160d799db4470d1f4ffc2ad1272009ecb1889439", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-unoptimized.json new file mode 100644 index 00000000..0d7a9d9b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-alias-unoptimized.json @@ -0,0 +1,265 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/cartridge", + "bytecodeBytes": 1969, + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@acdb094, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@35a9782c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "af292197c231e837f7940d26160d799db4470d1f4ffc2ad1272009ecb1889439", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-optimized-public.json new file mode 100644 index 00000000..5b68923a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-optimized-public.json @@ -0,0 +1,241 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@acdb094, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@35a9782c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "3df9d812d80a29e5ef9ce0fa42261ae7651d697fe61bebd7cf611277695acffd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-optimized.json new file mode 100644 index 00000000..4be314fd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-optimized.json @@ -0,0 +1,270 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/cartridge", + "bytecodeBytes": 1947, + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@acdb094, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@35a9782c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "3df9d812d80a29e5ef9ce0fa42261ae7651d697fe61bebd7cf611277695acffd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-optimized-public.json new file mode 100644 index 00000000..f4c3b2ca --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-optimized-public.json @@ -0,0 +1,241 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/cartridge", + "bytecodeBytes": 1951, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b45dcb8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "338f1ea93a9af3519f80196302d9c599e664f0d365a660036a073cfc4701cfda", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-optimized.json new file mode 100644 index 00000000..eefbf19e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-optimized.json @@ -0,0 +1,270 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/cartridge", + "bytecodeBytes": 1951, + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b45dcb8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "338f1ea93a9af3519f80196302d9c599e664f0d365a660036a073cfc4701cfda", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-unoptimized.json new file mode 100644 index 00000000..cf5cc8a7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-positional-unoptimized.json @@ -0,0 +1,265 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/cartridge", + "bytecodeBytes": 1973, + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ff65192, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2dd80673, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4af0df05, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b45dcb8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@7216fb24, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@acdb094, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "338f1ea93a9af3519f80196302d9c599e664f0d365a660036a073cfc4701cfda", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-unoptimized.json new file mode 100644 index 00000000..889f1c48 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-scene-unoptimized.json @@ -0,0 +1,265 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/cartridge", + "bytecodeBytes": 1969, + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "Scene.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@acdb094, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Scene.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@35a9782c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "0ff1c9d83460300b2ebf8e08756494e6d2e428c47492428c3550a52c79bf0128", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "3df9d812d80a29e5ef9ce0fa42261ae7651d697fe61bebd7cf611277695acffd", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "6846a1775981c29c7f5207e351e7556b32b8404c1678f51012f50f8c184d4076", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "9c86577e94e59c7dc032cd00305c7ccc51f491e91230c9a4d9d0864af1f265b4", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-scene", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-optimized-public.json new file mode 100644 index 00000000..47a250f4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-optimized-public.json @@ -0,0 +1,241 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/cartridge", + "bytecodeBytes": 1959, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@acdb094, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@35a9782c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "d309beb0094105002c85ee855aa65b8f31a35a98be84f9dbf6de5cf9f1b73baf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "c2a4b16876c09ee2d63b76e58a788c2b949e3fa477d733dc89c34bda04a0282d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "04704074c56c798b56d3d59a8c427879ac5da497b51349938affea6a28cf8f62", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "c51e0520b36e8ec99881d40d6c0672bd7b9101acbc8e8d1a89566e1cc69dbb65", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-optimized.json new file mode 100644 index 00000000..d2d3ef32 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-optimized.json @@ -0,0 +1,270 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/cartridge", + "bytecodeBytes": 1959, + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@acdb094, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@35a9782c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "d309beb0094105002c85ee855aa65b8f31a35a98be84f9dbf6de5cf9f1b73baf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "c2a4b16876c09ee2d63b76e58a788c2b949e3fa477d733dc89c34bda04a0282d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "04704074c56c798b56d3d59a8c427879ac5da497b51349938affea6a28cf8f62", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "c51e0520b36e8ec99881d40d6c0672bd7b9101acbc8e8d1a89566e1cc69dbb65", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-unoptimized.json new file mode 100644 index 00000000..3ccd25f1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/F5-shopvisit-unoptimized.json @@ -0,0 +1,265 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/cartridge", + "bytecodeBytes": 1981, + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/link/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/link/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/main.pbs", + "3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/mod.barrel", + "4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/scene/main.pbs", + "5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/scene/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "Link.$instance", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ceb3185, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Link.read", + "file": "src/link/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@253d9f73, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "$globals.2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1f6c9cd8, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b619d14, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@55dfebeb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1817f1eb, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@767e20cf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a3e78f, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f9678e1, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@c4ed84, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@189aa67a, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@362045c0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@112f364d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5ccbeb64, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6d9f7a80, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31d0e481, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__pbs.file_init$f2", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b41e4dd, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "ShopVisit.read", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@57ea113a, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@acdb094, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@674bd420, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "ShopVisit.$ctor.make", + "file": "src/scene/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@2072acb2, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@50ecde95, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@35a9782c, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2ceb80a1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.module_init$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m1", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@436c81a3, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/link/main.pbs", + "relativePath": "src/link/main.pbs", + "originScope": "project", + "sha256": "d309beb0094105002c85ee855aa65b8f31a35a98be84f9dbf6de5cf9f1b73baf", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/link/mod.barrel", + "relativePath": "src/link/mod.barrel", + "originScope": "project", + "sha256": "84ed63f1f9cc894e66f76f2ec91dd02d617937cd642814fb981cca8b33440d7e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "c2a4b16876c09ee2d63b76e58a788c2b949e3fa477d733dc89c34bda04a0282d", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 3, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 4, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/scene/main.pbs", + "relativePath": "src/scene/main.pbs", + "originScope": "project", + "sha256": "04704074c56c798b56d3d59a8c427879ac5da497b51349938affea6a28cf8f62", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 5, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src/scene/mod.barrel", + "relativePath": "src/scene/mod.barrel", + "originScope": "project", + "sha256": "c51e0520b36e8ec99881d40d6c0672bd7b9101acbc8e8d1a89566e1cc69dbb65", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-optimized-public.json new file mode 100644 index 00000000..734abc24 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-optimized-public.json @@ -0,0 +1,94 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized-public/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d62fe5b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5cc3dba182dd69a791a9b24f0ce8da877937bbc7e1ac32c2e3566c32fec44c28", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-optimized.json new file mode 100644 index 00000000..b6410472 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-optimized.json @@ -0,0 +1,123 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d62fe5b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5cc3dba182dd69a791a9b24f0ce8da877937bbc7e1ac32c2e3566c32fec44c28", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-unoptimized.json new file mode 100644 index 00000000..bbba6615 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/compilation/installed/runtime-trap-control-unoptimized.json @@ -0,0 +1,118 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/unoptimized/cartridge", + "bytecodeBytes": 558, + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@d62fe5b, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@49964d75, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@528c868, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@466276d8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@27d5a580, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "5cc3dba182dd69a791a9b24f0ce8da877937bbc7e1ac32c2e3566c32fec44c28", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-condition-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-condition-optimized.json new file mode 100644 index 00000000..917d8acf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-condition-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 138, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 138, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "4f197eff629b4d9d88e88d4e8525934e", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-condition", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-condition-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-condition-unoptimized.json new file mode 100644 index 00000000..f92eb73d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-condition-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 144, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-condition/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 144, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "527c2db0e88343df6cfc4aa0b5c4bf40", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-condition", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-direct-optimized.json new file mode 100644 index 00000000..5306e7b6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-direct-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 148, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 148, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "f414e9632a1b8619b1986527f9c3831b", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-direct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "bytecodeSha256": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-direct-unoptimized.json new file mode 100644 index 00000000..dbcb815e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-direct-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 154, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-direct/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 154, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "4419fa7d0bae2676b5e2e9582be7a143", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-direct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "bytecodeSha256": "d709189473a3cc1c9ff1bb4a0887bd51bafddabf129a02d876a02e37056ff566", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-local-optimized.json new file mode 100644 index 00000000..499710d2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-local-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "2af662296e8b7e8d4adf3e3664a9e0da", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-local-unoptimized.json new file mode 100644 index 00000000..3f9c0fd2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-local-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 166, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 166, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "6e003ab42b24b28630208c21750a07c0", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-local-optimized.json new file mode 100644 index 00000000..28e16f94 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-local-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "36098b3bc49a3a5df81847a29d778c05", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-local-unoptimized.json new file mode 100644 index 00000000..02ce3ccb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-local-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 192, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 192, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "dca7b2eafaf7a9051eef334cf1d50e1e", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-this-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-this-optimized.json new file mode 100644 index 00000000..30ab3d03 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-this-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 174, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 174, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "1e81faffccdcdda314480cb644db58d1", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "bytecodeSha256": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-this-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-this-unoptimized.json new file mode 100644 index 00000000..b2145ea2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-service-this-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 180, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-service-this/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 180, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "98cbf6307b8af8b102e4bc83aefb6a15", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "bytecodeSha256": "8341bab19d4943a8d414b3c2ef7ba4552bd05c7a93c9b0d8af555ee3bfbf9b39", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-two-calls-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-two-calls-optimized.json new file mode 100644 index 00000000..4f991e57 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-two-calls-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 154, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 154, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "329e401980856126be8fc63e59b9b789", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "bytecodeSha256": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-two-calls-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-two-calls-unoptimized.json new file mode 100644 index 00000000..bd573d6c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F1-two-calls-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F1-two-calls/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "4dd7f0a41c14fc96303c487eb7a5d557", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "bytecodeSha256": "f910c0f6e31276cd7d4bff2cde54900820bc354e61759eb518e79b5ffccd3ec9", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-arguments-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-arguments-optimized.json new file mode 100644 index 00000000..aa73ffc8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-arguments-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 208, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 208, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "010ad961022fa284379460b7321f3410", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-arguments-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-arguments-unoptimized.json new file mode 100644 index 00000000..2eacc3a9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-arguments-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 214, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-arguments/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 214, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "a052d982f132245f246d1a3c31f22285", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-expression-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-expression-optimized.json new file mode 100644 index 00000000..69db7d0e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-expression-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 216, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 216, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "200fe31c3467eca35ef409010f810ad4", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-expression", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-expression-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-expression-unoptimized.json new file mode 100644 index 00000000..00069ab0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-expression-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 222, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-expression/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 222, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "32575160863993071f435eb1e5ce1808", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-expression", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-locals-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-locals-optimized.json new file mode 100644 index 00000000..e1faf474 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-locals-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 232, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 232, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "42fe10af0bd769922d8b0fa2d01e1170", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-locals", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-locals-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-locals-unoptimized.json new file mode 100644 index 00000000..8f3299cd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-locals-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 238, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-locals/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 238, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "020a21628117479435cfec6d55a2382a", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-locals", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-struct-method-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-struct-method-optimized.json new file mode 100644 index 00000000..646cc362 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-struct-method-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 184, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 184, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "7cee4db6ae86b5454012f03ca9942f64", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-struct-method-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-struct-method-unoptimized.json new file mode 100644 index 00000000..1872e78d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F2-struct-method-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 190, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F2-struct-method/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 190, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "e74d6aa24321115f38756aa3846dbbd7", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-function-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-function-optimized.json new file mode 100644 index 00000000..6aaeb81e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-function-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "163937d101dae0241e71a75aa04db6f8", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-function", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "bytecodeSha256": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-function-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-function-unoptimized.json new file mode 100644 index 00000000..7fe60664 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-function-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-function/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "cad139bdb356788fd13f6bbba56aa573", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-function", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "bytecodeSha256": "c098719dae70b95ba847e7813e5fa7c005f99337946d6e06f5e5fc4381051f79", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-local-optimized.json new file mode 100644 index 00000000..3e1442e4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-local-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "b478b7c08f2c166953e083422a6964e4", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-local-unoptimized.json new file mode 100644 index 00000000..2c31e059 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-local-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "9cf6509778e1bc8ecbb26dbcc51dcf8a", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-optimized.json new file mode 100644 index 00000000..a80c3dd3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "c028ded8359dd2ca4ca026b70c35059f", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-global", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "bytecodeSha256": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-unoptimized.json new file mode 100644 index 00000000..094e1556 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-global-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c99d7225424363674a9c407480475340", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c99d7225424363674a9c407480475340", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "c99d7225424363674a9c407480475340", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-global/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "c99d7225424363674a9c407480475340", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c99d7225424363674a9c407480475340", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c99d7225424363674a9c407480475340", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c99d7225424363674a9c407480475340", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "c99d7225424363674a9c407480475340", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "c99d7225424363674a9c407480475340", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "c99d7225424363674a9c407480475340", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "c99d7225424363674a9c407480475340", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-global", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "bytecodeSha256": "8ffa05f45c4a33784ca0bb524d4a6b7dfb527781c8ebb40b5d08df4fa7a6a22c", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-local-optimized.json new file mode 100644 index 00000000..425c58ba --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-local-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "44ead04d6da28b0c81e4193462a6d252", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-local-unoptimized.json new file mode 100644 index 00000000..c404b804 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-local-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "d2c2f3996b61a65d06ae18d1851af3a9", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-optimized.json new file mode 100644 index 00000000..5bb0f2db --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "ae3d5af0756fe8dda43b5726ae7e6dc8", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-service", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "bytecodeSha256": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-unoptimized.json new file mode 100644 index 00000000..d57eab20 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-service-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-service/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "b33031896b4b4172c1b1e558dbc98629", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-service", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "bytecodeSha256": "c568447b582b4839b65e1e7368f0d07b61bfaa038ba28d984434c8db6df7c64f", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-single-file-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-single-file-optimized.json new file mode 100644 index 00000000..f3527491 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-single-file-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "95535b6fcc05fb495ac5d1ec3f6f5d39", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-single-file-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-single-file-unoptimized.json new file mode 100644 index 00000000..f5ded286 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F3-single-file-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F3-single-file/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "8a14fd18d377825b6963817194abbe89", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-distinct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-distinct-optimized.json new file mode 100644 index 00000000..e374f1fb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-distinct-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "cf6c84bc66ae11452c8dd830ad7d845d", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-distinct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-distinct-unoptimized.json new file mode 100644 index 00000000..203542e8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-distinct-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-distinct/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "9f8278f11d880eeaaeba9c283bb61fb0", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-public-aliases-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-public-aliases-optimized.json new file mode 100644 index 00000000..1add016d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-public-aliases-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 304, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 304, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "34ff252fec46d345da107b808f5e1d7e", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-public-aliases-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-public-aliases-unoptimized.json new file mode 100644 index 00000000..47d0bdcf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-public-aliases-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 310, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-public-aliases/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 310, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "2664fafdc7c469e41b8189d4f41bcb42", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-rename-a-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-rename-a-optimized.json new file mode 100644 index 00000000..8de677fd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-rename-a-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "f74f2201d4e476032519ba75ee4e9548", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-rename-a-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-rename-a-unoptimized.json new file mode 100644 index 00000000..461443ee --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-rename-a-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-rename-a/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "6de5fd1a4ca7de4384c3697f9b88bfe6", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-dependency-optimized.json new file mode 100644 index 00000000..1213b10b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-dependency-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "4799f80ca7bc74c8ab55d9ff04ba94f9", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "bytecodeSha256": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-dependency-unoptimized.json new file mode 100644 index 00000000..15783ad7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-dependency-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-dependency/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "5e21825d9d3365f1037b53458266a07d", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "bytecodeSha256": "af13fe4f09ef762fb916c055924c250f045d895f739a5b55f40ee0c30a3dc379", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-direct-optimized.json new file mode 100644 index 00000000..9592e991 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-direct-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 368, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 368, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "8588c10bf99e72e621d1539a131bbe49", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "bytecodeSha256": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-direct-unoptimized.json new file mode 100644 index 00000000..55d8c59d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-direct-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 380, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-direct/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 380, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "0039a050d7555fc53aad12843235b494", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "bytecodeSha256": "a39fb9b13b1fb0e4ff5222ca00b1cb27fb35dd464af1e76170d6241bc2fb8a0f", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-no-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-no-dependency-optimized.json new file mode 100644 index 00000000..0b889cdb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-no-dependency-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 372, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 372, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "c97651ed8e5a70a7170cef90da0eee0c", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-no-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-no-dependency-unoptimized.json new file mode 100644 index 00000000..ca55a108 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F4-same-no-dependency-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 384, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F4-same-no-dependency/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 384, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "f6e3588ddd17f54abf8b6aec85f143a8", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-alias-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-alias-optimized.json new file mode 100644 index 00000000..f5b658b4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-alias-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "e2b179331a1f32a21a008332748f24d6", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-alias-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-alias-unoptimized.json new file mode 100644 index 00000000..66379610 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-alias-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-alias/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "62c0363d19ccacfd36318880e2fec62a", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-optimized.json new file mode 100644 index 00000000..bb8594fd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "0532a65f63f4472f0e6ac32211b2f052", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-positional-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-positional-optimized.json new file mode 100644 index 00000000..9fadf29f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-positional-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 284, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 284, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "47aa102b1e8ceadcba11fd2ea5110e94", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-positional-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-positional-unoptimized.json new file mode 100644 index 00000000..91548dc2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-positional-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 290, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene-positional/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 290, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "772440776d3593608be8a0e7d8e34e75", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-unoptimized.json new file mode 100644 index 00000000..b0fdb99e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-scene-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-scene/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "dd1cfd4369a7d25be7b2e1fedd085e4b", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-shopvisit-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-shopvisit-optimized.json new file mode 100644 index 00000000..784f72d7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-shopvisit-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "bfab3a1db6f3063276c50490073b96ad", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-shopvisit-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-shopvisit-unoptimized.json new file mode 100644 index 00000000..024f28fa --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/F5-shopvisit-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/F5-shopvisit/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "7e745813ecbf87f6d541393e09240ea4", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/runtime-trap-control-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/runtime-trap-control-optimized.json new file mode 100644 index 00000000..1681dac0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/runtime-trap-control-optimized.json @@ -0,0 +1,337 @@ +{ + "observedRuntime": "fault", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4fdd88fa9897007c0b6a5082a68613b6", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "state": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4fdd88fa9897007c0b6a5082a68613b6", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "4fdd88fa9897007c0b6a5082a68613b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "4fdd88fa9897007c0b6a5082a68613b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "sessionId": "4fdd88fa9897007c0b6a5082a68613b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "sessionId": "4fdd88fa9897007c0b6a5082a68613b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "sessionId": "4fdd88fa9897007c0b6a5082a68613b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "4fdd88fa9897007c0b6a5082a68613b6", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/runtime-trap-control-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/runtime-trap-control-unoptimized.json new file mode 100644 index 00000000..d4de128b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/checkout/runtime-trap-control-unoptimized.json @@ -0,0 +1,337 @@ +{ + "observedRuntime": "fault", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f223471ec8671e4f7b87dad654b456df", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "state": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f223471ec8671e4f7b87dad654b456df", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "f223471ec8671e4f7b87dad654b456df", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/checkout/runtime-trap-control/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "f223471ec8671e4f7b87dad654b456df", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "sessionId": "f223471ec8671e4f7b87dad654b456df", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "sessionId": "f223471ec8671e4f7b87dad654b456df", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "sessionId": "f223471ec8671e4f7b87dad654b456df", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "f223471ec8671e4f7b87dad654b456df", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-condition-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-condition-optimized.json new file mode 100644 index 00000000..a05fe031 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-condition-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 138, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 138, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "476baf02d9af0a0aa0e3a200d756d694", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-condition", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-condition-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-condition-unoptimized.json new file mode 100644 index 00000000..01993ebf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-condition-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 144, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-condition/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 144, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "dc6580a87dfb22ed42a6efec7e7dae9f", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-condition", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-direct-optimized.json new file mode 100644 index 00000000..8df1e0e0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-direct-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 148, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 148, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "d77397e35688761e3b7f7f454e8958fa", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-direct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "bytecodeSha256": "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-direct-unoptimized.json new file mode 100644 index 00000000..a2779d5f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-direct-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 154, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-direct/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 154, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "2722d2637cf2eb53850c575da357565e", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-direct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "bytecodeSha256": "d709189473a3cc1c9ff1bb4a0887bd51bafddabf129a02d876a02e37056ff566", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-local-optimized.json new file mode 100644 index 00000000..5c3bab3b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-local-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "269c46c1476d9816f2340766cf0b30e3", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-local-unoptimized.json new file mode 100644 index 00000000..5c8ea04c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-local-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 166, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 166, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "a6f18de194782b8444724cda0bf63fc7", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-local-optimized.json new file mode 100644 index 00000000..95159d36 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-local-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "12ff76a56326c8e2e6a3ba1504a02a45", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-service-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-local-unoptimized.json new file mode 100644 index 00000000..873085c5 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-local-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 192, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 192, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "0bf7ed186511415dd505c99d36e4a9cb", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-service-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-this-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-this-optimized.json new file mode 100644 index 00000000..4b1d9483 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-this-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 174, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 174, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "007ba53abcc227c5db598e733e8adab6", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-service-this", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "bytecodeSha256": "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-this-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-this-unoptimized.json new file mode 100644 index 00000000..82ec8ce8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-service-this-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 180, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-service-this/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 180, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "b5d2d41fce80f3003e345e9e287dca7d", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-service-this", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "bytecodeSha256": "8341bab19d4943a8d414b3c2ef7ba4552bd05c7a93c9b0d8af555ee3bfbf9b39", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-two-calls-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-two-calls-optimized.json new file mode 100644 index 00000000..55d9c819 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-two-calls-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 154, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 154, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "bbf9c06a89cbd92328d0cc1ee8f59f78", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "bytecodeSha256": "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-two-calls-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-two-calls-unoptimized.json new file mode 100644 index 00000000..9ed5d34f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F1-two-calls-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F1-two-calls/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 160, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "24a5751a293cf04b76fa31ea994f7a14", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "bytecodeSha256": "f910c0f6e31276cd7d4bff2cde54900820bc354e61759eb518e79b5ffccd3ec9", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-arguments-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-arguments-optimized.json new file mode 100644 index 00000000..6225b4f2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-arguments-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 208, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 208, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "03a2c1a64b63f3067d368bf5413deb20", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-arguments", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-arguments-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-arguments-unoptimized.json new file mode 100644 index 00000000..de5a3cd7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-arguments-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 214, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-arguments/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 214, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "75d11657fd723c50df7eaa25213070dd", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-arguments", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-expression-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-expression-optimized.json new file mode 100644 index 00000000..fe976ace --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-expression-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 216, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 216, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "dce837d3961f149a368a38c8e7ea019b", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-expression", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-expression-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-expression-unoptimized.json new file mode 100644 index 00000000..dc06840d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-expression-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 222, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-expression/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 222, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "579a3b6a14f26459b0697c58a79b1a39", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-expression", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-locals-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-locals-optimized.json new file mode 100644 index 00000000..047f4a62 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-locals-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 232, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 232, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "5aecce12a144aa2ecc0aebc6681dce81", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-locals", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-locals-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-locals-unoptimized.json new file mode 100644 index 00000000..1d784dfd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-locals-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 238, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-locals/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 238, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "06ffece6c7c5d03a6e47c505cd449443", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-locals", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-struct-method-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-struct-method-optimized.json new file mode 100644 index 00000000..8b5f023c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-struct-method-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 184, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 184, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "75e6d74c164da3435a4bbce145834d85", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-struct-method-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-struct-method-unoptimized.json new file mode 100644 index 00000000..3b4c9861 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F2-struct-method-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 190, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F2-struct-method/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 190, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "5d8a89cbaee8da4f21b8796988618fc3", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-function-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-function-optimized.json new file mode 100644 index 00000000..4f0c33ae --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-function-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "87c26e6c1fa5b84265e5bde9032ea567", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-function", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "bytecodeSha256": "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-function-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-function-unoptimized.json new file mode 100644 index 00000000..223bc361 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-function-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-function/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "fd5c4188e23892f5b83601ccb7659aa0", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-function", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "bytecodeSha256": "c098719dae70b95ba847e7813e5fa7c005f99337946d6e06f5e5fc4381051f79", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-local-optimized.json new file mode 100644 index 00000000..79390c99 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-local-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "5af5e9e06a2b5ce5c00d4ce4383daa52", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-global-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-local-unoptimized.json new file mode 100644 index 00000000..18b399fc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-local-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "5fba78fbfec99e2cd416045decb88d00", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-global-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-optimized.json new file mode 100644 index 00000000..f23627d2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 124, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "36c9a4dc20df50dbd0cdec8aa5dae83e", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-global", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "bytecodeSha256": "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-unoptimized.json new file mode 100644 index 00000000..cd5de4be --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-global-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-global/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 130, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "a632dfa293d2451379dc42c2d4e4c4b4", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-global", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "bytecodeSha256": "8ffa05f45c4a33784ca0bb524d4a6b7dfb527781c8ebb40b5d08df4fa7a6a22c", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-local-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-local-optimized.json new file mode 100644 index 00000000..3bc9042a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-local-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "df96aaa3e997c5bfb11b75ef3b1bd944", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-service-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-local-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-local-unoptimized.json new file mode 100644 index 00000000..ff79d7fc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-local-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service-local/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "9a556e8a76bdf60e3fccbcc52c12d2ac", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-service-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-optimized.json new file mode 100644 index 00000000..6b1d6d78 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 136, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "6d6f7c3e487c44b978ec42fadb2c0607", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-service", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "bytecodeSha256": "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-unoptimized.json new file mode 100644 index 00000000..142c3181 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-service-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-service/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 142, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "9603349ad7d1f2834859a4f7af4e3ad3", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-service", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "bytecodeSha256": "c568447b582b4839b65e1e7368f0d07b61bfaa038ba28d984434c8db6df7c64f", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-single-file-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-single-file-optimized.json new file mode 100644 index 00000000..ea19df7a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-single-file-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 110, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "0dab401d28be59da0146e12bec565197", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-single-file", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-single-file-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-single-file-unoptimized.json new file mode 100644 index 00000000..127c3431 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F3-single-file-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F3-single-file/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 116, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "20aacc622f5fa03c02a2db2c1581933e", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F3-single-file", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-distinct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-distinct-optimized.json new file mode 100644 index 00000000..ec6d6c7b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-distinct-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "67a8799ccc3f3adf9436f060fdb29e06", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-distinct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-distinct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-distinct-unoptimized.json new file mode 100644 index 00000000..8996034e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-distinct-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-distinct/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "4944d8900dafe8690ccdff94580bafd5", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-distinct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-public-aliases-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-public-aliases-optimized.json new file mode 100644 index 00000000..ad19f71b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-public-aliases-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 304, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 304, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "0deec54b15b4eadd5830944d0ada11bf", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-public-aliases-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-public-aliases-unoptimized.json new file mode 100644 index 00000000..1197d51d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-public-aliases-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 310, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-public-aliases/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 310, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "1206243ea430dc3e994e437e5b5955ce", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-rename-a-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-rename-a-optimized.json new file mode 100644 index 00000000..4572e9cd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-rename-a-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "bb5baa7afb9441d5d83322071a0b4c01", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-rename-a-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-rename-a-unoptimized.json new file mode 100644 index 00000000..30f67225 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-rename-a-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-rename-a/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "2cf1c688540d81b912d8a3949158cf60", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-dependency-optimized.json new file mode 100644 index 00000000..cb6e2809 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-dependency-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 392, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "fa8823ade0d95abaffa8fcd4ebc39ed8", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "bytecodeSha256": "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-dependency-unoptimized.json new file mode 100644 index 00000000..86da0001 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-dependency-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-dependency/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 404, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "4c9ffa43a0e1fa6f478602ffea498ea4", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "bytecodeSha256": "af13fe4f09ef762fb916c055924c250f045d895f739a5b55f40ee0c30a3dc379", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-direct-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-direct-optimized.json new file mode 100644 index 00000000..df953200 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-direct-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 368, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 368, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "f0da509ec728bdb8460f91ee64c0882c", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "bytecodeSha256": "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-direct-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-direct-unoptimized.json new file mode 100644 index 00000000..6cdbc402 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-direct-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 380, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-direct/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 380, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "b9e63623d6784f548c80aa5bfc132a46", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "bytecodeSha256": "a39fb9b13b1fb0e4ff5222ca00b1cb27fb35dd464af1e76170d6241bc2fb8a0f", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-no-dependency-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-no-dependency-optimized.json new file mode 100644 index 00000000..a2b23882 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-no-dependency-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 372, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 372, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "8fadd1951c2d952e0042416def94e0ca", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-no-dependency-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-no-dependency-unoptimized.json new file mode 100644 index 00000000..e1f3bcf2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F4-same-no-dependency-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 384, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F4-same-no-dependency/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 384, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "d665b6f02acd9aa1cbbbe8750281915d", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-alias-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-alias-optimized.json new file mode 100644 index 00000000..dd7a1d95 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-alias-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "1dc0637f50cbc1f2e1d32450f73921d6", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-alias-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-alias-unoptimized.json new file mode 100644 index 00000000..100e6cb7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-alias-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-alias/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "e6e9bd15da7824f9ea72b795b4afb7da", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-optimized.json new file mode 100644 index 00000000..bd298f80 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "6d3cc40e1e3bbb512668faeaf4acb5b6", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-positional-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-positional-optimized.json new file mode 100644 index 00000000..3bfb692f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-positional-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 284, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 284, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "c168d8ff9f0a9d471c83ca820bc78ad5", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-positional-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-positional-unoptimized.json new file mode 100644 index 00000000..9105b70c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-positional-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 290, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene-positional/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 290, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "80d197467de86ca5eabdd185d96344f4", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-unoptimized.json new file mode 100644 index 00000000..2fdea722 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-scene-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-scene/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "6f9285b34be1a6f798e8810575c5dfd8", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-scene", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-shopvisit-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-shopvisit-optimized.json new file mode 100644 index 00000000..1c667d2e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-shopvisit-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 280, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "12938647c0e312907e4a082d519ffcbd", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-shopvisit-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-shopvisit-unoptimized.json new file mode 100644 index 00000000..19bdd6ab --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/F5-shopvisit-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/F5-shopvisit/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 286, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "8d0e117a048689bb87aa544ea10c93a1", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/runtime-trap-control-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/runtime-trap-control-optimized.json new file mode 100644 index 00000000..a7e965c9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/runtime-trap-control-optimized.json @@ -0,0 +1,337 @@ +{ + "observedRuntime": "fault", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "290fcbf4e75ca634bb1f0c2674c9a76c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "state": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "290fcbf4e75ca634bb1f0c2674c9a76c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "290fcbf4e75ca634bb1f0c2674c9a76c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "290fcbf4e75ca634bb1f0c2674c9a76c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "sessionId": "290fcbf4e75ca634bb1f0c2674c9a76c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "sessionId": "290fcbf4e75ca634bb1f0c2674c9a76c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "sessionId": "290fcbf4e75ca634bb1f0c2674c9a76c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "290fcbf4e75ca634bb1f0c2674c9a76c", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/runtime-trap-control-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/runtime-trap-control-unoptimized.json new file mode 100644 index 00000000..72f18842 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/execution/installed/runtime-trap-control-unoptimized.json @@ -0,0 +1,337 @@ +{ + "observedRuntime": "fault", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "18af7d986a8764925a7fc2544148e721", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "state": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "18af7d986a8764925a7fc2544148e721", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "18af7d986a8764925a7fc2544148e721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw/installed/runtime-trap-control/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "18af7d986a8764925a7fc2544148e721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 0, + "fault": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "requested": 3, + "stop": "faulted" + }, + "sessionId": "18af7d986a8764925a7fc2544148e721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": { + "kind": "vm_trap", + "pc": 46, + "summary": "PVM Trap 0x0000000A at PC 0x2E (opcode 0x0023): Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "trap": { + "code": 10, + "message": "Numeric operation failed: NumericError { code: 10, argument: None } (in function frame)", + "opcode": 35, + "pc": 46, + "resource": null, + "span": { + "end": 44, + "file_id": 0, + "start": 41 + } + } + }, + "sessionId": "18af7d986a8764925a7fc2544148e721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 0, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "faulted", + "tickIndex": 0 + }, + "sessionId": "18af7d986a8764925a7fc2544148e721", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "18af7d986a8764925a7fc2544148e721", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d", + "expectedRuntime": "fault", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/provenance.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/provenance.json new file mode 100644 index 00000000..3908d211 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/provenance.json @@ -0,0 +1,255 @@ +{ + "schemaVersion": 1, + "corpusSha256": "0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87", + "runtime": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless", + "runtimeSha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6", + "platform": "macOS-27.2-arm64-arm-64bit", + "gitHead": "38f201a9c9e9e23e961da4fa715ed5ee80283e94", + "worktreeStatus": [ + " M \"docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md\"", + " M \"docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md\"", + " M \"docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md\"", + " M \"docs/specs/compiler/15. Bytecode and PBX Mapping Specification.md\"", + " M \"docs/specs/compiler/19. Verification and Safety Checks Specification.md\"", + " M \"docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md\"", + " M \"docs/specs/studio/10. DEV and Automation Specification.md\"", + " M \"docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md\"", + " M \"docs/specs/studio/8. Project-Local Studio State Specification.md\"", + " M \"docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md\"", + " M prometeu-app/src/main/java/p/studio/app/compiler/CompilerBuildGatewayAdapter.java", + " M prometeu-app/src/main/java/p/studio/app/lsp/AutomationLspQueries.java", + " M prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java", + " M prometeu-app/src/main/java/p/studio/app/mcp/McpTaskTools.java", + " M prometeu-app/src/main/java/p/studio/app/operation/ExecutorOperationExecutor.java", + " M prometeu-app/src/main/resources/mcp/studio-tools-v1.json", + " M prometeu-app/src/test/java/p/studio/app/DevDesktopTest.java", + " M prometeu-app/src/test/java/p/studio/app/lsp/AutomationLspQueriesTest.java", + " M prometeu-app/src/test/java/p/studio/app/mcp/McpTaskToolsTest.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsFrontendCompiler.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericDiagnostics.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallableRegistryFactory.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallsiteEmitter.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringService.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableMetadataIndexFactory.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowCallableResolutionAnalyzer.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PBSFrontendPhaseService.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContextService.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssembly.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssemblyService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeEmitter.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationException.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/LowerToIRVMService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/OptimizeIRVMService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierServiceTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/SyntheticFrontendPipelineTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendPhaseService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendProvider.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStageTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStageTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStageTest.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssue.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssueSink.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/SourceHandle.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostic.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/RelatedSpan.java", + " M prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackend.java", + " M prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackendExecutableFunction.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentAnalysis.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentIssue.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridge.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/ExternalSourceLanguageServer.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuLanguageServer.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuTextDocumentService.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/mapping/Lsp4jProtocolMessageMapper.java", + " M prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/ExternalSourceDevelopmentHostTest.java", + " M prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridgeTest.java", + " M prometeu-studio-api/build.gradle.kts", + " M prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationFailure.java", + " M prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationOutcome.java", + " M prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSnapshot.java", + " M prometeu-studio-api/src/main/java/p/studio/api/diagnostic/StudioDiagnostic.java", + " M prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPreparationStatus.java", + " M prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPrepareResult.java", + " M prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryPort.java", + " M prometeu-studio-core/src/main/java/p/studio/core/language/TaskLanguageQueries.java", + " M prometeu-studio-core/src/main/java/p/studio/core/session/DefaultAutomationSession.java", + " M prometeu-studio-core/src/main/java/p/studio/core/session/DefaultTaskTools.java", + " M prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildGateway.java", + " M prometeu-studio-core/src/main/java/p/studio/core/shipper/StudioShipperService.java", + " M prometeu-studio-core/src/test/java/p/studio/core/language/TaskLanguageQueriesTest.java", + " M prometeu-studio-core/src/test/java/p/studio/core/session/DefaultAutomationSessionTest.java", + " M prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/builder/ShipperWorkspace.java", + " M prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspace.java", + " M prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspaceProjection.java", + " M tools/vscode-extension/.gitignore", + " M tools/vscode-extension/README.md", + " M tools/vscode-extension/out/extension.js", + " M tools/vscode-extension/out/externalSources.js", + " M tools/vscode-extension/package.json", + " M tools/vscode-extension/src/extension.ts", + " M tools/vscode-extension/src/externalSources.ts", + " M tools/vscode-extension/src/test/externalSources.ts", + "?? discussion/lessons/DSC-0103-studio-lsp-discovery/", + "?? discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/", + "?? discussion/lessons/DSC-0113-studio-ai-first-build-language-results/", + "?? prometeu-app/src/test/java/p/studio/app/compiler/fixture/", + "?? prometeu-app/src/test/java/p/studio/app/lsp/LanguageFailureContractTest.java", + "?? prometeu-app/src/test/java/p/studio/app/lsp/LspDiscoveryTest.java", + "?? prometeu-app/src/test/java/p/studio/app/mcp/StructuredDiagnosticsIntegrationTest.java", + "?? prometeu-app/src/test/resources/diagnostics/", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsDiagnosticFacts.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsImportedGlobalSlots.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsGlobalReferenceLinker.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/GenericDiagnosticContextTest.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/lowering/", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsProductionLoweringRegressionTest.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/IRVMAttributionTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/PbsFacadeDiagnosticTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/CompilerFailurePayloadTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/FrontendDiagnosticProjectionTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/CompilerDiagnosticProjection.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticDescriptions.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/FailureKind.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceReference.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/VerificationContext.java", + "?? prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/ConsumedSourceProjectionTest.java", + "?? prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/StructuredDiagnosticTest.java", + "?? prometeu-infra/src/main/java/p/studio/utilities/json/", + "?? prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/protocol/DiagnosticAnalysisProtocolTest.java", + "?? prometeu-studio-api/src/test/java/p/studio/api/diagnostic/", + "?? prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryExecution.java", + "?? prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildFailure.java", + "?? prometeu-studio-core/src/test/java/p/studio/core/shipper/", + "?? prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/", + "?? prometeu-studio-ui-javafx/src/test/java/p/studio/ui/javafx/diagnostics/", + "?? tools/pbs-production-corpus/", + "?? tools/vscode-extension/out/discovery.js", + "?? tools/vscode-extension/src/discovery.ts", + "?? tools/vscode-extension/src/test/discovery.ts" + ], + "java": "openjdk version \"21.0.4\" 2024-07-16 LTS\nOpenJDK Runtime Environment Corretto-21.0.4.7.1 (build 21.0.4+7-LTS)\nOpenJDK 64-Bit Server VM Corretto-21.0.4.7.1 (build 21.0.4+7-LTS, mixed mode)\n", + "distribution": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app", + "jars": { + "antlr4-runtime-4.11.1.jar": "e06c6553c1ccc14d36052ec4b0fc6f13b808cf957b5b1dc3f61bf401996ada59", + "asm-9.7.jar": "adf46d5e34940bdf148ecdd26a9ee8eea94496a72034ff7141066b3eea5c4e9d", + "asm-commons-9.7.jar": "389bc247958e049fc9a0408d398c92c6d370c18035120395d4cba1d9d9304b7a", + "asm-tree-9.7.jar": "62f4b3bc436045c1acb5c3ba2d8ec556ec3369093d7f5d06c747eb04b56d52b1", + "checker-qual-3.21.2.jar": "7e8554c902b9b839e61396cfe3a64c84ecabfb8eb652c410bfd8e4f5c1a8ece8", + "commons-collections4-4.4.jar": "1df8b9430b5c8ed143d7815e403e33ef5371b2400aadbe9bda0883762e0846d1", + "commons-io-2.20.0.jar": "df90bba0fe3cb586b7f164e78fe8f8f4da3f2dd5c27fa645f888100ccc25dd72", + "commons-lang3-3.18.0.jar": "4eeeae8d20c078abb64b015ec158add383ac581571cddc45c68f0c9ae0230720", + "error_prone_annotations-2.50.0.jar": "4667724877f1d37a689202da191e23efa7657c62eef93ccdac406eccfe5cdd0a", + "flowless-0.7.2.jar": "56cadfc2e493f1de601998580b1ed6256fc158ef8c5a3379e4a45dc06724cf0f", + "gson-2.15.0.jar": "96d3dd843dc2911de01cdabcd50064cb9e860353102a0a78c96fd833d396fc7d", + "jackson-annotations-2.18.2.jar": "581bd61000ef7648943f781ca05689e56d03f6052748365a8e2b3a9b5d3fa32f", + "jackson-core-2.18.2.jar": "d8054ae7c0d1c2d2f55d28e46026ebe5892881f3fab5f439233184381c3b4a1f", + "jackson-databind-2.18.2.jar": "4b364e6850dc89172fcf1d4dd26b8ff5488eda44ff4657e22dd265203dd5ab3c", + "javafx-base-23.0.2-mac-aarch64.jar": "1e0b22c5a79239df71f7658379d896acc6f37411ce78d1235d6c3839defdfbeb", + "javafx-controls-23.0.2-mac-aarch64.jar": "39d923ab76f456784f189ff022a5437994726c79f40680540060a16cb259631f", + "javafx-fxml-23.0.2-mac-aarch64.jar": "7f3c4c8e18dffa10aad345b931cf69e3d009a761c4beecf3aa9fbf4d6bb3dd88", + "javafx-graphics-23.0.2-mac-aarch64.jar": "774f9d4980980730573e5b56f335203507522b7961953d8ed9a7a32b064c201e", + "micrometer-commons-1.15.12.jar": "4b779cf7acb0534bb1f8e964f25200037ecb3944368f859a630fa637d6d5d7c0", + "micrometer-observation-1.15.12.jar": "54483e68ed44af1bb0c36d1df2235d36f233e459d52f5a3be3e69813827a6300", + "org.eclipse.lsp4j-1.0.0.jar": "ccd78893facc6bfcc359d56cba05d3d5b85eb41e4c40d4b4215ca45db5f416d9", + "org.eclipse.lsp4j.jsonrpc-1.0.0.jar": "9647feb0524bf763c878e12ab878a684102b81cccb3f77feecbec709d54f9bbb", + "org.jacoco.core-0.8.12.jar": "fca26db37c0c5fbd5dc4985237eb82866df9799d5082af899475a73f91f5b035", + "prometeu-animation.jar": "14e8fa35594dc87d57ecb02774e8d59d01708b2f557707da4cb194b384fd6ba3", + "prometeu-app.jar": "db378ff1d885febee26ca682d2101b6f96b8d18639db0a6859aa00984e3aab84", + "prometeu-build-pipeline.jar": "94df1054a70e2dd397348c9facbccaa24354c9fc56ca84b3e6baecfc6f77b5be", + "prometeu-compiler-core.jar": "d50a0a4767118e31d06a5106cf4b78fbe62ae491593a27099699b712c018537e", + "prometeu-deps.jar": "83a4f709e35b92f5a559f5cdc177853c1eb836d38d88740959b0162c4233ccb4", + "prometeu-frontend-api.jar": "9b5dffe3ae1b1057eecad9c77d2019a2115b9c6b3027919d4cae56c2aaabdd2d", + "prometeu-frontend-pbs.jar": "bac53767f601067344318bded91a16cae62d8377a6091c5283fe6205ea3ac167", + "prometeu-frontend-registry.jar": "5335baaa8d105a9f7ad7968d66edbd104afc1da2b206795adb5f12259a104a86", + "prometeu-infra.jar": "c921e3aad6ca06c5f1f81a0a974a7c98de7952bbf7f1aa709270b1e799881191", + "prometeu-lsp-api.jar": "bc0785c9adb3ad70caf7aaccd8159a118742c01f20d3a08a8c0282cae731a972", + "prometeu-lsp-v1.jar": "51d2d2f1930f6c735a7b3d21754f0b9dae61ec85ae4008c1bc020d18ef5e68ba", + "prometeu-packer-api.jar": "f211af9711e0327b8df71df195ebb1932df62cd5e19c7cc84b376b8a25a40d66", + "prometeu-packer-v1.jar": "32b6fb041012109cf9274578e9f7595458a2c796b60ce3f3925f5578992cba34", + "prometeu-studio-api.jar": "f9ea1fa6aa4c04f4f1b7d9b01ec9dd48526d5028cbd621e6ede93c9b316af9d2", + "prometeu-studio-core.jar": "9f53d5f4f407de793745aba5a2e2b99b53f8abfc12daf3ac44d4b6302b1f2fa2", + "prometeu-studio-ui-javafx.jar": "bad8c0a5b6591ff8579a8f99b7daccdb4919bbeede3a5643e79ef65ca8659756", + "reactfx-2.0-M5.jar": "bb1fc209cd9c057b17a48033d3794f937ba7a566b3c08b2db8887772769fdd67", + "richtextfx-0.11.2.jar": "8de62d75fcf9b85b2fbe9e8e35efc66408c8c5d0b59fa6dc07fb8b481b282421", + "slf4j-api-2.0.17.jar": "7b751d952061954d5abfed7181c1f645d336091b679891591d63329c622eb832", + "slf4j-simple-2.0.7.jar": "50eae3f1cc9a78a970970518e005d3f43d5cd3262d234f47ebdf3ca3f8bc01a7", + "spring-aop-6.2.19.jar": "a11b93539d80b02caf76171db2da96df39abebbfef49a2fadd6dda0779f2e20b", + "spring-beans-6.2.19.jar": "846dc8f30a639a36eb551ee99a30469be4d11bd285ca9daf164d98321571b404", + "spring-boot-3.5.16.jar": "2d5b16632402b840b0425ed52610071890bf8cb24c6c49af343bbde574123265", + "spring-context-6.2.19.jar": "ead4b645f94a7f665f00093eaafde634e97b34524294de653b51e43e0b3fc4a4", + "spring-core-6.2.19.jar": "52146689e71a911c92bac26677d73c692512a739893a57710cc233591756bff6", + "spring-expression-6.2.19.jar": "d710a44417d890353895b341a722d7d08199e2b7da52f0a11c0e92571e1d6e19", + "spring-jcl-6.2.19.jar": "9994478bcea1423b8892d4eb0db942c94da0090167c3c684050c1eaef04491d0", + "tika-core-3.2.2.jar": "a34ba35d675f5a9733e3b60d5782edd8636a5c7785ac5e1c44125d025d57ad1f", + "tomlj-1.1.1.jar": "383b7c66966c42ee4913ec977a7b6573631866bddc5318ec4a6215b688dd0d6c", + "undofx-2.1.1.jar": "db9708c58a8e2db457fbd67f0515e4a95955ca0b0b8f4ea7a3dcbbfcbd19d2d7", + "wellbehavedfx-0.3.3.jar": "e291005a8e3233b036450d126cbcd270d5b452397719949519c33c8ba09e257c" + }, + "candidateFreshness": [ + { + "module": "prometeu-infra", + "jarSha256": "c921e3aad6ca06c5f1f81a0a974a7c98de7952bbf7f1aa709270b1e799881191", + "matchingClasses": 22 + }, + { + "module": "prometeu-animation", + "jarSha256": "14e8fa35594dc87d57ecb02774e8d59d01708b2f557707da4cb194b384fd6ba3", + "matchingClasses": 20 + }, + { + "module": "prometeu-compiler/prometeu-compiler-core", + "jarSha256": "d50a0a4767118e31d06a5106cf4b78fbe62ae491593a27099699b712c018537e", + "matchingClasses": 76 + }, + { + "module": "prometeu-compiler/prometeu-frontend-api", + "jarSha256": "9b5dffe3ae1b1057eecad9c77d2019a2115b9c6b3027919d4cae56c2aaabdd2d", + "matchingClasses": 80 + }, + { + "module": "prometeu-compiler/frontends/prometeu-frontend-pbs", + "jarSha256": "bac53767f601067344318bded91a16cae62d8377a6091c5283fe6205ea3ac167", + "matchingClasses": 386 + }, + { + "module": "prometeu-compiler/prometeu-frontend-registry", + "jarSha256": "5335baaa8d105a9f7ad7968d66edbd104afc1da2b206795adb5f12259a104a86", + "matchingClasses": 1 + }, + { + "module": "prometeu-compiler/prometeu-deps", + "jarSha256": "83a4f709e35b92f5a559f5cdc177853c1eb836d38d88740959b0162c4233ccb4", + "matchingClasses": 27 + }, + { + "module": "prometeu-compiler/prometeu-build-pipeline", + "jarSha256": "94df1054a70e2dd397348c9facbccaa24354c9fc56ca84b3e6baecfc6f77b5be", + "matchingClasses": 98 + } + ], + "probeSha256": "a1c16e4c60cdda3f26614d2949ad815f3737471554f2a57da47155949e60c6b2", + "runnerSha256": "234e6cef13e03d0fc05b33d3a51b1e6387ca68d280efac962a2f3948bdfe7a0f", + "scratch": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-lyz5w7jw", + "unoptimizedVariant": "Investigation-only: omit OptimizeIRVMPipelineStage and emit original IRVM; not a public compiler flag" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/summary.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/summary.json new file mode 100644 index 00000000..0384fd3f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/final/summary.json @@ -0,0 +1,2497 @@ +{ + "compilation": [ + { + "caseId": "F1-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-local-optimized.json" + }, + { + "caseId": "F1-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-local-unoptimized.json" + }, + { + "caseId": "F1-local", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-local-optimized-public.json" + }, + { + "caseId": "F1-direct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-direct-optimized.json" + }, + { + "caseId": "F1-direct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-direct-unoptimized.json" + }, + { + "caseId": "F1-direct", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-direct-optimized-public.json" + }, + { + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-two-calls-optimized.json" + }, + { + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-two-calls-unoptimized.json" + }, + { + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-two-calls-optimized-public.json" + }, + { + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-service-this-optimized.json" + }, + { + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-service-this-unoptimized.json" + }, + { + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-service-this-optimized-public.json" + }, + { + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-service-local-optimized.json" + }, + { + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-service-local-unoptimized.json" + }, + { + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-service-local-optimized-public.json" + }, + { + "caseId": "F1-condition", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-condition-optimized.json" + }, + { + "caseId": "F1-condition", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-condition-unoptimized.json" + }, + { + "caseId": "F1-condition", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F1-condition-optimized-public.json" + }, + { + "caseId": "F2-locals", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-locals-optimized.json" + }, + { + "caseId": "F2-locals", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-locals-unoptimized.json" + }, + { + "caseId": "F2-locals", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-locals-optimized-public.json" + }, + { + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-arguments-optimized.json" + }, + { + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-arguments-unoptimized.json" + }, + { + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-arguments-optimized-public.json" + }, + { + "caseId": "F2-expression", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-expression-optimized.json" + }, + { + "caseId": "F2-expression", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-expression-unoptimized.json" + }, + { + "caseId": "F2-expression", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-expression-optimized-public.json" + }, + { + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-struct-method-optimized.json" + }, + { + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-struct-method-unoptimized.json" + }, + { + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F2-struct-method-optimized-public.json" + }, + { + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-single-file-optimized.json" + }, + { + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-single-file-unoptimized.json" + }, + { + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-single-file-optimized-public.json" + }, + { + "caseId": "F3-function", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-function-optimized.json" + }, + { + "caseId": "F3-function", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-function-unoptimized.json" + }, + { + "caseId": "F3-function", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-function-optimized-public.json" + }, + { + "caseId": "F3-global", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-global-optimized.json" + }, + { + "caseId": "F3-global", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-global-unoptimized.json" + }, + { + "caseId": "F3-global", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-global-optimized-public.json" + }, + { + "caseId": "F3-service", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-service-optimized.json" + }, + { + "caseId": "F3-service", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-service-unoptimized.json" + }, + { + "caseId": "F3-service", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-service-optimized-public.json" + }, + { + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-global-local-optimized.json" + }, + { + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-global-local-unoptimized.json" + }, + { + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-global-local-optimized-public.json" + }, + { + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-service-local-optimized.json" + }, + { + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-service-local-unoptimized.json" + }, + { + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F3-service-local-optimized-public.json" + }, + { + "caseId": "F3-file-private", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/checkout/F3-file-private-optimized.json" + }, + { + "caseId": "F3-file-private", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/checkout/F3-file-private-unoptimized.json" + }, + { + "caseId": "F3-file-private", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "status": "public_compile_rejected", + "matchesExpectation": true, + "report": "compilation/checkout/F3-file-private-optimized-public.json" + }, + { + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-distinct-optimized.json" + }, + { + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-distinct-unoptimized.json" + }, + { + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-distinct-optimized-public.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-same-no-dependency-optimized.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-same-no-dependency-unoptimized.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-same-no-dependency-optimized-public.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-same-dependency-optimized.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-same-dependency-unoptimized.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-same-dependency-optimized-public.json" + }, + { + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-rename-a-optimized.json" + }, + { + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-rename-a-unoptimized.json" + }, + { + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-rename-a-optimized-public.json" + }, + { + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-same-direct-optimized.json" + }, + { + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-same-direct-unoptimized.json" + }, + { + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-same-direct-optimized-public.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-public-aliases-optimized.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-public-aliases-unoptimized.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F4-public-aliases-optimized-public.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-shopvisit-optimized.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-shopvisit-unoptimized.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-shopvisit-optimized-public.json" + }, + { + "caseId": "F5-scene", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-scene-optimized.json" + }, + { + "caseId": "F5-scene", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-scene-unoptimized.json" + }, + { + "caseId": "F5-scene", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-scene-optimized-public.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-scene-alias-optimized.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-scene-alias-unoptimized.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-scene-alias-optimized-public.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-scene-positional-optimized.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-scene-positional-unoptimized.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/F5-scene-positional-optimized-public.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/runtime-trap-control-optimized.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/runtime-trap-control-unoptimized.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/runtime-trap-control-optimized-public.json" + }, + { + "caseId": "F1-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-local-optimized.json" + }, + { + "caseId": "F1-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-local-unoptimized.json" + }, + { + "caseId": "F1-local", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-local-optimized-public.json" + }, + { + "caseId": "F1-direct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-direct-optimized.json" + }, + { + "caseId": "F1-direct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-direct-unoptimized.json" + }, + { + "caseId": "F1-direct", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-direct-optimized-public.json" + }, + { + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-two-calls-optimized.json" + }, + { + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-two-calls-unoptimized.json" + }, + { + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-two-calls-optimized-public.json" + }, + { + "caseId": "F1-service-this", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-service-this-optimized.json" + }, + { + "caseId": "F1-service-this", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-service-this-unoptimized.json" + }, + { + "caseId": "F1-service-this", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-service-this-optimized-public.json" + }, + { + "caseId": "F1-service-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-service-local-optimized.json" + }, + { + "caseId": "F1-service-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-service-local-unoptimized.json" + }, + { + "caseId": "F1-service-local", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-service-local-optimized-public.json" + }, + { + "caseId": "F1-condition", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-condition-optimized.json" + }, + { + "caseId": "F1-condition", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-condition-unoptimized.json" + }, + { + "caseId": "F1-condition", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F1-condition-optimized-public.json" + }, + { + "caseId": "F2-locals", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-locals-optimized.json" + }, + { + "caseId": "F2-locals", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-locals-unoptimized.json" + }, + { + "caseId": "F2-locals", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-locals-optimized-public.json" + }, + { + "caseId": "F2-arguments", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-arguments-optimized.json" + }, + { + "caseId": "F2-arguments", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-arguments-unoptimized.json" + }, + { + "caseId": "F2-arguments", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-arguments-optimized-public.json" + }, + { + "caseId": "F2-expression", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-expression-optimized.json" + }, + { + "caseId": "F2-expression", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-expression-unoptimized.json" + }, + { + "caseId": "F2-expression", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-expression-optimized-public.json" + }, + { + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-struct-method-optimized.json" + }, + { + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-struct-method-unoptimized.json" + }, + { + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F2-struct-method-optimized-public.json" + }, + { + "caseId": "F3-single-file", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-single-file-optimized.json" + }, + { + "caseId": "F3-single-file", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-single-file-unoptimized.json" + }, + { + "caseId": "F3-single-file", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-single-file-optimized-public.json" + }, + { + "caseId": "F3-function", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-function-optimized.json" + }, + { + "caseId": "F3-function", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-function-unoptimized.json" + }, + { + "caseId": "F3-function", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-function-optimized-public.json" + }, + { + "caseId": "F3-global", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-global-optimized.json" + }, + { + "caseId": "F3-global", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-global-unoptimized.json" + }, + { + "caseId": "F3-global", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-global-optimized-public.json" + }, + { + "caseId": "F3-service", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-service-optimized.json" + }, + { + "caseId": "F3-service", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-service-unoptimized.json" + }, + { + "caseId": "F3-service", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-service-optimized-public.json" + }, + { + "caseId": "F3-global-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-global-local-optimized.json" + }, + { + "caseId": "F3-global-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-global-local-unoptimized.json" + }, + { + "caseId": "F3-global-local", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-global-local-optimized-public.json" + }, + { + "caseId": "F3-service-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-service-local-optimized.json" + }, + { + "caseId": "F3-service-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-service-local-unoptimized.json" + }, + { + "caseId": "F3-service-local", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F3-service-local-optimized-public.json" + }, + { + "caseId": "F3-file-private", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/installed/F3-file-private-optimized.json" + }, + { + "caseId": "F3-file-private", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/installed/F3-file-private-unoptimized.json" + }, + { + "caseId": "F3-file-private", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "status": "public_compile_rejected", + "matchesExpectation": true, + "report": "compilation/installed/F3-file-private-optimized-public.json" + }, + { + "caseId": "F4-distinct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-distinct-optimized.json" + }, + { + "caseId": "F4-distinct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-distinct-unoptimized.json" + }, + { + "caseId": "F4-distinct", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-distinct-optimized-public.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-same-no-dependency-optimized.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-same-no-dependency-unoptimized.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-same-no-dependency-optimized-public.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-same-dependency-optimized.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-same-dependency-unoptimized.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-same-dependency-optimized-public.json" + }, + { + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-rename-a-optimized.json" + }, + { + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-rename-a-unoptimized.json" + }, + { + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-rename-a-optimized-public.json" + }, + { + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-same-direct-optimized.json" + }, + { + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-same-direct-unoptimized.json" + }, + { + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-same-direct-optimized-public.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-public-aliases-optimized.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-public-aliases-unoptimized.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F4-public-aliases-optimized-public.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-shopvisit-optimized.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-shopvisit-unoptimized.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-shopvisit-optimized-public.json" + }, + { + "caseId": "F5-scene", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-scene-optimized.json" + }, + { + "caseId": "F5-scene", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-scene-unoptimized.json" + }, + { + "caseId": "F5-scene", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-scene-optimized-public.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-scene-alias-optimized.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-scene-alias-unoptimized.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-scene-alias-optimized-public.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-scene-positional-optimized.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-scene-positional-unoptimized.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/F5-scene-positional-optimized-public.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/runtime-trap-control-optimized.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/runtime-trap-control-unoptimized.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/runtime-trap-control-optimized-public.json" + } + ], + "execution": [ + { + "caseId": "F1-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-local-optimized.json" + }, + { + "caseId": "F1-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-local-unoptimized.json" + }, + { + "caseId": "F1-direct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-direct-optimized.json" + }, + { + "caseId": "F1-direct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-direct-unoptimized.json" + }, + { + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-two-calls-optimized.json" + }, + { + "caseId": "F1-two-calls", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-two-calls-unoptimized.json" + }, + { + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-service-this-optimized.json" + }, + { + "caseId": "F1-service-this", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-service-this-unoptimized.json" + }, + { + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-service-local-optimized.json" + }, + { + "caseId": "F1-service-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-service-local-unoptimized.json" + }, + { + "caseId": "F1-condition", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-condition-optimized.json" + }, + { + "caseId": "F1-condition", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F1-condition-unoptimized.json" + }, + { + "caseId": "F2-locals", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F2-locals-optimized.json" + }, + { + "caseId": "F2-locals", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F2-locals-unoptimized.json" + }, + { + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F2-arguments-optimized.json" + }, + { + "caseId": "F2-arguments", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F2-arguments-unoptimized.json" + }, + { + "caseId": "F2-expression", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F2-expression-optimized.json" + }, + { + "caseId": "F2-expression", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F2-expression-unoptimized.json" + }, + { + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F2-struct-method-optimized.json" + }, + { + "caseId": "F2-struct-method", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F2-struct-method-unoptimized.json" + }, + { + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-single-file-optimized.json" + }, + { + "caseId": "F3-single-file", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-single-file-unoptimized.json" + }, + { + "caseId": "F3-function", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-function-optimized.json" + }, + { + "caseId": "F3-function", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-function-unoptimized.json" + }, + { + "caseId": "F3-global", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-global-optimized.json" + }, + { + "caseId": "F3-global", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-global-unoptimized.json" + }, + { + "caseId": "F3-service", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-service-optimized.json" + }, + { + "caseId": "F3-service", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-service-unoptimized.json" + }, + { + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-global-local-optimized.json" + }, + { + "caseId": "F3-global-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-global-local-unoptimized.json" + }, + { + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-service-local-optimized.json" + }, + { + "caseId": "F3-service-local", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F3-service-local-unoptimized.json" + }, + { + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-distinct-optimized.json" + }, + { + "caseId": "F4-distinct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-distinct-unoptimized.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-same-no-dependency-optimized.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-same-no-dependency-unoptimized.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-same-dependency-optimized.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-same-dependency-unoptimized.json" + }, + { + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-rename-a-optimized.json" + }, + { + "caseId": "F4-rename-a", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-rename-a-unoptimized.json" + }, + { + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-same-direct-optimized.json" + }, + { + "caseId": "F4-same-direct", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-same-direct-unoptimized.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-public-aliases-optimized.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F4-public-aliases-unoptimized.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F5-shopvisit-optimized.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F5-shopvisit-unoptimized.json" + }, + { + "caseId": "F5-scene", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F5-scene-optimized.json" + }, + { + "caseId": "F5-scene", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F5-scene-unoptimized.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F5-scene-alias-optimized.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F5-scene-alias-unoptimized.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F5-scene-positional-optimized.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/F5-scene-positional-unoptimized.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "observedRuntime": "fault", + "matchesExpectation": true, + "report": "execution/checkout/runtime-trap-control-optimized.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "observedRuntime": "fault", + "matchesExpectation": true, + "report": "execution/checkout/runtime-trap-control-unoptimized.json" + }, + { + "caseId": "F1-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-local-optimized.json" + }, + { + "caseId": "F1-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-local-unoptimized.json" + }, + { + "caseId": "F1-direct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-direct-optimized.json" + }, + { + "caseId": "F1-direct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-direct-unoptimized.json" + }, + { + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-two-calls-optimized.json" + }, + { + "caseId": "F1-two-calls", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-two-calls-unoptimized.json" + }, + { + "caseId": "F1-service-this", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-service-this-optimized.json" + }, + { + "caseId": "F1-service-this", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-service-this-unoptimized.json" + }, + { + "caseId": "F1-service-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-service-local-optimized.json" + }, + { + "caseId": "F1-service-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-service-local-unoptimized.json" + }, + { + "caseId": "F1-condition", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-condition-optimized.json" + }, + { + "caseId": "F1-condition", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F1-condition-unoptimized.json" + }, + { + "caseId": "F2-locals", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F2-locals-optimized.json" + }, + { + "caseId": "F2-locals", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F2-locals-unoptimized.json" + }, + { + "caseId": "F2-arguments", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F2-arguments-optimized.json" + }, + { + "caseId": "F2-arguments", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F2-arguments-unoptimized.json" + }, + { + "caseId": "F2-expression", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F2-expression-optimized.json" + }, + { + "caseId": "F2-expression", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F2-expression-unoptimized.json" + }, + { + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F2-struct-method-optimized.json" + }, + { + "caseId": "F2-struct-method", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F2-struct-method-unoptimized.json" + }, + { + "caseId": "F3-single-file", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-single-file-optimized.json" + }, + { + "caseId": "F3-single-file", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-single-file-unoptimized.json" + }, + { + "caseId": "F3-function", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-function-optimized.json" + }, + { + "caseId": "F3-function", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-function-unoptimized.json" + }, + { + "caseId": "F3-global", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-global-optimized.json" + }, + { + "caseId": "F3-global", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-global-unoptimized.json" + }, + { + "caseId": "F3-service", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-service-optimized.json" + }, + { + "caseId": "F3-service", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-service-unoptimized.json" + }, + { + "caseId": "F3-global-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-global-local-optimized.json" + }, + { + "caseId": "F3-global-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-global-local-unoptimized.json" + }, + { + "caseId": "F3-service-local", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-service-local-optimized.json" + }, + { + "caseId": "F3-service-local", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F3-service-local-unoptimized.json" + }, + { + "caseId": "F4-distinct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-distinct-optimized.json" + }, + { + "caseId": "F4-distinct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-distinct-unoptimized.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-same-no-dependency-optimized.json" + }, + { + "caseId": "F4-same-no-dependency", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-same-no-dependency-unoptimized.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-same-dependency-optimized.json" + }, + { + "caseId": "F4-same-dependency", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-same-dependency-unoptimized.json" + }, + { + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-rename-a-optimized.json" + }, + { + "caseId": "F4-rename-a", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-rename-a-unoptimized.json" + }, + { + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-same-direct-optimized.json" + }, + { + "caseId": "F4-same-direct", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-same-direct-unoptimized.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-public-aliases-optimized.json" + }, + { + "caseId": "F4-public-aliases", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F4-public-aliases-unoptimized.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F5-shopvisit-optimized.json" + }, + { + "caseId": "F5-shopvisit", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F5-shopvisit-unoptimized.json" + }, + { + "caseId": "F5-scene", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F5-scene-optimized.json" + }, + { + "caseId": "F5-scene", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F5-scene-unoptimized.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F5-scene-alias-optimized.json" + }, + { + "caseId": "F5-scene-alias", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F5-scene-alias-unoptimized.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F5-scene-positional-optimized.json" + }, + { + "caseId": "F5-scene-positional", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/F5-scene-positional-unoptimized.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "observedRuntime": "fault", + "matchesExpectation": true, + "report": "execution/installed/runtime-trap-control-optimized.json" + }, + { + "caseId": "runtime-trap-control", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9", + "observedRuntime": "fault", + "matchesExpectation": true, + "report": "execution/installed/runtime-trap-control-unoptimized.json" + } + ], + "compileCount": 168, + "executionCount": 108, + "normalSuccesses": 104, + "deliberateFaults": 4, + "complete": true, + "failures": [], + "passed": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused-cases.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused-cases.json new file mode 100644 index 00000000..149a3357 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused-cases.json @@ -0,0 +1,87 @@ +{ + "schemaVersion": 1, + "cases": [ + { + "id": "contextual-overloads", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } fn value() -> bool { return true; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value(); }\n[Frame] fn frame() -> void { let number: int=data.value(); let flag: bool=data.value(); if !check() || !flag || number!=1 { let failure=1/0; } }\n" + }, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07" + }, + { + "id": "receiver-argument-order", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\ndeclare struct Probe() { fn read(value: int) -> int { return value; } }\ndeclare global data: Probe=new Probe();\nfn receiver() -> Probe { calls=calls*10+1; return data; }\nfn arg() -> int { calls=calls*10+2; return 3; }\n[Frame] fn frame() -> void { calls=0; let value=receiver().read(arg()); if value!=3 || calls!=12 { let failure=1/0; } }\n" + }, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6" + }, + { + "id": "shared-global-storage", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod global count;\nmod fn increment() -> int;\n", + "src/state.pbs": "declare global count: int=0;\nfn increment() -> int { count+=1; return count; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { count=4; let value=increment(); if value!=5 || count!=5 { let failure=1/0; } }\n" + }, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f" + }, + { + "id": "shared-service-singleton", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod service Counter;\nmod fn instance() -> Counter;\n", + "src/state.pbs": "declare service Counter {}\nfn instance() -> Counter { return Counter; }\n", + "src/main.pbs": "import { referenceEquals } from @sdk:hash;\n[Frame] fn frame() -> void { if !referenceEquals(Counter,instance()) { let failure=1/0; } }\n" + }, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5" + }, + { + "id": "private-overload", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod fn helper(value: int) -> int;\n", + "src/helper.pbs": "fn helper(value: int) -> int { return value; }\nfn helper(value: bool) -> bool { return value; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let flag=helper(true); }\n" + }, + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d" + }, + { + "id": "private-global", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/state.pbs": "declare global count: int=0;\n", + "src/main.pbs": "[Frame] fn frame() -> void { count=4; }\n" + }, + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114" + }, + { + "id": "private-service", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/state.pbs": "declare service Counter { fn value() -> int { return 1; } }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=Counter.value(); }\n" + }, + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07" + } + ] +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/contextual-overloads/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..5aafa06d599f03d954de23a9bb84d7606176369b GIT binary patch literal 1620 zcmaKsy=#+E6o+pbtJYev3RXn1(o_WPOA5Awpr$Q~2x>BjwjeQyZ)|8{O42F?!ATT# z&`DhUKpX@?)X71d#7PAI1P4cTcG2f|Kbn375B%;q&pG!yH*a?QypeU;wtaJt^cs{v z_t78Jf$os_icg|R60Zo?e`6TOl!KD_MJQIrG%s{RAD{(To|hanAJFemTRC9HX_IyzV2%^s=m7 zszn{-+*BEreSN|&s2^>V`_oLLX2jm4@yiUuNpq2kTegqLm;q+foH-L&cFhOeF(%P` zvcTcd1@3m`#d_}wc5Af8>jB8Z_z2S?)OJ z8TYJlBj|+ZA^a%PbCR7!ljxKHJB_B09#t^Sr+%_<9z88t;0q2HS^JW`Krc}&z{GFR zi~xI#-Xc9Y*?05s(Vc4$-=>&!B(Cw}M9^bk*=_nr?EA3+~I zA0^J9PfP0J&z^^g$Iutg;r9q1ghBH8{A{CMi|69`s9Gt?TfEzVzS6lQ1R zMyi%(4zmHJE?4WtLbVyCJ0Ly#Y@=R`qpOALe4JdJ(qDKBVv%AqDp#s;zH+59mnx?_ z$qu;6>g8+oOY@;?OBjwjeQyZ)|8{O42F?!ATT# z&`DhUKpX@?)X71d#7PAI1P4cTcG2f|Kbn375B%;q&pG!yH*a?QypeU;wtaJt^cs{v z_t78Jf$os_icg|R60Zo?e`6TOl!KD_MJQIrG%s{RAD{(To|hanAJFemTRC9HX_IyzV2%^s=m7 zszn{-+*BEreSN|&s2^>V`_oLLX2jm4@yiUuNpq2kTegqLm;q+foH-L&cFhOeF(%P` zvcTcd1@3m`#d_}wc5Af8>jB8Z_z2S?)OJ z8TYJlBj|+ZA^a%PbCR7!ljxKHJB_B09#t^Sr+%_<9z88t;0q2HS^JW`Krc}&z{GFR zi~xI#-Xc9Y*?05s(Vc4$-=>&!B(Cw}M9^bk*=_nr?EA3+~I zA0^J9PfP0J&z^^g$Iutg;r9q1ghBH8{A{CMi|69`s9Gt?TfEzVzS6lQ1R zMyi%(4zmHJE?4WtLbVyCJ0Ly#Y@=R`qpOALe4JdJ(qDKBVv%AqDp#s;zH+59mnx?_ z$qu;6>g8+oOY@;?OdS}uPN9Lf|@p1L{O7Kw1R{*zA>SRDM_mo1Se6{ zK__wX195N?brKXOadJ`o2OJ#L*+rk<{b<@+Jn*~cJm=i+_a?dVvqrYowktPxNUuT( zbQk?b9q1N`ulOV?ka$a=emhn>-$~r(W1JbF>BFx<<38U-JVBho%fw4AJ1d51g7 zRGL*5I6S?;-LAY)?^(ufrS^C|16df~Z>i0Dma(3W>?*o}A^{fofWrko=vklgCdzo0 zo8Ua-o;7X+9rHYdA4PgpveRf1oe*Fr(K)226-@J~pDdh54@?&Lyu$_7zGTnPa}*0O z@k=xcqeq^1dVaE~zv@pt4-)S~I-_ieI6^NR8r8)*vrOxWUpq7#h_mR8=R?GY z(RNerCJ=7o5gxu zxY8`n%*4%9JuLQO)xA`SOVj#i7T6u)t!ZU$)3#e^6A5*(TeCTu JaOA)%`M+j`hkXD5 literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..946e6a53042b5c3698c3177b0df2d3d21dc0fd83 GIT binary patch literal 1846 zcmZvdOK4L;6ow}?)>?~b5rb`oV&h{KQcy(kk))s~Qf{d)iWt*&ZhPgXDYt1waUrh6 zx^Sf%7ve%(h@kjF1VLShxN@Z%>%zAv_}nP!|Ia;>-o_mG=bUfOnYrgqCW({Vt7vo0 zSbI2y={OXFPD8(-I%pCTP0%dFXECuGMXdW&ANtvdzeo(HeqdMvKL?tRfwc`#GvXvX zjXcv<3G#{4#@Q7Rd!oXQ3~}4?us6oZ7<-r~_~SY(QmPvh_91qTm1rNTo!MVAV^_P# z+V*EQc@i0}8L3%kYQo_!+z5*J_B6}(%37WmrYre{RUGy) zy}qR?-(JPMUNpNuuN;l*TA>s{tPOs(#K+(#q4iaqsp2id8lGRV9l~@ayf1Gmtq;mW zI|;B}=m5m~YK`?gahmOyH;-m{FvJSG!c*|CAYb@3{97mxW}aLY=DmFn9T8@pd{p>3 z{0Hc`@K^Y6&@ZTYRJ7_KFy%pk53vChNHt0-*M+ws-VWV~&Z`qHzW3;r@}7cA?TU# zFk%mS5y_KZ3ilyC2)z-upC8Yib{V<~eI~%JL3}r!DUEsZPXg=)bQAhbfH6=0Lx5d` zZb5N8lXee!05uBVM*I+JfN0C1e10@26?IvUr+m-V1BVBEopOUhQRfc@h0#$RB#UXT z=a)P=es127Y6yG)C^(6{;`zn`8w~7c;%#4hTVrg*P xmKM|eZQ@3SV5lCBXnMi_is?Gg1KOL=0nixRP-+1bGk*}K9W#f)zNY0`{vT#Osbc^D literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..946e6a53042b5c3698c3177b0df2d3d21dc0fd83 GIT binary patch literal 1846 zcmZvdOK4L;6ow}?)>?~b5rb`oV&h{KQcy(kk))s~Qf{d)iWt*&ZhPgXDYt1waUrh6 zx^Sf%7ve%(h@kjF1VLShxN@Z%>%zAv_}nP!|Ia;>-o_mG=bUfOnYrgqCW({Vt7vo0 zSbI2y={OXFPD8(-I%pCTP0%dFXECuGMXdW&ANtvdzeo(HeqdMvKL?tRfwc`#GvXvX zjXcv<3G#{4#@Q7Rd!oXQ3~}4?us6oZ7<-r~_~SY(QmPvh_91qTm1rNTo!MVAV^_P# z+V*EQc@i0}8L3%kYQo_!+z5*J_B6}(%37WmrYre{RUGy) zy}qR?-(JPMUNpNuuN;l*TA>s{tPOs(#K+(#q4iaqsp2id8lGRV9l~@ayf1Gmtq;mW zI|;B}=m5m~YK`?gahmOyH;-m{FvJSG!c*|CAYb@3{97mxW}aLY=DmFn9T8@pd{p>3 z{0Hc`@K^Y6&@ZTYRJ7_KFy%pk53vChNHt0-*M+ws-VWV~&Z`qHzW3;r@}7cA?TU# zFk%mS5y_KZ3ilyC2)z-upC8Yib{V<~eI~%JL3}r!DUEsZPXg=)bQAhbfH6=0Lx5d` zZb5N8lXee!05uBVM*I+JfN0C1e10@26?IvUr+m-V1BVBEopOUhQRfc@h0#$RB#UXT z=a)P=es127Y6yG)C^(6{;`zn`8w~7c;%#4hTVrg*P xmKM|eZQ@3SV5lCBXnMi_is?Gg1KOL=0nixRP-+1bGk*}K9W#f)zNY0`{vT#Osbc^D literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/receiver-argument-order/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..559ac23c7f650153923ed47779f557f964f1c2e8 GIT binary patch literal 1868 zcmZuyOK1~O6n#l+TU!@e#9&*Y*r;8F6cj=Hq$wzhlnM1mk;bHb(~eAtSZbcN zA7_!S2V>wl@DCUVXOU!2?p;bIWS)is8333Q|A2Iv;()y#oO$u~iFLnjdl`uXS< z%N^&y?0S$rkzq&1v4zT*H_2p-Jxmw;DIE?{svilviOq4OQU}1=m7$syJKIIowm-kg zGpLM!%<_;zm?j~=gVA{zGj5fNrE!X#C_3gek?1uQNAVDIDuJg`z2bgGdZ|wZ0`RSL-Vl_^_L~`E3j8 zoeMlK8DZDA*OBwu!4!*v4#bV3XAoyW`wrG;kRxV5)^~!02Kk4!mqt*=`|`dLgJ2%q zM*|FiM?l_M3ywc5#`ep*OIXkQNLcTNR=q)d2m0dQBYp$}@vPHV#D7Bk44x3rI{iuU zuMoe0r^Nq2{0W{G{}u5U$iESy4ZXL6{J;<^p*z6yp;a58d%z3gH$!g)FGuRz;IE2b z1HB!*Eti8 ztkc(vzXE+1Y!?3z`Z2g%{5|L=U=v8J1M~Tbpj^@wJ(co3R}UW__I1h)3MHLC78E8X zbdW5iIiDY&M1q(1j6xs#-xTSe#6`p0D%XxK~NK>3U?l!ph>U zO68F$JG7MM7mEuOg3$&9TGI>u+nBBcJ*>TH9l#o}4ZI&1GygVBJ0^#ReNF3Y#sBU1 Br!oKl literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-global-storage/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..59a3f94d4720c62201509712b6153bf4422c106a GIT binary patch literal 1332 zcmZvc&1(}u7{;e*8*2qo5i3<8(5O8vv9wScpBeeUTGczq-w?QDXiwJDmOk_`?ZI(zGvuWElleC|D z?V+sBs?0`)BQSTtm@V5b*~m3&N#1QxD6(FAmHV%-uG~2!rl?%Q?HnpZwX3!-8=b)$ z@MrD4{|3B2;nsM6y5h_F<(X=~J?igOylz=qfhIhbL6_h%=nIfqa0AL;hB10>)p`X|2=`$ZqzCX2Udx~m| zrwxS+dIrzooeWZ5{(}q(LH;91w;+X2GN=ct{aFUZkib_Nq`bU-tI`YDgYPnE0d!yb zu4}LXI=i3F>s?jz(0QN#Rq?-_-==>Af1JNVuXn10q_gdGhQ%O{NAW?BrAgd--^=14 zDY|*wd0TXc!?c;tC n_rOohTXRgC2U|`9eduYwSHyYTA2GI4abr%|cKqzlPIUhPTScpBeeUTGczq-w?QDXiwJDmOk_`?ZI(zGvuWElleC|D z?V+sBs?0`)BQSTtm@V5b*~m3&N#1QxD6(FAmHV%-uG~2!rl?%Q?HnpZwX3!-8=b)$ z@MrD4{|3B2;nsM6y5h_F<(X=~J?igOylz=qfhIhbL6_h%=nIfqa0AL;hB10>)p`X|2=`$ZqzCX2Udx~m| zrwxS+dIrzooeWZ5{(}q(LH;91w;+X2GN=ct{aFUZkib_Nq`bU-tI`YDgYPnE0d!yb zu4}LXI=i3F>s?jz(0QN#Rq?-_-==>Af1JNVuXn10q_gdGhQ%O{NAW?BrAgd--^=14 zDY|*wd0TXc!?c;tC n_rOohTXRgC2U|`9eduYwSHyYTA2GI4abr%|cKqzlPIUhPT+Z6J%e}Mjc8WGxc&zq?_uUn;~VJFeCX)_I5g{GM&Wz431HW{S# z)M^c7RjVS~FqFXD#>Q;f=e+G%VK2$kIvYK=thI{u7nvuj*i3UcLw!}Zen_l6eJw?* z#2)q)_w2s}&!;pPc|KdlZ7%z`OXH0QvR4 z7dX66eeD&zj#bM;$9i|o`RUl_f0g*RW7YW~{^R%-t=@4COR9CN)z5obG>8s@G>N0m zyG|Mfao*0N)|VL7f*hF z9eOC9N>5(&CP*)O5=HRj$&1pHAc!YVRs8?o?wE91@xg!Q{pP(lvoqP*WHaY2+B#`h zZti2a9g0AYp;K_$(0@k15n2WR8wN^9VqR`-(65GnHuTrPABKMrJvwVT9PfZX1Ai}i z+Vbb<2?DZW;PN@R4kNmb&(pNyaN`g&n-N_%h0&#T%#j_kDXWq%z~}dz(J^07Glzj4 z5N+wSOr3|8PRlwG!{fzrLy>3;P^Wl7hHlX>%l)xpE)RWq?r$SECC|Ctio~(MT?oQW z%UD+0oRz|$Wpzp0i==LNvvL?|8B0lX~@HIHTydTQ`3Fpjw)AqjvXzz(b}bY@@T`geW&UUDZ8BPPafDe zknihFGICmZ9k2RO&2ZAffXelv(zp5rXi2=sANs0Sv(uXg` j!eA?wwMG1`((;QDiEx^5iyVzaxC72XqUnPR=-=%h+QhV! literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c88c275d48b13b252f8926c3403d0ca8104976eb GIT binary patch literal 1984 zcmai#O=uHA6vsEUYW<+%2Ub0m8o^UYKa3a^lC+AbV1gf5VhwSfv@6LbZZ>VL7f*hF z9eOC9N>5(&CP*)O5=HRj$&1pHAc!YVRs8?o?wE91@xg!Q{pP(lvoqP*WHaY2+B#`h zZti2a9g0AYp;K_$(0@k15n2WR8wN^9VqR`-(65GnHuTrPABKMrJvwVT9PfZX1Ai}i z+Vbb<2?DZW;PN@R4kNmb&(pNyaN`g&n-N_%h0&#T%#j_kDXWq%z~}dz(J^07Glzj4 z5N+wSOr3|8PRlwG!{fzrLy>3;P^Wl7hHlX>%l)xpE)RWq?r$SECC|Ctio~(MT?oQW z%UD+0oRz|$Wpzp0i==LNvvL?|8B0lX~@HIHTydTQ`3Fpjw)AqjvXzz(b}bY@@T`geW&UUDZ8BPPafDe zknihFGICmZ9k2RO&2ZAffXelv(zp5rXi2=sANs0Sv(uXg` j!eA?wwMG1`((;QDiEx^5iyVzaxC72XqUnPR=-=%h+QhV! literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/checkout/shared-service-singleton/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..ba2bb4b8f423777a5b5cd992706eb5d43726ddd7 GIT binary patch literal 2006 zcma)-OK1~O6ox0U)~Zln#j2}PBe)7_8-qrLHmxEmn4*Z#))L2?bTpa7$t0}^(v|Pm z!iBi%N{V1tx^bah38J`ilCE)=Rs3 za}UEUPy~7eoq`iZ{}ugKXbt?I7^owOd4+XBzZU-G&~JrbhJO$}I_r5j-UfdT{$BL7 zmHX%p0P zmQTynd1(2xtP?R@&lPKmL|cH`#S1cYi+)A!?^Sbo=__+vut4*?{j$&PRwRM*?LrCM z0U66mJ8bo1(6TzE?Lkr(ycxNS0U7I;cG$|wNwV@|XC>OCF~Rhp30L{XvrvQp6Wp?e7N;iPHS525Cb zL3k;?#o!KudC@do-zC)GZg4alV=kYXW{w-2Fqn^abN(TNGX@_sn6C#-K}9G_fR&(0 z=qv$t5}JZW39u6o`8)x}dGA9P39y^cE$9*fb{o0_RR}P~$sPfA4Y~_)PMV(YdVov! zHx1@_4?{!H4TJfCYK}iJ__4uH4W2RhS;)NSBhW0w_w6;BMQG08mj=Hvcs^v-eZT|# z&ft#*e=_*9!CwsiX7G1|7eXGv+6CxG$Yo3XA zeue%mv?1gd=-)$|4c7119@LDFSG;mb`KlH#I(cPZwTmjA_i`mQKI!Eu73IZB3DjGB z=?2R+*H>OV=D1Zq=h}+DI===|z%8^vI>=85UyWEnxyp0wSl*3QE>zP;Yp(4(Wp_x~ z#dKf#z`o>2Z%>+$)5@zmwvs?^Ix#Xf#>v~EiClG}v1}_wxRQ+KQ%U@RHP}fd8RH=( p?yD&uz8DLGqu{So{B6>9pp8U0O?X6(Mj|``=OEGa#Rc^5_Ah%fw21%! literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/contextual-overloads/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..5aafa06d599f03d954de23a9bb84d7606176369b GIT binary patch literal 1620 zcmaKsy=#+E6o+pbtJYev3RXn1(o_WPOA5Awpr$Q~2x>BjwjeQyZ)|8{O42F?!ATT# z&`DhUKpX@?)X71d#7PAI1P4cTcG2f|Kbn375B%;q&pG!yH*a?QypeU;wtaJt^cs{v z_t78Jf$os_icg|R60Zo?e`6TOl!KD_MJQIrG%s{RAD{(To|hanAJFemTRC9HX_IyzV2%^s=m7 zszn{-+*BEreSN|&s2^>V`_oLLX2jm4@yiUuNpq2kTegqLm;q+foH-L&cFhOeF(%P` zvcTcd1@3m`#d_}wc5Af8>jB8Z_z2S?)OJ z8TYJlBj|+ZA^a%PbCR7!ljxKHJB_B09#t^Sr+%_<9z88t;0q2HS^JW`Krc}&z{GFR zi~xI#-Xc9Y*?05s(Vc4$-=>&!B(Cw}M9^bk*=_nr?EA3+~I zA0^J9PfP0J&z^^g$Iutg;r9q1ghBH8{A{CMi|69`s9Gt?TfEzVzS6lQ1R zMyi%(4zmHJE?4WtLbVyCJ0Ly#Y@=R`qpOALe4JdJ(qDKBVv%AqDp#s;zH+59mnx?_ z$qu;6>g8+oOY@;?OBjwjeQyZ)|8{O42F?!ATT# z&`DhUKpX@?)X71d#7PAI1P4cTcG2f|Kbn375B%;q&pG!yH*a?QypeU;wtaJt^cs{v z_t78Jf$os_icg|R60Zo?e`6TOl!KD_MJQIrG%s{RAD{(To|hanAJFemTRC9HX_IyzV2%^s=m7 zszn{-+*BEreSN|&s2^>V`_oLLX2jm4@yiUuNpq2kTegqLm;q+foH-L&cFhOeF(%P` zvcTcd1@3m`#d_}wc5Af8>jB8Z_z2S?)OJ z8TYJlBj|+ZA^a%PbCR7!ljxKHJB_B09#t^Sr+%_<9z88t;0q2HS^JW`Krc}&z{GFR zi~xI#-Xc9Y*?05s(Vc4$-=>&!B(Cw}M9^bk*=_nr?EA3+~I zA0^J9PfP0J&z^^g$Iutg;r9q1ghBH8{A{CMi|69`s9Gt?TfEzVzS6lQ1R zMyi%(4zmHJE?4WtLbVyCJ0Ly#Y@=R`qpOALe4JdJ(qDKBVv%AqDp#s;zH+59mnx?_ z$qu;6>g8+oOY@;?OdS}uPN9Lf|@p1L{O7Kw1R{*zA>SRDM_mo1Se6{ zK__wX195N?brKXOadJ`o2OJ#L*+rk<{b<@+Jn*~cJm=i+_a?dVvqrYowktPxNUuT( zbQk?b9q1N`ulOV?ka$a=emhn>-$~r(W1JbF>BFx<<38U-JVBho%fw4AJ1d51g7 zRGL*5I6S?;-LAY)?^(ufrS^C|16df~Z>i0Dma(3W>?*o}A^{fofWrko=vklgCdzo0 zo8Ua-o;7X+9rHYdA4PgpveRf1oe*Fr(K)226-@J~pDdh54@?&Lyu$_7zGTnPa}*0O z@k=xcqeq^1dVaE~zv@pt4-)S~I-_ieI6^NR8r8)*vrOxWUpq7#h_mR8=R?GY z(RNerCJ=7o5gxu zxY8`n%*4%9JuLQO)xA`SOVj#i7T6u)t!ZU$)3#e^6A5*(TeCTu JaOA)%`M+j`hkXD5 literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..946e6a53042b5c3698c3177b0df2d3d21dc0fd83 GIT binary patch literal 1846 zcmZvdOK4L;6ow}?)>?~b5rb`oV&h{KQcy(kk))s~Qf{d)iWt*&ZhPgXDYt1waUrh6 zx^Sf%7ve%(h@kjF1VLShxN@Z%>%zAv_}nP!|Ia;>-o_mG=bUfOnYrgqCW({Vt7vo0 zSbI2y={OXFPD8(-I%pCTP0%dFXECuGMXdW&ANtvdzeo(HeqdMvKL?tRfwc`#GvXvX zjXcv<3G#{4#@Q7Rd!oXQ3~}4?us6oZ7<-r~_~SY(QmPvh_91qTm1rNTo!MVAV^_P# z+V*EQc@i0}8L3%kYQo_!+z5*J_B6}(%37WmrYre{RUGy) zy}qR?-(JPMUNpNuuN;l*TA>s{tPOs(#K+(#q4iaqsp2id8lGRV9l~@ayf1Gmtq;mW zI|;B}=m5m~YK`?gahmOyH;-m{FvJSG!c*|CAYb@3{97mxW}aLY=DmFn9T8@pd{p>3 z{0Hc`@K^Y6&@ZTYRJ7_KFy%pk53vChNHt0-*M+ws-VWV~&Z`qHzW3;r@}7cA?TU# zFk%mS5y_KZ3ilyC2)z-upC8Yib{V<~eI~%JL3}r!DUEsZPXg=)bQAhbfH6=0Lx5d` zZb5N8lXee!05uBVM*I+JfN0C1e10@26?IvUr+m-V1BVBEopOUhQRfc@h0#$RB#UXT z=a)P=es127Y6yG)C^(6{;`zn`8w~7c;%#4hTVrg*P xmKM|eZQ@3SV5lCBXnMi_is?Gg1KOL=0nixRP-+1bGk*}K9W#f)zNY0`{vT#Osbc^D literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..946e6a53042b5c3698c3177b0df2d3d21dc0fd83 GIT binary patch literal 1846 zcmZvdOK4L;6ow}?)>?~b5rb`oV&h{KQcy(kk))s~Qf{d)iWt*&ZhPgXDYt1waUrh6 zx^Sf%7ve%(h@kjF1VLShxN@Z%>%zAv_}nP!|Ia;>-o_mG=bUfOnYrgqCW({Vt7vo0 zSbI2y={OXFPD8(-I%pCTP0%dFXECuGMXdW&ANtvdzeo(HeqdMvKL?tRfwc`#GvXvX zjXcv<3G#{4#@Q7Rd!oXQ3~}4?us6oZ7<-r~_~SY(QmPvh_91qTm1rNTo!MVAV^_P# z+V*EQc@i0}8L3%kYQo_!+z5*J_B6}(%37WmrYre{RUGy) zy}qR?-(JPMUNpNuuN;l*TA>s{tPOs(#K+(#q4iaqsp2id8lGRV9l~@ayf1Gmtq;mW zI|;B}=m5m~YK`?gahmOyH;-m{FvJSG!c*|CAYb@3{97mxW}aLY=DmFn9T8@pd{p>3 z{0Hc`@K^Y6&@ZTYRJ7_KFy%pk53vChNHt0-*M+ws-VWV~&Z`qHzW3;r@}7cA?TU# zFk%mS5y_KZ3ilyC2)z-upC8Yib{V<~eI~%JL3}r!DUEsZPXg=)bQAhbfH6=0Lx5d` zZb5N8lXee!05uBVM*I+JfN0C1e10@26?IvUr+m-V1BVBEopOUhQRfc@h0#$RB#UXT z=a)P=es127Y6yG)C^(6{;`zn`8w~7c;%#4hTVrg*P xmKM|eZQ@3SV5lCBXnMi_is?Gg1KOL=0nixRP-+1bGk*}K9W#f)zNY0`{vT#Osbc^D literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/receiver-argument-order/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..559ac23c7f650153923ed47779f557f964f1c2e8 GIT binary patch literal 1868 zcmZuyOK1~O6n#l+TU!@e#9&*Y*r;8F6cj=Hq$wzhlnM1mk;bHb(~eAtSZbcN zA7_!S2V>wl@DCUVXOU!2?p;bIWS)is8333Q|A2Iv;()y#oO$u~iFLnjdl`uXS< z%N^&y?0S$rkzq&1v4zT*H_2p-Jxmw;DIE?{svilviOq4OQU}1=m7$syJKIIowm-kg zGpLM!%<_;zm?j~=gVA{zGj5fNrE!X#C_3gek?1uQNAVDIDuJg`z2bgGdZ|wZ0`RSL-Vl_^_L~`E3j8 zoeMlK8DZDA*OBwu!4!*v4#bV3XAoyW`wrG;kRxV5)^~!02Kk4!mqt*=`|`dLgJ2%q zM*|FiM?l_M3ywc5#`ep*OIXkQNLcTNR=q)d2m0dQBYp$}@vPHV#D7Bk44x3rI{iuU zuMoe0r^Nq2{0W{G{}u5U$iESy4ZXL6{J;<^p*z6yp;a58d%z3gH$!g)FGuRz;IE2b z1HB!*Eti8 ztkc(vzXE+1Y!?3z`Z2g%{5|L=U=v8J1M~Tbpj^@wJ(co3R}UW__I1h)3MHLC78E8X zbdW5iIiDY&M1q(1j6xs#-xTSe#6`p0D%XxK~NK>3U?l!ph>U zO68F$JG7MM7mEuOg3$&9TGI>u+nBBcJ*>TH9l#o}4ZI&1GygVBJ0^#ReNF3Y#sBU1 Br!oKl literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/optimized-public/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/optimized-public/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/optimized-public/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/optimized-public/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-global-storage/optimized-public/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..59a3f94d4720c62201509712b6153bf4422c106a GIT binary patch literal 1332 zcmZvc&1(}u7{;e*8*2qo5i3<8(5O8vv9wScpBeeUTGczq-w?QDXiwJDmOk_`?ZI(zGvuWElleC|D z?V+sBs?0`)BQSTtm@V5b*~m3&N#1QxD6(FAmHV%-uG~2!rl?%Q?HnpZwX3!-8=b)$ z@MrD4{|3B2;nsM6y5h_F<(X=~J?igOylz=qfhIhbL6_h%=nIfqa0AL;hB10>)p`X|2=`$ZqzCX2Udx~m| zrwxS+dIrzooeWZ5{(}q(LH;91w;+X2GN=ct{aFUZkib_Nq`bU-tI`YDgYPnE0d!yb zu4}LXI=i3F>s?jz(0QN#Rq?-_-==>Af1JNVuXn10q_gdGhQ%O{NAW?BrAgd--^=14 zDY|*wd0TXc!?c;tC n_rOohTXRgC2U|`9eduYwSHyYTA2GI4abr%|cKqzlPIUhPTScpBeeUTGczq-w?QDXiwJDmOk_`?ZI(zGvuWElleC|D z?V+sBs?0`)BQSTtm@V5b*~m3&N#1QxD6(FAmHV%-uG~2!rl?%Q?HnpZwX3!-8=b)$ z@MrD4{|3B2;nsM6y5h_F<(X=~J?igOylz=qfhIhbL6_h%=nIfqa0AL;hB10>)p`X|2=`$ZqzCX2Udx~m| zrwxS+dIrzooeWZ5{(}q(LH;91w;+X2GN=ct{aFUZkib_Nq`bU-tI`YDgYPnE0d!yb zu4}LXI=i3F>s?jz(0QN#Rq?-_-==>Af1JNVuXn10q_gdGhQ%O{NAW?BrAgd--^=14 zDY|*wd0TXc!?c;tC n_rOohTXRgC2U|`9eduYwSHyYTA2GI4abr%|cKqzlPIUhPT+Z6J%e}Mjc8WGxc&zq?_uUn;~VJFeCX)_I5g{GM&Wz431HW{S# z)M^c7RjVS~FqFXD#>Q;f=e+G%VK2$kIvYK=thI{u7nvuj*i3UcLw!}Zen_l6eJw?* z#2)q)_w2s}&!;pPc|KdlZ7%z`OXH0QvR4 z7dX66eeD&zj#bM;$9i|o`RUl_f0g*RW7YW~{^R%-t=@4COR9CN)z5obG>8s@G>N0m zyG|Mfao*0N)|VL7f*hF z9eOC9N>5(&CP*)O5=HRj$&1pHAc!YVRs8?o?wE91@xg!Q{pP(lvoqP*WHaY2+B#`h zZti2a9g0AYp;K_$(0@k15n2WR8wN^9VqR`-(65GnHuTrPABKMrJvwVT9PfZX1Ai}i z+Vbb<2?DZW;PN@R4kNmb&(pNyaN`g&n-N_%h0&#T%#j_kDXWq%z~}dz(J^07Glzj4 z5N+wSOr3|8PRlwG!{fzrLy>3;P^Wl7hHlX>%l)xpE)RWq?r$SECC|Ctio~(MT?oQW z%UD+0oRz|$Wpzp0i==LNvvL?|8B0lX~@HIHTydTQ`3Fpjw)AqjvXzz(b}bY@@T`geW&UUDZ8BPPafDe zknihFGICmZ9k2RO&2ZAffXelv(zp5rXi2=sANs0Sv(uXg` j!eA?wwMG1`((;QDiEx^5iyVzaxC72XqUnPR=-=%h+QhV! literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/optimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/optimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/optimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/optimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/optimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..c88c275d48b13b252f8926c3403d0ca8104976eb GIT binary patch literal 1984 zcmai#O=uHA6vsEUYW<+%2Ub0m8o^UYKa3a^lC+AbV1gf5VhwSfv@6LbZZ>VL7f*hF z9eOC9N>5(&CP*)O5=HRj$&1pHAc!YVRs8?o?wE91@xg!Q{pP(lvoqP*WHaY2+B#`h zZti2a9g0AYp;K_$(0@k15n2WR8wN^9VqR`-(65GnHuTrPABKMrJvwVT9PfZX1Ai}i z+Vbb<2?DZW;PN@R4kNmb&(pNyaN`g&n-N_%h0&#T%#j_kDXWq%z~}dz(J^07Glzj4 z5N+wSOr3|8PRlwG!{fzrLy>3;P^Wl7hHlX>%l)xpE)RWq?r$SECC|Ctio~(MT?oQW z%UD+0oRz|$Wpzp0i==LNvvL?|8B0lX~@HIHTydTQ`3Fpjw)AqjvXzz(b}bY@@T`geW&UUDZ8BPPafDe zknihFGICmZ9k2RO&2ZAffXelv(zp5rXi2=sANs0Sv(uXg` j!eA?wwMG1`((;QDiEx^5iyVzaxC72XqUnPR=-=%h+QhV! literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/unoptimized/manifest.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/unoptimized/manifest.json new file mode 100644 index 00000000..d0aa97d6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/unoptimized/manifest.json @@ -0,0 +1,11 @@ +{ + "magic" : "PMTU", + "cartridge_version" : 1, + "app_id" : 113, + "title" : "PBS production assertion fixture", + "app_version" : "1.0.0", + "app_mode" : "Game", + "capabilities" : [ ], + "asset_table" : [ ], + "preload" : [ ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/unoptimized/program.pbx b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/artifacts/installed/shared-service-singleton/unoptimized/program.pbx new file mode 100644 index 0000000000000000000000000000000000000000..ba2bb4b8f423777a5b5cd992706eb5d43726ddd7 GIT binary patch literal 2006 zcma)-OK1~O6ox0U)~Zln#j2}PBe)7_8-qrLHmxEmn4*Z#))L2?bTpa7$t0}^(v|Pm z!iBi%N{V1tx^bah38J`ilCE)=Rs3 za}UEUPy~7eoq`iZ{}ugKXbt?I7^owOd4+XBzZU-G&~JrbhJO$}I_r5j-UfdT{$BL7 zmHX%p0P zmQTynd1(2xtP?R@&lPKmL|cH`#S1cYi+)A!?^Sbo=__+vut4*?{j$&PRwRM*?LrCM z0U66mJ8bo1(6TzE?Lkr(ycxNS0U7I;cG$|wNwV@|XC>OCF~Rhp30L{XvrvQp6Wp?e7N;iPHS525Cb zL3k;?#o!KudC@do-zC)GZg4alV=kYXW{w-2Fqn^abN(TNGX@_sn6C#-K}9G_fR&(0 z=qv$t5}JZW39u6o`8)x}dGA9P39y^cE$9*fb{o0_RR}P~$sPfA4Y~_)PMV(YdVov! zHx1@_4?{!H4TJfCYK}iJ__4uH4W2RhS;)NSBhW0w_w6;BMQG08mj=Hvcs^v-eZT|# z&ft#*e=_*9!CwsiX7G1|7eXGv+6CxG$Yo3XA zeue%mv?1gd=-)$|4c7119@LDFSG;mb`KlH#I(cPZwTmjA_i`mQKI!Eu73IZB3DjGB z=?2R+*H>OV=D1Zq=h}+DI===|z%8^vI>=85UyWEnxyp0wSl*3QE>zP;Yp(4(Wp_x~ z#dKf#z`o>2Z%>+$)5@zmwvs?^Ix#Xf#>v~EiClG}v1}_wxRQ+KQ%U@RHP}fd8RH=( p?yD&uz8DLGqu{So{B6>9pp8U0O?X6(Mj|``=OEGa#Rc^5_Ah%fw21%! literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/checksums.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/checksums.json new file mode 100644 index 00000000..20eadd75 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/checksums.json @@ -0,0 +1,110 @@ +{ + "summary.json": "e7175f264f3a483e3f28a966343684f1ede01a0b1e97960422f8803c8e08568c", + "provenance.json": "ef0cc70e2b775b01dbbf96feaddeddeb25d6271dac973ab4889ec22d1b12a840", + "artifacts/installed/receiver-argument-order/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/receiver-argument-order/optimized-public/program.pbx": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "artifacts/installed/receiver-argument-order/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/receiver-argument-order/unoptimized/program.pbx": "25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598", + "artifacts/installed/receiver-argument-order/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/receiver-argument-order/optimized/program.pbx": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "artifacts/installed/shared-service-singleton/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/shared-service-singleton/optimized-public/program.pbx": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "artifacts/installed/shared-service-singleton/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/shared-service-singleton/unoptimized/program.pbx": "9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c", + "artifacts/installed/shared-service-singleton/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/shared-service-singleton/optimized/program.pbx": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "artifacts/installed/shared-global-storage/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/shared-global-storage/optimized-public/program.pbx": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "artifacts/installed/shared-global-storage/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/shared-global-storage/unoptimized/program.pbx": "0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df", + "artifacts/installed/shared-global-storage/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/shared-global-storage/optimized/program.pbx": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "artifacts/installed/contextual-overloads/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/contextual-overloads/optimized-public/program.pbx": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "artifacts/installed/contextual-overloads/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/contextual-overloads/unoptimized/program.pbx": "311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4", + "artifacts/installed/contextual-overloads/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/installed/contextual-overloads/optimized/program.pbx": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "artifacts/checkout/receiver-argument-order/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/receiver-argument-order/optimized-public/program.pbx": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "artifacts/checkout/receiver-argument-order/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/receiver-argument-order/unoptimized/program.pbx": "25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598", + "artifacts/checkout/receiver-argument-order/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/receiver-argument-order/optimized/program.pbx": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "artifacts/checkout/shared-service-singleton/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/shared-service-singleton/optimized-public/program.pbx": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "artifacts/checkout/shared-service-singleton/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/shared-service-singleton/unoptimized/program.pbx": "9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c", + "artifacts/checkout/shared-service-singleton/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/shared-service-singleton/optimized/program.pbx": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "artifacts/checkout/shared-global-storage/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/shared-global-storage/optimized-public/program.pbx": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "artifacts/checkout/shared-global-storage/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/shared-global-storage/unoptimized/program.pbx": "0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df", + "artifacts/checkout/shared-global-storage/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/shared-global-storage/optimized/program.pbx": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "artifacts/checkout/contextual-overloads/optimized-public/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/contextual-overloads/optimized-public/program.pbx": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "artifacts/checkout/contextual-overloads/unoptimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/contextual-overloads/unoptimized/program.pbx": "311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4", + "artifacts/checkout/contextual-overloads/optimized/manifest.json": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63", + "artifacts/checkout/contextual-overloads/optimized/program.pbx": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "execution/installed/receiver-argument-order-unoptimized.json": "f37de1f2f5e54b20ba9a6a4e13208e4e2869c78d0925ea26d4d0fa67e3c37311", + "execution/installed/contextual-overloads-optimized.json": "4e756fc1d7fe19bfe9cf65ef819976508513d4c6d0a2bcf1dc31d1ee177ccb08", + "execution/installed/contextual-overloads-unoptimized.json": "55c0f55aa6b877475826f2060440f1659b866cd8bbcef8d21bb803bf57477095", + "execution/installed/shared-global-storage-unoptimized.json": "028c2a5a293a80dc08c0c99ca2ec79593e54aea8f475c218fa5e68da6b73246e", + "execution/installed/shared-global-storage-optimized.json": "64bd01c940e76bf8e9eb5c08d9e747e3669784af29140b41c71839b1d2881640", + "execution/installed/shared-service-singleton-optimized.json": "8007e663e33f10776c6f6c4a8601987505f05edf2c78b568d9b8e4403a79c433", + "execution/installed/shared-service-singleton-unoptimized.json": "57164ab2d8f84d29652123612959119a76b8d8892e8ebf029c29b871bfc6928c", + "execution/installed/receiver-argument-order-optimized.json": "c7f62ac273a08b6d7b4d5a096091c724fb3cfa1f3eadab95847fd1ec7ca0ba99", + "execution/checkout/receiver-argument-order-unoptimized.json": "689faf482ff8a365952d68d97a7effca1334e2a9a8fa848771d09f226af26847", + "execution/checkout/contextual-overloads-optimized.json": "24913db50c65d44c33e1c15bcd5502bd977e948c6d63fd86b785848707d353cb", + "execution/checkout/contextual-overloads-unoptimized.json": "9d3156c8961e105a4e6b320eccc6746348a33a502a2aaa3b403b117ae07a98e7", + "execution/checkout/shared-global-storage-unoptimized.json": "6f440c48e602e123331bd23347c84f6be1e3cf4f2c8477b86771f2d9c080de62", + "execution/checkout/shared-global-storage-optimized.json": "43ea745b477f6088a76350354bdc850e72261670705e329e0054b12f93a3db2f", + "execution/checkout/shared-service-singleton-optimized.json": "821da039c3d2f9eb010abf6396172bf1eeeadb358b68968f5edf614ce1e0175e", + "execution/checkout/shared-service-singleton-unoptimized.json": "0d06f91bedac62ab34d6355ca68158f611e764eff88c85752acf7f986fa4f15e", + "execution/checkout/receiver-argument-order-optimized.json": "f986de7509f18923b89ae889585fd6ce4912a1329521d73282924999a8f15067", + "compilation/installed/contextual-overloads-optimized-public.json": "01fbb5411e0465ac6c84e8017054b017b110d080e3e5c2f218a9068fc6aea8c3", + "compilation/installed/receiver-argument-order-unoptimized.json": "ad9ac9b96e4dd8cc65887ef000f84c4a9dab6ffdd066ec0d9cda178f611df633", + "compilation/installed/private-service-optimized.json": "95070f0a7522849206c40cf060a67b55295752c0916ceb99ff69146c0b309ad2", + "compilation/installed/contextual-overloads-optimized.json": "ab20e6c66fab2c3d9696757d3e11025b44077c9f74e96b0b181add0eb2392a32", + "compilation/installed/contextual-overloads-unoptimized.json": "72251346b3f1566916d221ed9c9c12e8dd7206400ba8b1f5c55379a306ad4924", + "compilation/installed/private-overload-optimized-public.json": "f149f38f7582b17b7b8fa76b10b1db0d99225195cd212aecd80894b39d4a46ad", + "compilation/installed/receiver-argument-order-optimized-public.json": "8116e2a472db8494ba0aa4f051fc717fa22958893d22b3ee2fdb65118576ce5f", + "compilation/installed/private-overload-optimized.json": "285d314b7e9196680abe963aa82c1d8586b10b1789338f73a7a39cfa8c7c6e55", + "compilation/installed/shared-global-storage-unoptimized.json": "a8d782f3d4de1b54cca1450f2524e188261debf79f1eaf9ca7c5fd32f8cb6f32", + "compilation/installed/shared-global-storage-optimized.json": "b0b63ccb759c749d6a71582e53d26249d11bb82e1c21cd6c8062cedf7b69d443", + "compilation/installed/private-global-optimized.json": "2b1d168dd0d6e7c3d58e70c6bad9f1831b09f66a38b75cc05d951cb571dd8984", + "compilation/installed/private-service-optimized-public.json": "e904b2cec02b08be3923133bec92631c089918768a4639ff01467b8ad76d875f", + "compilation/installed/private-global-unoptimized.json": "44b08dd60a2e63338ca21f1932a37a9dba5bdff93427118d433f00017bec3512", + "compilation/installed/shared-service-singleton-optimized.json": "9d952e15784d2269c6a83ab6ffd3aeaf73a276eb7ce08f5e8d7f6c514ab9f1f8", + "compilation/installed/shared-service-singleton-unoptimized.json": "14a79fe41d3aa2694ddabebcc09a2071728e29a1ff8c36d4cef2a392c1f3c3d0", + "compilation/installed/private-overload-unoptimized.json": "d9682a912b19eade8f38a8afb8ea4df5a8ec985cdec2c85325e34f189330013f", + "compilation/installed/receiver-argument-order-optimized.json": "2a66aa6a8406d75628c6b894cc84a1a02b960b480119496b770febda86151b12", + "compilation/installed/shared-service-singleton-optimized-public.json": "316d2c7549d897f9965b593a9f810d2256f166137d57e45f71a2e40bf157bf72", + "compilation/installed/private-service-unoptimized.json": "c50d46d7e1e22249bb4b3412e2c89e54afb049ee8112b0c7784e169190f528ad", + "compilation/installed/private-global-optimized-public.json": "c8544e77aec7a6d8a623fa243b270b91b25c41ee89ff41ca4238a12477852180", + "compilation/installed/shared-global-storage-optimized-public.json": "6241f4dd183dba403b4d1259b7cd6d6cef10acce6006c7f33dfb60f51ccd7969", + "compilation/checkout/contextual-overloads-optimized-public.json": "a05c14b5d92d31b5977fa2c4660590396b2375c099f9a9bb4fee9a516f8c5530", + "compilation/checkout/receiver-argument-order-unoptimized.json": "f2133c891ac9672ff07a9b9df02709ea816bc7dafde04e7dded0783a782975e3", + "compilation/checkout/private-service-optimized.json": "fd5e11ec557d2f4b0852f8c14d50d051027b79d053c834cb5b07a9f91d01594a", + "compilation/checkout/contextual-overloads-optimized.json": "e1fece79a4b96178de3cddbe5182704fbea99b1513f1f00616578ffc77b87a7e", + "compilation/checkout/contextual-overloads-unoptimized.json": "763a52305267614d8f7eb5558d35c871d2c4ed7cd248ff33dadba12c9a2eec22", + "compilation/checkout/private-overload-optimized-public.json": "584ef888138de0cd02a5e8535e739719e985df45645109bbd1577288a5be3eae", + "compilation/checkout/receiver-argument-order-optimized-public.json": "64ce82629926eefbdf56d0a54f3761f14795ba5d0da1cefad8e140d54f424f48", + "compilation/checkout/private-overload-optimized.json": "93eaaee04c6b2355b7710265ddcc169f4959d6490473a913d04c453212457c77", + "compilation/checkout/shared-global-storage-unoptimized.json": "8264e49c72a12d73a548d56e91ddb3930e4564541d36e24b9591145ea5891a0e", + "compilation/checkout/shared-global-storage-optimized.json": "4cbe0b4ed56dcf29820baf7ef2242b7af4a4885d7f8a20f90d40a379ebb26ce8", + "compilation/checkout/private-global-optimized.json": "1f30a20356821803e849f3dd9e95d99f729fc733a3dfc8960b1ee7667d77f652", + "compilation/checkout/private-service-optimized-public.json": "59996ebf1babfbeb2fff4438ef5485d0b4bf212fcf3da9d16361edde477090ea", + "compilation/checkout/private-global-unoptimized.json": "1f1cc4c14d42be77e5e320476dbf3b24ae37ec9acf83362d04cfed78ab79acef", + "compilation/checkout/shared-service-singleton-optimized.json": "44affad094f6e3ab5eb371950e81d046e1348bedff2672dead37050323a81b11", + "compilation/checkout/shared-service-singleton-unoptimized.json": "2f497619fd2b8e925cf74df55165b4848db8ebe3a2d70888b1a6c83ce07d4e04", + "compilation/checkout/private-overload-unoptimized.json": "0771ba79def1845faa6eb234f0588fe935a52a165f0b0837b3dba57e98432438", + "compilation/checkout/receiver-argument-order-optimized.json": "56f7c2d81c8cff0d9b75437e557bd41a582fcfc46031887a74fb9e4704fb3ffa", + "compilation/checkout/shared-service-singleton-optimized-public.json": "c9fb529e86055292bf42b3ab44a6e80df7e64868fb0d651aa2a1a515fa223867", + "compilation/checkout/private-service-unoptimized.json": "ce532d51ebd1fb75c35f74f1ee088472db008c3acd9b221be96548fdd658bad5", + "compilation/checkout/private-global-optimized-public.json": "b6b3ce543b69e53a4e4ba09b66dc7c9d8b2ee4aaf205d47a622348d97e6a5a9e", + "compilation/checkout/shared-global-storage-optimized-public.json": "c2c1703e1b83b0971410f8b20c9b1bdd5a1bac36f324608a66c4ea2bec972a6e" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-optimized-public.json new file mode 100644 index 00000000..cd142d7f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-optimized-public.json @@ -0,0 +1,172 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/cartridge", + "bytecodeBytes": 1620, + "bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@560348e6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-optimized.json new file mode 100644 index 00000000..43645039 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-optimized.json @@ -0,0 +1,201 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/cartridge", + "bytecodeBytes": 1620, + "bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@560348e6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-unoptimized.json new file mode 100644 index 00000000..b1bf9ef5 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/contextual-overloads-unoptimized.json @@ -0,0 +1,196 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/cartridge", + "bytecodeBytes": 1642, + "bytecodeSha256": "311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@560348e6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-optimized-public.json new file mode 100644 index 00000000..2fdd2382 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-optimized-public.json @@ -0,0 +1,197 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "diagnostics": [ + { + "issueId": "df108770-55a9-4190-8336-d938e1b12c92:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "codeOrigin": "producer", + "templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "templateParameters": {}, + "checkId": "pbs.flow.assignment-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Assignment target 'count' does not resolve", + "facts": {}, + "explanation": { + "id": "pbs.flow.assignment-target", + "summary": "An assignment must resolve its target binding in the current semantic scope.", + "rule": "An assignment must resolve its target binding in the current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "assignment", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "count", + "availability": "available", + "reason": null + }, + "binding": { + "value": "unresolved", + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/main.pbs", + "fileId": 0, + "span": { + "start": 29, + "end": 34, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 29 + }, + "end": { + "line": 0, + "character": 34 + }, + "unit": "utf16" + }, + "revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.assignment-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-global", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-optimized.json new file mode 100644 index 00000000..cc778443 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-optimized.json @@ -0,0 +1,196 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "77656e2d-4169-471e-8121-edf9b88a1b60:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "codeOrigin": "producer", + "templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "templateParameters": {}, + "checkId": "pbs.flow.assignment-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Assignment target 'count' does not resolve", + "facts": {}, + "explanation": { + "id": "pbs.flow.assignment-target", + "summary": "An assignment must resolve its target binding in the current semantic scope.", + "rule": "An assignment must resolve its target binding in the current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "assignment", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "count", + "availability": "available", + "reason": null + }, + "binding": { + "value": "unresolved", + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 29, + "end": 34, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 29 + }, + "end": { + "line": 0, + "character": 34 + }, + "unit": "utf16" + }, + "revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.assignment-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-global", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-unoptimized.json new file mode 100644 index 00000000..2bc81042 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-global-unoptimized.json @@ -0,0 +1,196 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "5820c462-1b73-441b-824b-2a88f258573b:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "codeOrigin": "producer", + "templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "templateParameters": {}, + "checkId": "pbs.flow.assignment-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Assignment target 'count' does not resolve", + "facts": {}, + "explanation": { + "id": "pbs.flow.assignment-target", + "summary": "An assignment must resolve its target binding in the current semantic scope.", + "rule": "An assignment must resolve its target binding in the current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "assignment", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "count", + "availability": "available", + "reason": null + }, + "binding": { + "value": "unresolved", + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 29, + "end": 34, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 29 + }, + "end": { + "line": 0, + "character": 34 + }, + "unit": "utf16" + }, + "revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.assignment-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-global", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-optimized-public.json new file mode 100644 index 00000000..f07b6b5a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-optimized-public.json @@ -0,0 +1,151 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "diagnostics": [ + { + "issueId": "8a627a43-d275-44bd-b833-60e0f73b8d6f:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "No callable overload matches the provided argument; numeric carriers require explicit conversion", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/main.pbs", + "fileId": 1, + "span": { + "start": 38, + "end": 50, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 38 + }, + "end": { + "line": 0, + "character": 50 + }, + "unit": "utf16" + }, + "revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/helper.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/helper.pbs", + "relativePath": "src/helper.pbs", + "originScope": "project", + "sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-overload", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-optimized.json new file mode 100644 index 00000000..13b25f60 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-optimized.json @@ -0,0 +1,150 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "3ee9448e-f8ef-4639-8695-68dabc6b70c6:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "No callable overload matches the provided argument; numeric carriers require explicit conversion", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/main.pbs", + "fileId": 1, + "span": { + "start": 38, + "end": 50, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 38 + }, + "end": { + "line": 0, + "character": 50 + }, + "unit": "utf16" + }, + "revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/helper.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/helper.pbs", + "relativePath": "src/helper.pbs", + "originScope": "project", + "sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-overload", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-unoptimized.json new file mode 100644 index 00000000..35cbf16b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-overload-unoptimized.json @@ -0,0 +1,150 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "e873397c-de73-4d74-8324-f4f705fa6edc:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "No callable overload matches the provided argument; numeric carriers require explicit conversion", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/main.pbs", + "fileId": 1, + "span": { + "start": 38, + "end": 50, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 38 + }, + "end": { + "line": 0, + "character": 50 + }, + "unit": "utf16" + }, + "revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/helper.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/helper.pbs", + "relativePath": "src/helper.pbs", + "originScope": "project", + "sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-overload", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-optimized-public.json new file mode 100644 index 00000000..32ab8f10 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-optimized-public.json @@ -0,0 +1,286 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "diagnostics": [ + { + "issueId": "53e57eed-fb8e-460c-b593-dab07133f827:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_INVALID_MEMBER_ACCESS", + "codeOrigin": "producer", + "templateId": "E_SEM_INVALID_MEMBER_ACCESS", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Invalid member access target", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + }, + { + "issueId": "53e57eed-fb8e-460c-b593-dab07133f827:1", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "Counter.value", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "UNIT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-service", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-optimized.json new file mode 100644 index 00000000..1ec26e2a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-optimized.json @@ -0,0 +1,285 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "990df011-806a-4a87-9c1c-abddcdcac63e:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_INVALID_MEMBER_ACCESS", + "codeOrigin": "producer", + "templateId": "E_SEM_INVALID_MEMBER_ACCESS", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Invalid member access target", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + }, + { + "issueId": "990df011-806a-4a87-9c1c-abddcdcac63e:1", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "Counter.value", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "UNIT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-service", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-unoptimized.json new file mode 100644 index 00000000..6da2bc50 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/private-service-unoptimized.json @@ -0,0 +1,285 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "61593dcc-fc17-4b29-9b3c-39814fd25682:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_INVALID_MEMBER_ACCESS", + "codeOrigin": "producer", + "templateId": "E_SEM_INVALID_MEMBER_ACCESS", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Invalid member access target", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + }, + { + "issueId": "61593dcc-fc17-4b29-9b3c-39814fd25682:1", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "Counter.value", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "UNIT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-service", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-optimized-public.json new file mode 100644 index 00000000..93bb5b98 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-optimized-public.json @@ -0,0 +1,183 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/cartridge", + "bytecodeBytes": 1846, + "bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a07d605, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "receiver", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "arg", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@295cf707, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e2d8e3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12299890, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fba3fc4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.read", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b7fdc8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51c693d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-optimized.json new file mode 100644 index 00000000..5bee4e9a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-optimized.json @@ -0,0 +1,212 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/cartridge", + "bytecodeBytes": 1846, + "bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a07d605, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "receiver", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "arg", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@295cf707, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e2d8e3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12299890, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fba3fc4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.read", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b7fdc8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51c693d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-unoptimized.json new file mode 100644 index 00000000..06863bbc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/receiver-argument-order-unoptimized.json @@ -0,0 +1,207 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/cartridge", + "bytecodeBytes": 1868, + "bytecodeSha256": "25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a07d605, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "receiver", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "arg", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@295cf707, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e2d8e3, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12299890, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fba3fc4, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.read", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b7fdc8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51c693d, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-optimized-public.json new file mode 100644 index 00000000..7f963caa --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-optimized-public.json @@ -0,0 +1,164 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/cartridge", + "bytecodeBytes": 1332, + "bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e01f9b0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "increment", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-optimized.json new file mode 100644 index 00000000..61746e9b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-optimized.json @@ -0,0 +1,193 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/cartridge", + "bytecodeBytes": 1332, + "bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e01f9b0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "increment", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-unoptimized.json new file mode 100644 index 00000000..c8c4fcb2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-global-storage-unoptimized.json @@ -0,0 +1,188 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/cartridge", + "bytecodeBytes": 1354, + "bytecodeSha256": "0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e01f9b0, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "increment", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-optimized-public.json new file mode 100644 index 00000000..31abcddf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-optimized-public.json @@ -0,0 +1,149 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/cartridge", + "bytecodeBytes": 1984, + "bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/state.pbs", + "3": "/virtual/stdlib/sdk/hash/main.pbs", + "4": "/virtual/stdlib/sdk/hash/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@71329995, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@768fc0f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Counter.$instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-optimized.json new file mode 100644 index 00000000..f188d3fd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-optimized.json @@ -0,0 +1,178 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/cartridge", + "bytecodeBytes": 1984, + "bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/state.pbs", + "3": "/virtual/stdlib/sdk/hash/main.pbs", + "4": "/virtual/stdlib/sdk/hash/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@71329995, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@768fc0f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Counter.$instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-unoptimized.json new file mode 100644 index 00000000..fea45f02 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/checkout/shared-service-singleton-unoptimized.json @@ -0,0 +1,173 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/cartridge", + "bytecodeBytes": 2006, + "bytecodeSha256": "9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/state.pbs", + "3": "/virtual/stdlib/sdk/hash/main.pbs", + "4": "/virtual/stdlib/sdk/hash/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@71329995, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@768fc0f2, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Counter.$instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-optimized-public.json new file mode 100644 index 00000000..f7c7c452 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-optimized-public.json @@ -0,0 +1,172 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/cartridge", + "bytecodeBytes": 1620, + "bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21337f7b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e950bcf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@74bada02, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@134d26af, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31bcf236, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b3ed2f0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a12c404, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22d7b4f8, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4982cc36, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@61a88b8c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22295ec4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-optimized.json new file mode 100644 index 00000000..8c482fe8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-optimized.json @@ -0,0 +1,201 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/cartridge", + "bytecodeBytes": 1620, + "bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21337f7b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e950bcf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@74bada02, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@134d26af, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31bcf236, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b3ed2f0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a12c404, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22d7b4f8, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4982cc36, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@61a88b8c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22295ec4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-unoptimized.json new file mode 100644 index 00000000..f3b13969 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/contextual-overloads-unoptimized.json @@ -0,0 +1,196 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/cartridge", + "bytecodeBytes": 1642, + "bytecodeSha256": "311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21337f7b, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "check", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e950bcf, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@74bada02, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@134d26af, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31bcf236, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b3ed2f0, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a12c404, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22d7b4f8, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4982cc36, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@61a88b8c, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22295ec4, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.value", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-optimized-public.json new file mode 100644 index 00000000..eebb55d5 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-optimized-public.json @@ -0,0 +1,197 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "diagnostics": [ + { + "issueId": "7bd0bc2e-4ed8-4433-b518-5a64e2b1503c:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "codeOrigin": "producer", + "templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "templateParameters": {}, + "checkId": "pbs.flow.assignment-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Assignment target 'count' does not resolve", + "facts": {}, + "explanation": { + "id": "pbs.flow.assignment-target", + "summary": "An assignment must resolve its target binding in the current semantic scope.", + "rule": "An assignment must resolve its target binding in the current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "assignment", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "count", + "availability": "available", + "reason": null + }, + "binding": { + "value": "unresolved", + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/main.pbs", + "fileId": 0, + "span": { + "start": 29, + "end": 34, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 29 + }, + "end": { + "line": 0, + "character": 34 + }, + "unit": "utf16" + }, + "revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.assignment-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-global", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-optimized.json new file mode 100644 index 00000000..d76a9b2a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-optimized.json @@ -0,0 +1,196 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "6c8f9c0f-68f1-4e74-9493-e6e6e6a61426:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "codeOrigin": "producer", + "templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "templateParameters": {}, + "checkId": "pbs.flow.assignment-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Assignment target 'count' does not resolve", + "facts": {}, + "explanation": { + "id": "pbs.flow.assignment-target", + "summary": "An assignment must resolve its target binding in the current semantic scope.", + "rule": "An assignment must resolve its target binding in the current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "assignment", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "count", + "availability": "available", + "reason": null + }, + "binding": { + "value": "unresolved", + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 29, + "end": 34, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 29 + }, + "end": { + "line": 0, + "character": 34 + }, + "unit": "utf16" + }, + "revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.assignment-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-global", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-unoptimized.json new file mode 100644 index 00000000..9ce50e6b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-global-unoptimized.json @@ -0,0 +1,196 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "3b0e4a12-d538-47b7-ab13-3448eff4ae1a:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "codeOrigin": "producer", + "templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED", + "templateParameters": {}, + "checkId": "pbs.flow.assignment-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Assignment target 'count' does not resolve", + "facts": {}, + "explanation": { + "id": "pbs.flow.assignment-target", + "summary": "An assignment must resolve its target binding in the current semantic scope.", + "rule": "An assignment must resolve its target binding in the current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "assignment", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "count", + "availability": "available", + "reason": null + }, + "binding": { + "value": "unresolved", + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 29, + "end": 34, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 29 + }, + "end": { + "line": 0, + "character": 34 + }, + "unit": "utf16" + }, + "revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.assignment-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-global", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-optimized-public.json new file mode 100644 index 00000000..c8ff343a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-optimized-public.json @@ -0,0 +1,151 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "class": "p.studio.compiler.exceptions.BuildException", + "message": "issues found on pipeline stage: analyze" + } + ], + "diagnostics": [ + { + "issueId": "70f7bb74-5576-48ef-8bb9-06fa40ec6559:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "No callable overload matches the provided argument; numeric carriers require explicit conversion", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/main.pbs", + "fileId": 1, + "span": { + "start": 38, + "end": 50, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 38 + }, + "end": { + "line": 0, + "character": 50 + }, + "unit": "utf16" + }, + "revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/helper.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/helper.pbs", + "relativePath": "src/helper.pbs", + "originScope": "project", + "sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-overload", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-optimized.json new file mode 100644 index 00000000..23597944 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-optimized.json @@ -0,0 +1,150 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "66479724-bd46-4e27-b3d0-34567424716e:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "No callable overload matches the provided argument; numeric carriers require explicit conversion", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/main.pbs", + "fileId": 1, + "span": { + "start": 38, + "end": 50, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 38 + }, + "end": { + "line": 0, + "character": 50 + }, + "unit": "utf16" + }, + "revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/helper.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/helper.pbs", + "relativePath": "src/helper.pbs", + "originScope": "project", + "sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-overload", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-unoptimized.json new file mode 100644 index 00000000..f6452400 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-overload-unoptimized.json @@ -0,0 +1,150 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "bfba1132-4415-4811-aa4b-5d8881fbaf08:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "No callable overload matches the provided argument; numeric carriers require explicit conversion", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/main.pbs", + "fileId": 1, + "span": { + "start": 38, + "end": 50, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 38 + }, + "end": { + "line": 0, + "character": 50 + }, + "unit": "utf16" + }, + "revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "source": { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/helper.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/main.pbs", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/mod.barrel" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/helper.pbs", + "relativePath": "src/helper.pbs", + "originScope": "project", + "sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-overload", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-optimized-public.json new file mode 100644 index 00000000..096beed0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-optimized-public.json @@ -0,0 +1,286 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "public_compile_rejected", + "exception": [ + { + "message": "issues found on pipeline stage: analyze", + "class": "p.studio.compiler.exceptions.BuildException" + } + ], + "diagnostics": [ + { + "issueId": "59e59111-2d77-4012-9c34-2efdea974793:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_INVALID_MEMBER_ACCESS", + "codeOrigin": "producer", + "templateId": "E_SEM_INVALID_MEMBER_ACCESS", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Invalid member access target", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + }, + { + "issueId": "59e59111-2d77-4012-9c34-2efdea974793:1", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "Counter.value", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "UNIT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-service", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-optimized.json new file mode 100644 index 00000000..849463f1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-optimized.json @@ -0,0 +1,285 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "396458b4-2fa1-4d4a-b4a7-5c4091ae04fe:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_INVALID_MEMBER_ACCESS", + "codeOrigin": "producer", + "templateId": "E_SEM_INVALID_MEMBER_ACCESS", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Invalid member access target", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + }, + { + "issueId": "396458b4-2fa1-4d4a-b4a7-5c4091ae04fe:1", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "Counter.value", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "UNIT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-service", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-unoptimized.json new file mode 100644 index 00000000..b7e9ed0b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/private-service-unoptimized.json @@ -0,0 +1,285 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [ + { + "issueId": "ee43bfb5-2571-49e4-8a92-500a4cadd63e:0", + "producer": { + "component": "compiler", + "owner": "compiler", + "languageId": null + }, + "code": "E_SEM_INVALID_MEMBER_ACCESS", + "codeOrigin": "producer", + "templateId": "E_SEM_INVALID_MEMBER_ACCESS", + "templateParameters": {}, + "checkId": null, + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Invalid member access target", + "facts": {}, + "explanation": { + "id": null, + "summary": null, + "rule": null, + "availability": "unavailable" + }, + "semanticContext": { + "availability": "unavailable", + "facts": {} + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + }, + { + "issueId": "ee43bfb5-2571-49e4-8a92-500a4cadd63e:1", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin": "producer", + "templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters": {}, + "checkId": "pbs.flow.call-target", + "severity": "ERROR", + "phase": "static-semantics", + "stageId": "FrontendPhasePipelineStage", + "failureKind": "program-rejection", + "message": "Apply/call target is not callable", + "facts": {}, + "explanation": { + "id": "pbs.flow.call-target", + "summary": "An applied expression must resolve to a callable target in its current semantic scope.", + "rule": "An applied expression must resolve to a callable target in its current semantic scope.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "construction": { + "value": "application", + "availability": "available", + "reason": null + }, + "requestedSymbol": { + "value": "Counter.value", + "availability": "available", + "reason": null + }, + "calleeClassification": { + "value": "UNKNOWN", + "availability": "available", + "reason": null + }, + "argumentType": { + "value": "UNIT", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": null, + "availability": "available", + "reason": null + }, + "candidateCount": { + "value": 0, + "availability": "available", + "reason": null + }, + "scopeFileId": { + "value": 0, + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin": { + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs", + "fileId": 0, + "span": { + "start": 39, + "end": 52, + "unit": "utf8-byte" + }, + "range": { + "start": { + "line": 0, + "character": 39 + }, + "end": { + "line": 0, + "character": 52 + }, + "unit": "utf16" + }, + "revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "source": { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + "availability": "available", + "attribution": { + "originKind": "unknown", + "locationKind": "none", + "role": "detection", + "absenceReason": "unknown" + }, + "verification": null + }, + "related": [], + "suggestedChecks": [ + { + "id": "pbs.flow.call-target.inspect-context", + "description": "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields": [ + "semanticContext", + "origin", + "facts" + ] + } + ], + "limitations": [] + } + ], + "status": "failed" + } + ], + "status": "analysis_failed", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/state.pbs" + }, + "projectFunctions": [], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", + "[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n", + "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n", + "caseId": "private-service", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "expectedCompile": "rejected", + "matchesExpectation": true, + "sourcesUnchanged": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-optimized-public.json new file mode 100644 index 00000000..5f14dc3a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-optimized-public.json @@ -0,0 +1,183 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/cartridge", + "bytecodeBytes": 1846, + "bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@632ceb35, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5143c662, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1800a575, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "receiver", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a709816, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad3381f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34a875b3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "arg", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@176b3f44, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421bba99, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fad9bb2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@517d4a0d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a760689, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77258e59, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2250b9f2, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@8dbfffb, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.read", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6187d1f5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2445445a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-optimized.json new file mode 100644 index 00000000..afa95432 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-optimized.json @@ -0,0 +1,212 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/cartridge", + "bytecodeBytes": 1846, + "bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@632ceb35, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5143c662, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1800a575, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "receiver", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a709816, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad3381f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34a875b3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "arg", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@176b3f44, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421bba99, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fad9bb2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@517d4a0d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a760689, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77258e59, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2250b9f2, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@8dbfffb, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.read", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6187d1f5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2445445a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-unoptimized.json new file mode 100644 index 00000000..89296cb4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/receiver-argument-order-unoptimized.json @@ -0,0 +1,207 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/cartridge", + "bytecodeBytes": 1868, + "bytecodeSha256": "25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "$globals.0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@632ceb35, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5143c662, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1800a575, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "receiver", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a709816, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad3381f, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34a875b3, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "arg", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]", + "Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@176b3f44, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421bba99, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fad9bb2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@517d4a0d, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a760689, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77258e59, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2250b9f2, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@8dbfffb, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "Probe.read", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6187d1f5, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2445445a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__pbs.file_init$f0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(6)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(7)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-optimized-public.json new file mode 100644 index 00000000..3a27a98e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-optimized-public.json @@ -0,0 +1,164 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/cartridge", + "bytecodeBytes": 1332, + "bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fe1b4fb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "increment", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d5f10b2, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53bd8fca, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-optimized.json new file mode 100644 index 00000000..981cc5f3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-optimized.json @@ -0,0 +1,193 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/cartridge", + "bytecodeBytes": 1332, + "bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fe1b4fb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "increment", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d5f10b2, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53bd8fca, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-unoptimized.json new file mode 100644 index 00000000..e3bccc59 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-global-storage-unoptimized.json @@ -0,0 +1,188 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/cartridge", + "bytecodeBytes": 1354, + "bytecodeSha256": "0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/state.pbs" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]", + "Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]", + "Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "$globals.2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fe1b4fb, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "increment", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d5f10b2, registryInstruction=null]", + "Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53bd8fca, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(3)", + "name": "__pbs.file_init$f2", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(4)", + "name": "__prometeu.lifecycle.module_init$m0", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(5)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-optimized-public.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-optimized-public.json new file mode 100644 index 00000000..32e77152 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-optimized-public.json @@ -0,0 +1,149 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public", + "optimization": "optimized", + "entrypoint": "BuilderPipelineService.compile", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [], + "status": "compiled", + "diagnostics": [], + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/cartridge", + "bytecodeBytes": 1984, + "bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/state.pbs", + "3": "/virtual/stdlib/sdk/hash/main.pbs", + "4": "/virtual/stdlib/sdk/hash/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3b00856b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@35d08e6c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5aac4250, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1338fb5, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42463763, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59f63e24, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d36e77e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Counter.$instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-optimized.json new file mode 100644 index 00000000..81ee0c14 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-optimized.json @@ -0,0 +1,178 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized", + "optimization": "optimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "OptimizeIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/cartridge", + "bytecodeBytes": 1984, + "bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/state.pbs", + "3": "/virtual/stdlib/sdk/hash/main.pbs", + "4": "/virtual/stdlib/sdk/hash/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3b00856b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@35d08e6c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5aac4250, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1338fb5, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42463763, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59f63e24, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d36e77e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Counter.$instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-unoptimized.json new file mode 100644 index 00000000..8318daf8 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/compilation/installed/shared-service-singleton-unoptimized.json @@ -0,0 +1,173 @@ +{ + "projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized", + "optimization": "unoptimized", + "entrypoint": "public analysis + production compile stages", + "frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "javaVersion": "21.0.4", + "pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "phases": [ + { + "phase": "analysis", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LowerToIRVMPipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "EmitBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "LinkBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + }, + { + "phase": "VerifyBytecodePipelineStage", + "diagnostics": [], + "status": "passed" + } + ], + "status": "compiled", + "cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/cartridge", + "bytecodeBytes": 2006, + "bytecodeSha256": "9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c", + "files": { + "0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/main.pbs", + "1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/mod.barrel", + "2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/state.pbs", + "3": "/virtual/stdlib/sdk/hash/main.pbs", + "4": "/virtual/stdlib/sdk/hash/mod.barrel" + }, + "projectFunctions": [ + { + "callableId": "CallableId(0)", + "name": "frame", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3b00856b, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@35d08e6c, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]", + "Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]", + "Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5aac4250, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1338fb5, registryInstruction=null]", + "Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42463763, registryInstruction=null]", + "Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59f63e24, registryInstruction=null]", + "Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(2)", + "name": "instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d36e77e, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(1)", + "name": "Counter.$instance", + "file": "src/state.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]" + ] + }, + { + "callableId": "CallableId(8)", + "name": "__prometeu.lifecycle.frame_wrapper$m0", + "file": "src/main.pbs", + "instructions": [ + "Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]", + "Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]" + ] + } + ], + "inputs": [ + { + "fileId": 0, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/main.pbs", + "relativePath": "src/main.pbs", + "originScope": "project", + "sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 1, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/mod.barrel", + "relativePath": "src/mod.barrel", + "originScope": "project", + "sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e", + "revisionAvailability": "available", + "readOnly": false + }, + { + "fileId": 2, + "projectId": 0, + "inputKind": "source", + "observationScope": "compiler", + "uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/state.pbs", + "relativePath": "src/state.pbs", + "originScope": "project", + "sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2", + "revisionAvailability": "available", + "readOnly": false + } + ], + "logs": [ + "[INFO] [DEPS]: dependency completed successfully \n", + "[DEBUG] Project [ caseapp ] source loading... \n", + "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src ] \n", + "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n", + "[DEBUG] Frontend phase completed successfully! \n", + "[DEBUG] Common lifecycle assembly completed successfully! \n", + "[INFO] builder pipeline stage group completed successfully \n" + ], + "stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n", + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "expectedCompile": "compiled", + "matchesExpectation": true, + "sourcesUnchanged": true, + "manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/contextual-overloads-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/contextual-overloads-optimized.json new file mode 100644 index 00000000..2c42a368 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/contextual-overloads-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 207, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 207, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "480442b62303f1950ef26e8a2cae7cc8", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/contextual-overloads-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/contextual-overloads-unoptimized.json new file mode 100644 index 00000000..81d5c405 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/contextual-overloads-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 213, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 213, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "2ba029ccb259b5ffa0ab7150c6e3c21c", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "bytecodeSha256": "311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/receiver-argument-order-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/receiver-argument-order-optimized.json new file mode 100644 index 00000000..b7188920 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/receiver-argument-order-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 268, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 268, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "6beb3faefb64a6bc2eafd348fbc4767a", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/receiver-argument-order-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/receiver-argument-order-unoptimized.json new file mode 100644 index 00000000..e4ef2cb7 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/receiver-argument-order-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 274, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 274, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "a940ed20665df0b089d4bb5d1f687d04", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "bytecodeSha256": "25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-global-storage-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-global-storage-optimized.json new file mode 100644 index 00000000..916551fa --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-global-storage-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 180, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 180, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "b8fc3d86f5b17037cf91ea42b896cd42", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-global-storage-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-global-storage-unoptimized.json new file mode 100644 index 00000000..1c37a344 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-global-storage-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "075bf6c168529b65eb67c179296a822e", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "bytecodeSha256": "0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-service-singleton-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-service-singleton-optimized.json new file mode 100644 index 00000000..151b7dfe --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-service-singleton-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 268, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 268, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "aee75c9a856dde73fd9241614de75122", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-service-singleton-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-service-singleton-unoptimized.json new file mode 100644 index 00000000..02eb3c99 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/checkout/shared-service-singleton-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 274, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 274, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "b7f9fb24e395fe69997674a8422c7867", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "bytecodeSha256": "9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/contextual-overloads-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/contextual-overloads-optimized.json new file mode 100644 index 00000000..70098259 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/contextual-overloads-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 207, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 207, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "e41395b9a6e6ff49445976051222b69c", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/contextual-overloads-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/contextual-overloads-unoptimized.json new file mode 100644 index 00000000..03dc1531 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/contextual-overloads-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 213, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 213, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "73de7cc5e4a26f5e78894162fce1156e", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "bytecodeSha256": "311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/receiver-argument-order-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/receiver-argument-order-optimized.json new file mode 100644 index 00000000..61ee0192 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/receiver-argument-order-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 268, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 268, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "c0cc1aab9a0ce6da02551501c23bfba9", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/receiver-argument-order-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/receiver-argument-order-unoptimized.json new file mode 100644 index 00000000..d9bf64b0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/receiver-argument-order-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 274, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 274, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "9b3a60c91f1b2ae7852d196b6702ac31", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "bytecodeSha256": "25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-global-storage-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-global-storage-optimized.json new file mode 100644 index 00000000..5c31d139 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-global-storage-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 180, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 180, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "4630930b6849e3c9fcee5587b9921dd5", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-global-storage-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-global-storage-unoptimized.json new file mode 100644 index 00000000..c70853a3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-global-storage-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 186, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "5e146db5a43352cdfe0d33776b0e633f", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "bytecodeSha256": "0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-service-singleton-optimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-service-singleton-optimized.json new file mode 100644 index 00000000..a3a9a226 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-service-singleton-optimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 268, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 268, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "c16c14ea8d9e9cf482ec93f6bd03ef81", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-service-singleton-unoptimized.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-service-singleton-unoptimized.json new file mode 100644 index 00000000..1ab07f70 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/execution/installed/shared-service-singleton-unoptimized.json @@ -0,0 +1,301 @@ +{ + "observedRuntime": "passed", + "hello": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "hello" + }, + "boot": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "advance": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "fault": null, + "state": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 274, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "workerTerminated": true, + "processExitCode": 0, + "transcript": [ + { + "direction": "received", + "message": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "limits": { + "callTimeoutMs": 60000, + "handshakeTimeoutMs": 5000, + "maxCommandBytes": 65536, + "maxFrames": 600, + "maxResponseBytes": 33554432, + "shutdownTimeoutMs": 5000 + }, + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "runtimeVersion": "0.1.0", + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "hello" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-1", + "command": "initialize", + "params": { + "protocolVersion": { + "major": 1, + "minor": 1 + }, + "requiredCapabilities": [ + "boot", + "advance", + "get_state", + "get_fault", + "shutdown" + ] + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-1", + "result": { + "capabilities": [ + "boot", + "reset", + "set_input", + "clear_input", + "advance", + "capture", + "get_state", + "get_fault", + "cancel", + "shutdown", + "memcard", + "memcard_mount", + "memcard_unmount", + "get_memcard_state", + "memcard_reconcile", + "memcard_continue_in_memory" + ], + "protocolVersion": { + "major": 1, + "minor": 1 + } + }, + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-2", + "command": "boot", + "params": { + "path": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/cartridge" + } + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-2", + "result": { + "appId": 113, + "logicalFrameIndex": 0, + "pc": 0, + "stackTop": [], + "status": "running", + "tickIndex": 0 + }, + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-3", + "command": "advance", + "params": { + "frames": 3 + } + } + }, + { + "direction": "received", + "message": { + "completed": 1, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 2, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "completed": 3, + "requestId": "pbs-corpus-3", + "requested": 3, + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "progress" + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-3", + "result": { + "completed": 3, + "requested": 3, + "stop": "completed" + }, + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-4", + "command": "get_fault", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-4", + "result": null, + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-5", + "command": "get_state", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-5", + "result": { + "appId": 113, + "logicalFrameIndex": 3, + "pc": 274, + "stackTop": [], + "status": "paused", + "tickIndex": 3 + }, + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "response" + } + }, + { + "direction": "sent", + "message": { + "requestId": "pbs-corpus-6", + "command": "shutdown", + "params": {} + } + }, + { + "direction": "received", + "message": { + "requestId": "pbs-corpus-6", + "result": { + "closed": true + }, + "sessionId": "9be0ef0afdc987f8f0b4d8296da717a3", + "type": "response" + } + } + ], + "stderr": "", + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "bytecodeSha256": "9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c", + "expectedRuntime": "passed", + "matchesExpectation": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/provenance.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/provenance.json new file mode 100644 index 00000000..be4f187d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/provenance.json @@ -0,0 +1,255 @@ +{ + "schemaVersion": 1, + "corpusSha256": "63ca2405f3e39c1a04186bd5ccc09775374f9e07e1f0c342587278600c5ec19e", + "runtime": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless", + "runtimeSha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6", + "platform": "macOS-27.2-arm64-arm-64bit", + "gitHead": "38f201a9c9e9e23e961da4fa715ed5ee80283e94", + "worktreeStatus": [ + " M \"docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md\"", + " M \"docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md\"", + " M \"docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md\"", + " M \"docs/specs/compiler/15. Bytecode and PBX Mapping Specification.md\"", + " M \"docs/specs/compiler/19. Verification and Safety Checks Specification.md\"", + " M \"docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md\"", + " M \"docs/specs/studio/10. DEV and Automation Specification.md\"", + " M \"docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md\"", + " M \"docs/specs/studio/8. Project-Local Studio State Specification.md\"", + " M \"docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md\"", + " M prometeu-app/src/main/java/p/studio/app/compiler/CompilerBuildGatewayAdapter.java", + " M prometeu-app/src/main/java/p/studio/app/lsp/AutomationLspQueries.java", + " M prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java", + " M prometeu-app/src/main/java/p/studio/app/mcp/McpTaskTools.java", + " M prometeu-app/src/main/java/p/studio/app/operation/ExecutorOperationExecutor.java", + " M prometeu-app/src/main/resources/mcp/studio-tools-v1.json", + " M prometeu-app/src/test/java/p/studio/app/DevDesktopTest.java", + " M prometeu-app/src/test/java/p/studio/app/lsp/AutomationLspQueriesTest.java", + " M prometeu-app/src/test/java/p/studio/app/mcp/McpTaskToolsTest.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsFrontendCompiler.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericDiagnostics.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallableRegistryFactory.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallsiteEmitter.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringService.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableMetadataIndexFactory.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowCallableResolutionAnalyzer.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PBSFrontendPhaseService.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContextService.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssembly.java", + " M prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssemblyService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeEmitter.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationException.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/LowerToIRVMService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/OptimizeIRVMService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierServiceTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/SyntheticFrontendPipelineTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendPhaseService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendProvider.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStageTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStageTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStageTest.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssue.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssueSink.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/SourceHandle.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostic.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/RelatedSpan.java", + " M prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackend.java", + " M prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackendExecutableFunction.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentAnalysis.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentIssue.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridge.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/ExternalSourceLanguageServer.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuLanguageServer.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuTextDocumentService.java", + " M prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/mapping/Lsp4jProtocolMessageMapper.java", + " M prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/ExternalSourceDevelopmentHostTest.java", + " M prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridgeTest.java", + " M prometeu-studio-api/build.gradle.kts", + " M prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationFailure.java", + " M prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationOutcome.java", + " M prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSnapshot.java", + " M prometeu-studio-api/src/main/java/p/studio/api/diagnostic/StudioDiagnostic.java", + " M prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPreparationStatus.java", + " M prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPrepareResult.java", + " M prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryPort.java", + " M prometeu-studio-core/src/main/java/p/studio/core/language/TaskLanguageQueries.java", + " M prometeu-studio-core/src/main/java/p/studio/core/session/DefaultAutomationSession.java", + " M prometeu-studio-core/src/main/java/p/studio/core/session/DefaultTaskTools.java", + " M prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildGateway.java", + " M prometeu-studio-core/src/main/java/p/studio/core/shipper/StudioShipperService.java", + " M prometeu-studio-core/src/test/java/p/studio/core/language/TaskLanguageQueriesTest.java", + " M prometeu-studio-core/src/test/java/p/studio/core/session/DefaultAutomationSessionTest.java", + " M prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/builder/ShipperWorkspace.java", + " M prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspace.java", + " M prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspaceProjection.java", + " M tools/vscode-extension/.gitignore", + " M tools/vscode-extension/README.md", + " M tools/vscode-extension/out/extension.js", + " M tools/vscode-extension/out/externalSources.js", + " M tools/vscode-extension/package.json", + " M tools/vscode-extension/src/extension.ts", + " M tools/vscode-extension/src/externalSources.ts", + " M tools/vscode-extension/src/test/externalSources.ts", + "?? discussion/lessons/DSC-0103-studio-lsp-discovery/", + "?? discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/", + "?? discussion/lessons/DSC-0113-studio-ai-first-build-language-results/", + "?? prometeu-app/src/test/java/p/studio/app/compiler/fixture/", + "?? prometeu-app/src/test/java/p/studio/app/lsp/LanguageFailureContractTest.java", + "?? prometeu-app/src/test/java/p/studio/app/lsp/LspDiscoveryTest.java", + "?? prometeu-app/src/test/java/p/studio/app/mcp/StructuredDiagnosticsIntegrationTest.java", + "?? prometeu-app/src/test/resources/diagnostics/", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsDiagnosticFacts.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsImportedGlobalSlots.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsGlobalReferenceLinker.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/GenericDiagnosticContextTest.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/lowering/", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsProductionLoweringRegressionTest.java", + "?? prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/IRVMAttributionTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/PbsFacadeDiagnosticTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/CompilerFailurePayloadTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/FrontendDiagnosticProjectionTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/CompilerDiagnosticProjection.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticDescriptions.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/FailureKind.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceReference.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/VerificationContext.java", + "?? prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/ConsumedSourceProjectionTest.java", + "?? prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/StructuredDiagnosticTest.java", + "?? prometeu-infra/src/main/java/p/studio/utilities/json/", + "?? prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/protocol/DiagnosticAnalysisProtocolTest.java", + "?? prometeu-studio-api/src/test/java/p/studio/api/diagnostic/", + "?? prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryExecution.java", + "?? prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildFailure.java", + "?? prometeu-studio-core/src/test/java/p/studio/core/shipper/", + "?? prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/", + "?? prometeu-studio-ui-javafx/src/test/java/p/studio/ui/javafx/diagnostics/", + "?? tools/pbs-production-corpus/", + "?? tools/vscode-extension/out/discovery.js", + "?? tools/vscode-extension/src/discovery.ts", + "?? tools/vscode-extension/src/test/discovery.ts" + ], + "java": "openjdk version \"21.0.4\" 2024-07-16 LTS\nOpenJDK Runtime Environment Corretto-21.0.4.7.1 (build 21.0.4+7-LTS)\nOpenJDK 64-Bit Server VM Corretto-21.0.4.7.1 (build 21.0.4+7-LTS, mixed mode)\n", + "distribution": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app", + "jars": { + "antlr4-runtime-4.11.1.jar": "e06c6553c1ccc14d36052ec4b0fc6f13b808cf957b5b1dc3f61bf401996ada59", + "asm-9.7.jar": "adf46d5e34940bdf148ecdd26a9ee8eea94496a72034ff7141066b3eea5c4e9d", + "asm-commons-9.7.jar": "389bc247958e049fc9a0408d398c92c6d370c18035120395d4cba1d9d9304b7a", + "asm-tree-9.7.jar": "62f4b3bc436045c1acb5c3ba2d8ec556ec3369093d7f5d06c747eb04b56d52b1", + "checker-qual-3.21.2.jar": "7e8554c902b9b839e61396cfe3a64c84ecabfb8eb652c410bfd8e4f5c1a8ece8", + "commons-collections4-4.4.jar": "1df8b9430b5c8ed143d7815e403e33ef5371b2400aadbe9bda0883762e0846d1", + "commons-io-2.20.0.jar": "df90bba0fe3cb586b7f164e78fe8f8f4da3f2dd5c27fa645f888100ccc25dd72", + "commons-lang3-3.18.0.jar": "4eeeae8d20c078abb64b015ec158add383ac581571cddc45c68f0c9ae0230720", + "error_prone_annotations-2.50.0.jar": "4667724877f1d37a689202da191e23efa7657c62eef93ccdac406eccfe5cdd0a", + "flowless-0.7.2.jar": "56cadfc2e493f1de601998580b1ed6256fc158ef8c5a3379e4a45dc06724cf0f", + "gson-2.15.0.jar": "96d3dd843dc2911de01cdabcd50064cb9e860353102a0a78c96fd833d396fc7d", + "jackson-annotations-2.18.2.jar": "581bd61000ef7648943f781ca05689e56d03f6052748365a8e2b3a9b5d3fa32f", + "jackson-core-2.18.2.jar": "d8054ae7c0d1c2d2f55d28e46026ebe5892881f3fab5f439233184381c3b4a1f", + "jackson-databind-2.18.2.jar": "4b364e6850dc89172fcf1d4dd26b8ff5488eda44ff4657e22dd265203dd5ab3c", + "javafx-base-23.0.2-mac-aarch64.jar": "1e0b22c5a79239df71f7658379d896acc6f37411ce78d1235d6c3839defdfbeb", + "javafx-controls-23.0.2-mac-aarch64.jar": "39d923ab76f456784f189ff022a5437994726c79f40680540060a16cb259631f", + "javafx-fxml-23.0.2-mac-aarch64.jar": "7f3c4c8e18dffa10aad345b931cf69e3d009a761c4beecf3aa9fbf4d6bb3dd88", + "javafx-graphics-23.0.2-mac-aarch64.jar": "774f9d4980980730573e5b56f335203507522b7961953d8ed9a7a32b064c201e", + "micrometer-commons-1.15.12.jar": "4b779cf7acb0534bb1f8e964f25200037ecb3944368f859a630fa637d6d5d7c0", + "micrometer-observation-1.15.12.jar": "54483e68ed44af1bb0c36d1df2235d36f233e459d52f5a3be3e69813827a6300", + "org.eclipse.lsp4j-1.0.0.jar": "ccd78893facc6bfcc359d56cba05d3d5b85eb41e4c40d4b4215ca45db5f416d9", + "org.eclipse.lsp4j.jsonrpc-1.0.0.jar": "9647feb0524bf763c878e12ab878a684102b81cccb3f77feecbec709d54f9bbb", + "org.jacoco.core-0.8.12.jar": "fca26db37c0c5fbd5dc4985237eb82866df9799d5082af899475a73f91f5b035", + "prometeu-animation.jar": "14e8fa35594dc87d57ecb02774e8d59d01708b2f557707da4cb194b384fd6ba3", + "prometeu-app.jar": "db378ff1d885febee26ca682d2101b6f96b8d18639db0a6859aa00984e3aab84", + "prometeu-build-pipeline.jar": "94df1054a70e2dd397348c9facbccaa24354c9fc56ca84b3e6baecfc6f77b5be", + "prometeu-compiler-core.jar": "d50a0a4767118e31d06a5106cf4b78fbe62ae491593a27099699b712c018537e", + "prometeu-deps.jar": "83a4f709e35b92f5a559f5cdc177853c1eb836d38d88740959b0162c4233ccb4", + "prometeu-frontend-api.jar": "9b5dffe3ae1b1057eecad9c77d2019a2115b9c6b3027919d4cae56c2aaabdd2d", + "prometeu-frontend-pbs.jar": "bac53767f601067344318bded91a16cae62d8377a6091c5283fe6205ea3ac167", + "prometeu-frontend-registry.jar": "5335baaa8d105a9f7ad7968d66edbd104afc1da2b206795adb5f12259a104a86", + "prometeu-infra.jar": "c921e3aad6ca06c5f1f81a0a974a7c98de7952bbf7f1aa709270b1e799881191", + "prometeu-lsp-api.jar": "bc0785c9adb3ad70caf7aaccd8159a118742c01f20d3a08a8c0282cae731a972", + "prometeu-lsp-v1.jar": "51d2d2f1930f6c735a7b3d21754f0b9dae61ec85ae4008c1bc020d18ef5e68ba", + "prometeu-packer-api.jar": "f211af9711e0327b8df71df195ebb1932df62cd5e19c7cc84b376b8a25a40d66", + "prometeu-packer-v1.jar": "32b6fb041012109cf9274578e9f7595458a2c796b60ce3f3925f5578992cba34", + "prometeu-studio-api.jar": "f9ea1fa6aa4c04f4f1b7d9b01ec9dd48526d5028cbd621e6ede93c9b316af9d2", + "prometeu-studio-core.jar": "9f53d5f4f407de793745aba5a2e2b99b53f8abfc12daf3ac44d4b6302b1f2fa2", + "prometeu-studio-ui-javafx.jar": "bad8c0a5b6591ff8579a8f99b7daccdb4919bbeede3a5643e79ef65ca8659756", + "reactfx-2.0-M5.jar": "bb1fc209cd9c057b17a48033d3794f937ba7a566b3c08b2db8887772769fdd67", + "richtextfx-0.11.2.jar": "8de62d75fcf9b85b2fbe9e8e35efc66408c8c5d0b59fa6dc07fb8b481b282421", + "slf4j-api-2.0.17.jar": "7b751d952061954d5abfed7181c1f645d336091b679891591d63329c622eb832", + "slf4j-simple-2.0.7.jar": "50eae3f1cc9a78a970970518e005d3f43d5cd3262d234f47ebdf3ca3f8bc01a7", + "spring-aop-6.2.19.jar": "a11b93539d80b02caf76171db2da96df39abebbfef49a2fadd6dda0779f2e20b", + "spring-beans-6.2.19.jar": "846dc8f30a639a36eb551ee99a30469be4d11bd285ca9daf164d98321571b404", + "spring-boot-3.5.16.jar": "2d5b16632402b840b0425ed52610071890bf8cb24c6c49af343bbde574123265", + "spring-context-6.2.19.jar": "ead4b645f94a7f665f00093eaafde634e97b34524294de653b51e43e0b3fc4a4", + "spring-core-6.2.19.jar": "52146689e71a911c92bac26677d73c692512a739893a57710cc233591756bff6", + "spring-expression-6.2.19.jar": "d710a44417d890353895b341a722d7d08199e2b7da52f0a11c0e92571e1d6e19", + "spring-jcl-6.2.19.jar": "9994478bcea1423b8892d4eb0db942c94da0090167c3c684050c1eaef04491d0", + "tika-core-3.2.2.jar": "a34ba35d675f5a9733e3b60d5782edd8636a5c7785ac5e1c44125d025d57ad1f", + "tomlj-1.1.1.jar": "383b7c66966c42ee4913ec977a7b6573631866bddc5318ec4a6215b688dd0d6c", + "undofx-2.1.1.jar": "db9708c58a8e2db457fbd67f0515e4a95955ca0b0b8f4ea7a3dcbbfcbd19d2d7", + "wellbehavedfx-0.3.3.jar": "e291005a8e3233b036450d126cbcd270d5b452397719949519c33c8ba09e257c" + }, + "candidateFreshness": [ + { + "module": "prometeu-infra", + "jarSha256": "c921e3aad6ca06c5f1f81a0a974a7c98de7952bbf7f1aa709270b1e799881191", + "matchingClasses": 22 + }, + { + "module": "prometeu-animation", + "jarSha256": "14e8fa35594dc87d57ecb02774e8d59d01708b2f557707da4cb194b384fd6ba3", + "matchingClasses": 20 + }, + { + "module": "prometeu-compiler/prometeu-compiler-core", + "jarSha256": "d50a0a4767118e31d06a5106cf4b78fbe62ae491593a27099699b712c018537e", + "matchingClasses": 76 + }, + { + "module": "prometeu-compiler/prometeu-frontend-api", + "jarSha256": "9b5dffe3ae1b1057eecad9c77d2019a2115b9c6b3027919d4cae56c2aaabdd2d", + "matchingClasses": 80 + }, + { + "module": "prometeu-compiler/frontends/prometeu-frontend-pbs", + "jarSha256": "bac53767f601067344318bded91a16cae62d8377a6091c5283fe6205ea3ac167", + "matchingClasses": 386 + }, + { + "module": "prometeu-compiler/prometeu-frontend-registry", + "jarSha256": "5335baaa8d105a9f7ad7968d66edbd104afc1da2b206795adb5f12259a104a86", + "matchingClasses": 1 + }, + { + "module": "prometeu-compiler/prometeu-deps", + "jarSha256": "83a4f709e35b92f5a559f5cdc177853c1eb836d38d88740959b0162c4233ccb4", + "matchingClasses": 27 + }, + { + "module": "prometeu-compiler/prometeu-build-pipeline", + "jarSha256": "94df1054a70e2dd397348c9facbccaa24354c9fc56ca84b3e6baecfc6f77b5be", + "matchingClasses": 98 + } + ], + "probeSha256": "a1c16e4c60cdda3f26614d2949ad815f3737471554f2a57da47155949e60c6b2", + "runnerSha256": "234e6cef13e03d0fc05b33d3a51b1e6387ca68d280efac962a2f3948bdfe7a0f", + "scratch": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r", + "unoptimizedVariant": "Investigation-only: omit OptimizeIRVMPipelineStage and emit original IRVM; not a public compiler flag" +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/summary.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/summary.json new file mode 100644 index 00000000..d9dbc4b4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/focused/summary.json @@ -0,0 +1,535 @@ +{ + "compilation": [ + { + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/contextual-overloads-optimized.json" + }, + { + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/contextual-overloads-unoptimized.json" + }, + { + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/contextual-overloads-optimized-public.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/receiver-argument-order-optimized.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/receiver-argument-order-unoptimized.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/receiver-argument-order-optimized-public.json" + }, + { + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/shared-global-storage-optimized.json" + }, + { + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/shared-global-storage-unoptimized.json" + }, + { + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/shared-global-storage-optimized-public.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/shared-service-singleton-optimized.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/shared-service-singleton-unoptimized.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/checkout/shared-service-singleton-optimized-public.json" + }, + { + "caseId": "private-overload", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/checkout/private-overload-optimized.json" + }, + { + "caseId": "private-overload", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/checkout/private-overload-unoptimized.json" + }, + { + "caseId": "private-overload", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "status": "public_compile_rejected", + "matchesExpectation": true, + "report": "compilation/checkout/private-overload-optimized-public.json" + }, + { + "caseId": "private-global", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/checkout/private-global-optimized.json" + }, + { + "caseId": "private-global", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/checkout/private-global-unoptimized.json" + }, + { + "caseId": "private-global", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "status": "public_compile_rejected", + "matchesExpectation": true, + "report": "compilation/checkout/private-global-optimized-public.json" + }, + { + "caseId": "private-service", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/checkout/private-service-optimized.json" + }, + { + "caseId": "private-service", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/checkout/private-service-unoptimized.json" + }, + { + "caseId": "private-service", + "origin": "checkout", + "variant": "optimized-public", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "status": "public_compile_rejected", + "matchesExpectation": true, + "report": "compilation/checkout/private-service-optimized-public.json" + }, + { + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/contextual-overloads-optimized.json" + }, + { + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/contextual-overloads-unoptimized.json" + }, + { + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/contextual-overloads-optimized-public.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/receiver-argument-order-optimized.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/receiver-argument-order-unoptimized.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/receiver-argument-order-optimized-public.json" + }, + { + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/shared-global-storage-optimized.json" + }, + { + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/shared-global-storage-unoptimized.json" + }, + { + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/shared-global-storage-optimized-public.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/shared-service-singleton-optimized.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/shared-service-singleton-unoptimized.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "status": "compiled", + "matchesExpectation": true, + "report": "compilation/installed/shared-service-singleton-optimized-public.json" + }, + { + "caseId": "private-overload", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/installed/private-overload-optimized.json" + }, + { + "caseId": "private-overload", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/installed/private-overload-unoptimized.json" + }, + { + "caseId": "private-overload", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d", + "status": "public_compile_rejected", + "matchesExpectation": true, + "report": "compilation/installed/private-overload-optimized-public.json" + }, + { + "caseId": "private-global", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/installed/private-global-optimized.json" + }, + { + "caseId": "private-global", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/installed/private-global-unoptimized.json" + }, + { + "caseId": "private-global", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114", + "status": "public_compile_rejected", + "matchesExpectation": true, + "report": "compilation/installed/private-global-optimized-public.json" + }, + { + "caseId": "private-service", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/installed/private-service-optimized.json" + }, + { + "caseId": "private-service", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "status": "analysis_failed", + "matchesExpectation": true, + "report": "compilation/installed/private-service-unoptimized.json" + }, + { + "caseId": "private-service", + "origin": "installed", + "variant": "optimized-public", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07", + "status": "public_compile_rejected", + "matchesExpectation": true, + "report": "compilation/installed/private-service-optimized-public.json" + } + ], + "execution": [ + { + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/contextual-overloads-optimized.json" + }, + { + "caseId": "contextual-overloads", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/contextual-overloads-unoptimized.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/receiver-argument-order-optimized.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/receiver-argument-order-unoptimized.json" + }, + { + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/shared-global-storage-optimized.json" + }, + { + "caseId": "shared-global-storage", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/shared-global-storage-unoptimized.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "optimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/shared-service-singleton-optimized.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "checkout", + "variant": "unoptimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/checkout/shared-service-singleton-unoptimized.json" + }, + { + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/contextual-overloads-optimized.json" + }, + { + "caseId": "contextual-overloads", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/contextual-overloads-unoptimized.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/receiver-argument-order-optimized.json" + }, + { + "caseId": "receiver-argument-order", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/receiver-argument-order-unoptimized.json" + }, + { + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/shared-global-storage-optimized.json" + }, + { + "caseId": "shared-global-storage", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/shared-global-storage-unoptimized.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "optimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/shared-service-singleton-optimized.json" + }, + { + "caseId": "shared-service-singleton", + "origin": "installed", + "variant": "unoptimized", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5", + "observedRuntime": "passed", + "matchesExpectation": true, + "report": "execution/installed/shared-service-singleton-unoptimized.json" + } + ], + "compileCount": 42, + "executionCount": 16, + "normalSuccesses": 16, + "deliberateFaults": 0, + "complete": true, + "failures": [], + "passed": true +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/frontend-before.log b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/frontend-before.log new file mode 100644 index 00000000..0913481f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/frontend-before.log @@ -0,0 +1,82 @@ +Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target +> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED +> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE +> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE +> Task :buildSrc:compilePluginsBlocks UP-TO-DATE +> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE +> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE + +> Task :buildSrc:compileKotlin UP-TO-DATE +Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target + +> Task :buildSrc:compileJava NO-SOURCE +> Task :buildSrc:compileGroovy NO-SOURCE +> Task :buildSrc:pluginDescriptors UP-TO-DATE +> Task :buildSrc:processResources UP-TO-DATE +> Task :buildSrc:classes UP-TO-DATE +> Task :buildSrc:jar UP-TO-DATE +> Task :prometeu-animation:compileJava UP-TO-DATE +> Task :prometeu-animation:processResources NO-SOURCE +> Task :prometeu-animation:classes UP-TO-DATE +> Task :prometeu-animation:jar UP-TO-DATE +> Task :prometeu-infra:compileJava UP-TO-DATE +> Task :prometeu-infra:processResources NO-SOURCE +> Task :prometeu-infra:classes UP-TO-DATE +> Task :prometeu-infra:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileTestJava +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processTestResources +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:testClasses + +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:test FAILED + +PbsProductionLoweringRegressionTest > originalCorpusKeepsSourceAndExpectedFrontendResult(String) > F1-direct FAILED + org.opentest4j.AssertionFailedError at PbsProductionLoweringRegressionTest.java:38 + +PbsProductionLoweringRegressionTest > originalCorpusKeepsSourceAndExpectedFrontendResult(String) > F1-two-calls FAILED + org.opentest4j.AssertionFailedError at PbsProductionLoweringRegressionTest.java:38 + +PbsProductionLoweringRegressionTest > originalCorpusKeepsSourceAndExpectedFrontendResult(String) > F1-service-this FAILED + org.opentest4j.AssertionFailedError at PbsProductionLoweringRegressionTest.java:38 + +PbsProductionLoweringRegressionTest > originalCorpusKeepsSourceAndExpectedFrontendResult(String) > F3-function FAILED + org.opentest4j.AssertionFailedError at PbsProductionLoweringRegressionTest.java:38 + +PbsProductionLoweringRegressionTest > originalCorpusKeepsSourceAndExpectedFrontendResult(String) > F3-global FAILED + org.opentest4j.AssertionFailedError at PbsProductionLoweringRegressionTest.java:38 + +PbsProductionLoweringRegressionTest > originalCorpusKeepsSourceAndExpectedFrontendResult(String) > F3-service FAILED + org.opentest4j.AssertionFailedError at PbsProductionLoweringRegressionTest.java:38 + +PbsProductionLoweringRegressionTest > originalCorpusKeepsSourceAndExpectedFrontendResult(String) > F4-same-dependency FAILED + org.opentest4j.AssertionFailedError at PbsProductionLoweringRegressionTest.java:38 + +PbsProductionLoweringRegressionTest > originalCorpusKeepsSourceAndExpectedFrontendResult(String) > F4-same-direct FAILED + org.opentest4j.AssertionFailedError at PbsProductionLoweringRegressionTest.java:38 + +28 tests completed, 8 failed + +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jacocoTestReport + +FAILURE: Build failed with an exception. + +* What went wrong: +Execution failed for task ':prometeu-compiler:frontends:prometeu-frontend-pbs:test'. +> There were failing tests. See the report at: file:///Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/reports/tests/test/index.html + +* Try: +> Run with --scan to get full insights from a Build Scan (powered by Develocity). + +BUILD FAILED in 8s +24 actionable tasks: 4 executed, 20 up-to-date diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/gradle-final.log b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/gradle-final.log new file mode 100644 index 00000000..3d689f05 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/gradle-final.log @@ -0,0 +1,109 @@ +Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target +> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED +> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE +> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE +> Task :buildSrc:compilePluginsBlocks UP-TO-DATE +> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE +> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE + +> Task :buildSrc:compileKotlin UP-TO-DATE +Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target + +> Task :buildSrc:compileJava NO-SOURCE +> Task :buildSrc:compileGroovy NO-SOURCE +> Task :buildSrc:pluginDescriptors UP-TO-DATE +> Task :buildSrc:processResources UP-TO-DATE +> Task :buildSrc:classes UP-TO-DATE +> Task :buildSrc:jar UP-TO-DATE +> Task :prometeu-animation:compileJava UP-TO-DATE +> Task :prometeu-infra:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar +> Task :prometeu-animation:processResources NO-SOURCE +> Task :prometeu-animation:classes UP-TO-DATE +> Task :prometeu-animation:jar UP-TO-DATE +> Task :prometeu-infra:processResources NO-SOURCE +> Task :prometeu-infra:classes UP-TO-DATE +> Task :prometeu-infra:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileTestJava UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processTestResources UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:testClasses UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:test +> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:compileTestJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:processTestResources UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:testClasses UP-TO-DATE +> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jacocoTestReport +> Task :prometeu-compiler:prometeu-build-pipeline:test +> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE +> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE +> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:compileTestJava UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:processTestResources NO-SOURCE +> Task :prometeu-lsp:prometeu-lsp-v1:testClasses UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:jacocoTestReport +> Task :prometeu-lsp:prometeu-lsp-v1:test +> Task :prometeu-studio-api:compileJava UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE +> Task :prometeu-studio-core:compileJava UP-TO-DATE +> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE +> Task :prometeu-app:compileJava UP-TO-DATE +> Task :prometeu-app:processResources UP-TO-DATE +> Task :prometeu-app:classes UP-TO-DATE +> Task :prometeu-app:jar UP-TO-DATE +> Task :prometeu-app:compileTestJava UP-TO-DATE +> Task :prometeu-app:processTestResources UP-TO-DATE +> Task :prometeu-app:testClasses UP-TO-DATE +> Task :prometeu-studio-api:processResources NO-SOURCE +> Task :prometeu-studio-api:classes UP-TO-DATE +> Task :prometeu-studio-api:jar UP-TO-DATE +> Task :prometeu-studio-core:processResources NO-SOURCE +> Task :prometeu-studio-core:classes UP-TO-DATE +> Task :prometeu-studio-core:jar UP-TO-DATE +> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE +> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE +> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE +> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE +> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:jacocoTestReport +> Task :prometeu-app:test +> Task :prometeu-app:assembleStudioRuntime UP-TO-DATE +> Task :prometeu-app:startScripts +> Task :prometeu-app:jacocoTestReport +> Task :prometeu-app:installDist +> Task :prometeu-app:installedKnowledgeTest + +BUILD SUCCESSFUL in 42s +65 actionable tasks: 13 executed, 52 up-to-date diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/matrix-final.log b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/matrix-final.log new file mode 100644 index 00000000..f906ee10 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/matrix-final.log @@ -0,0 +1,169 @@ +checkout F1-local optimized compiled True +checkout F1-local unoptimized compiled True +checkout F1-local optimized-public compiled True +checkout F1-direct optimized compiled True +checkout F1-direct unoptimized compiled True +checkout F1-direct optimized-public compiled True +checkout F1-two-calls optimized compiled True +checkout F1-two-calls unoptimized compiled True +checkout F1-two-calls optimized-public compiled True +checkout F1-service-this optimized compiled True +checkout F1-service-this unoptimized compiled True +checkout F1-service-this optimized-public compiled True +checkout F1-service-local optimized compiled True +checkout F1-service-local unoptimized compiled True +checkout F1-service-local optimized-public compiled True +checkout F1-condition optimized compiled True +checkout F1-condition unoptimized compiled True +checkout F1-condition optimized-public compiled True +checkout F2-locals optimized compiled True +checkout F2-locals unoptimized compiled True +checkout F2-locals optimized-public compiled True +checkout F2-arguments optimized compiled True +checkout F2-arguments unoptimized compiled True +checkout F2-arguments optimized-public compiled True +checkout F2-expression optimized compiled True +checkout F2-expression unoptimized compiled True +checkout F2-expression optimized-public compiled True +checkout F2-struct-method optimized compiled True +checkout F2-struct-method unoptimized compiled True +checkout F2-struct-method optimized-public compiled True +checkout F3-single-file optimized compiled True +checkout F3-single-file unoptimized compiled True +checkout F3-single-file optimized-public compiled True +checkout F3-function optimized compiled True +checkout F3-function unoptimized compiled True +checkout F3-function optimized-public compiled True +checkout F3-global optimized compiled True +checkout F3-global unoptimized compiled True +checkout F3-global optimized-public compiled True +checkout F3-service optimized compiled True +checkout F3-service unoptimized compiled True +checkout F3-service optimized-public compiled True +checkout F3-global-local optimized compiled True +checkout F3-global-local unoptimized compiled True +checkout F3-global-local optimized-public compiled True +checkout F3-service-local optimized compiled True +checkout F3-service-local unoptimized compiled True +checkout F3-service-local optimized-public compiled True +checkout F3-file-private optimized analysis_failed True +checkout F3-file-private unoptimized analysis_failed True +checkout F3-file-private optimized-public public_compile_rejected True +checkout F4-distinct optimized compiled True +checkout F4-distinct unoptimized compiled True +checkout F4-distinct optimized-public compiled True +checkout F4-same-no-dependency optimized compiled True +checkout F4-same-no-dependency unoptimized compiled True +checkout F4-same-no-dependency optimized-public compiled True +checkout F4-same-dependency optimized compiled True +checkout F4-same-dependency unoptimized compiled True +checkout F4-same-dependency optimized-public compiled True +checkout F4-rename-a optimized compiled True +checkout F4-rename-a unoptimized compiled True +checkout F4-rename-a optimized-public compiled True +checkout F4-same-direct optimized compiled True +checkout F4-same-direct unoptimized compiled True +checkout F4-same-direct optimized-public compiled True +checkout F4-public-aliases optimized compiled True +checkout F4-public-aliases unoptimized compiled True +checkout F4-public-aliases optimized-public compiled True +checkout F5-shopvisit optimized compiled True +checkout F5-shopvisit unoptimized compiled True +checkout F5-shopvisit optimized-public compiled True +checkout F5-scene optimized compiled True +checkout F5-scene unoptimized compiled True +checkout F5-scene optimized-public compiled True +checkout F5-scene-alias optimized compiled True +checkout F5-scene-alias unoptimized compiled True +checkout F5-scene-alias optimized-public compiled True +checkout F5-scene-positional optimized compiled True +checkout F5-scene-positional unoptimized compiled True +checkout F5-scene-positional optimized-public compiled True +checkout runtime-trap-control optimized compiled True +checkout runtime-trap-control unoptimized compiled True +checkout runtime-trap-control optimized-public compiled True +installed F1-local optimized compiled True +installed F1-local unoptimized compiled True +installed F1-local optimized-public compiled True +installed F1-direct optimized compiled True +installed F1-direct unoptimized compiled True +installed F1-direct optimized-public compiled True +installed F1-two-calls optimized compiled True +installed F1-two-calls unoptimized compiled True +installed F1-two-calls optimized-public compiled True +installed F1-service-this optimized compiled True +installed F1-service-this unoptimized compiled True +installed F1-service-this optimized-public compiled True +installed F1-service-local optimized compiled True +installed F1-service-local unoptimized compiled True +installed F1-service-local optimized-public compiled True +installed F1-condition optimized compiled True +installed F1-condition unoptimized compiled True +installed F1-condition optimized-public compiled True +installed F2-locals optimized compiled True +installed F2-locals unoptimized compiled True +installed F2-locals optimized-public compiled True +installed F2-arguments optimized compiled True +installed F2-arguments unoptimized compiled True +installed F2-arguments optimized-public compiled True +installed F2-expression optimized compiled True +installed F2-expression unoptimized compiled True +installed F2-expression optimized-public compiled True +installed F2-struct-method optimized compiled True +installed F2-struct-method unoptimized compiled True +installed F2-struct-method optimized-public compiled True +installed F3-single-file optimized compiled True +installed F3-single-file unoptimized compiled True +installed F3-single-file optimized-public compiled True +installed F3-function optimized compiled True +installed F3-function unoptimized compiled True +installed F3-function optimized-public compiled True +installed F3-global optimized compiled True +installed F3-global unoptimized compiled True +installed F3-global optimized-public compiled True +installed F3-service optimized compiled True +installed F3-service unoptimized compiled True +installed F3-service optimized-public compiled True +installed F3-global-local optimized compiled True +installed F3-global-local unoptimized compiled True +installed F3-global-local optimized-public compiled True +installed F3-service-local optimized compiled True +installed F3-service-local unoptimized compiled True +installed F3-service-local optimized-public compiled True +installed F3-file-private optimized analysis_failed True +installed F3-file-private unoptimized analysis_failed True +installed F3-file-private optimized-public public_compile_rejected True +installed F4-distinct optimized compiled True +installed F4-distinct unoptimized compiled True +installed F4-distinct optimized-public compiled True +installed F4-same-no-dependency optimized compiled True +installed F4-same-no-dependency unoptimized compiled True +installed F4-same-no-dependency optimized-public compiled True +installed F4-same-dependency optimized compiled True +installed F4-same-dependency unoptimized compiled True +installed F4-same-dependency optimized-public compiled True +installed F4-rename-a optimized compiled True +installed F4-rename-a unoptimized compiled True +installed F4-rename-a optimized-public compiled True +installed F4-same-direct optimized compiled True +installed F4-same-direct unoptimized compiled True +installed F4-same-direct optimized-public compiled True +installed F4-public-aliases optimized compiled True +installed F4-public-aliases unoptimized compiled True +installed F4-public-aliases optimized-public compiled True +installed F5-shopvisit optimized compiled True +installed F5-shopvisit unoptimized compiled True +installed F5-shopvisit optimized-public compiled True +installed F5-scene optimized compiled True +installed F5-scene unoptimized compiled True +installed F5-scene optimized-public compiled True +installed F5-scene-alias optimized compiled True +installed F5-scene-alias unoptimized compiled True +installed F5-scene-alias optimized-public compiled True +installed F5-scene-positional optimized compiled True +installed F5-scene-positional unoptimized compiled True +installed F5-scene-positional optimized-public compiled True +installed runtime-trap-control optimized compiled True +installed runtime-trap-control unoptimized compiled True +installed runtime-trap-control optimized-public compiled True +{"compileCount": 168, "executionCount": 108, "normalSuccesses": 104, "deliberateFaults": 4, "complete": true, "passed": true} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/matrix-focused.log b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/matrix-focused.log new file mode 100644 index 00000000..8e4fb172 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/matrix-focused.log @@ -0,0 +1,43 @@ +checkout contextual-overloads optimized compiled True +checkout contextual-overloads unoptimized compiled True +checkout contextual-overloads optimized-public compiled True +checkout receiver-argument-order optimized compiled True +checkout receiver-argument-order unoptimized compiled True +checkout receiver-argument-order optimized-public compiled True +checkout shared-global-storage optimized compiled True +checkout shared-global-storage unoptimized compiled True +checkout shared-global-storage optimized-public compiled True +checkout shared-service-singleton optimized compiled True +checkout shared-service-singleton unoptimized compiled True +checkout shared-service-singleton optimized-public compiled True +checkout private-overload optimized analysis_failed True +checkout private-overload unoptimized analysis_failed True +checkout private-overload optimized-public public_compile_rejected True +checkout private-global optimized analysis_failed True +checkout private-global unoptimized analysis_failed True +checkout private-global optimized-public public_compile_rejected True +checkout private-service optimized analysis_failed True +checkout private-service unoptimized analysis_failed True +checkout private-service optimized-public public_compile_rejected True +installed contextual-overloads optimized compiled True +installed contextual-overloads unoptimized compiled True +installed contextual-overloads optimized-public compiled True +installed receiver-argument-order optimized compiled True +installed receiver-argument-order unoptimized compiled True +installed receiver-argument-order optimized-public compiled True +installed shared-global-storage optimized compiled True +installed shared-global-storage unoptimized compiled True +installed shared-global-storage optimized-public compiled True +installed shared-service-singleton optimized compiled True +installed shared-service-singleton unoptimized compiled True +installed shared-service-singleton optimized-public compiled True +installed private-overload optimized analysis_failed True +installed private-overload unoptimized analysis_failed True +installed private-overload optimized-public public_compile_rejected True +installed private-global optimized analysis_failed True +installed private-global unoptimized analysis_failed True +installed private-global optimized-public public_compile_rejected True +installed private-service optimized analysis_failed True +installed private-service unoptimized analysis_failed True +installed private-service optimized-public public_compile_rejected True +{"compileCount": 42, "executionCount": 16, "normalSuccesses": 16, "deliberateFaults": 0, "complete": true, "passed": true} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/nominal/after.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/nominal/after.json new file mode 100644 index 00000000..8e6e23a2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/nominal/after.json @@ -0,0 +1,29 @@ +[ { + "case" : "F4-distinct", + "flatOwnerMatches" : true, + "syntheticReceiverKey" : "pbs:struct:file3:0", + "flatOwnerSource" : "src/a/data.pbs", + "source" : "src/a/data.pbs", + "declaredReceiverKey" : "pbs:struct:file3:0" +}, { + "case" : "F4-same-no-dependency", + "flatOwnerMatches" : true, + "syntheticReceiverKey" : "pbs:struct:file3:0", + "flatOwnerSource" : "src/a/data.pbs", + "source" : "src/a/data.pbs", + "declaredReceiverKey" : "pbs:struct:file3:0" +}, { + "case" : "F4-same-dependency", + "flatOwnerMatches" : false, + "syntheticReceiverKey" : "pbs:struct:file3:0", + "flatOwnerSource" : "src/b/data.pbs", + "source" : "src/a/data.pbs", + "declaredReceiverKey" : "pbs:struct:file3:0" +}, { + "case" : "F4-rename-a", + "flatOwnerMatches" : true, + "syntheticReceiverKey" : "pbs:struct:file3:0", + "flatOwnerSource" : "src/a/data.pbs", + "source" : "src/a/data.pbs", + "declaredReceiverKey" : "pbs:struct:file3:0" +} ] \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/nominal/before.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/nominal/before.json new file mode 100644 index 00000000..7df5fe3f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/nominal/before.json @@ -0,0 +1,29 @@ +[ { + "declaredReceiverKey" : "pbs:struct:file3:0", + "case" : "F4-distinct", + "flatOwnerMatches" : true, + "syntheticReceiverKey" : "pbs:struct:file3:0", + "flatOwnerSource" : "src/a/data.pbs", + "source" : "src/a/data.pbs" +}, { + "declaredReceiverKey" : "pbs:struct:file3:0", + "case" : "F4-same-no-dependency", + "flatOwnerMatches" : true, + "syntheticReceiverKey" : "pbs:struct:file3:0", + "flatOwnerSource" : "src/a/data.pbs", + "source" : "src/a/data.pbs" +}, { + "declaredReceiverKey" : "pbs:struct:file3:0", + "case" : "F4-same-dependency", + "flatOwnerMatches" : false, + "syntheticReceiverKey" : "pbs:struct:file6:0", + "flatOwnerSource" : "src/b/data.pbs", + "source" : "src/a/data.pbs" +}, { + "declaredReceiverKey" : "pbs:struct:file3:0", + "case" : "F4-rename-a", + "flatOwnerMatches" : true, + "syntheticReceiverKey" : "pbs:struct:file3:0", + "flatOwnerSource" : "src/a/data.pbs", + "source" : "src/a/data.pbs" +} ] \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/qualification.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/qualification.json new file mode 100644 index 00000000..f4d36a83 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/qualification.json @@ -0,0 +1,149 @@ +{ + "schemaVersion": 1, + "discussion": "DSC-0111", + "decision": "DEC-0088", + "plan": "PLN-0166", + "owner": "compiler/pbs", + "date": "2026-11-10", + "status": "passed", + "dependencyGate": { + "status": "released-before-product-edits", + "firstDelivery": [ + "LSN-0104", + "LSN-0105" + ], + "acceptedByUser": "vamos impl o plan 166 dado que agora podemos.", + "coordination": "AGD-0106" + }, + "corpus": { + "sha256": "0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87", + "cases": 28, + "baselineFilesPreserved": 181, + "baseline": "baseline/inventory.json", + "baselineHashes": "baseline-preserved-sha256.json", + "final": "final/summary.json" + }, + "correctedCases": [ + "F1-direct", + "F1-two-calls", + "F1-service-this", + "F3-function", + "F3-global", + "F3-service", + "F4-same-dependency", + "F4-same-direct" + ], + "compilation": { + "observations": 168, + "origins": [ + "checkout", + "installed" + ], + "variants": [ + "optimized-stages", + "investigation-only-unoptimized-stages", + "public-optimized-facade" + ], + "freshJvmPerObservation": true, + "sourceRejections": 6, + "sourceRejectionCase": "F3-file-private", + "unexpectedResults": 0 + }, + "execution": { + "observations": 108, + "normalSuccesses": 104, + "deliberateFaults": 4, + "framesPerNormalRun": 3, + "workersTerminated": true, + "runtimeSha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6", + "runtimeVersion": "0.1.0", + "protocolVersion": "1.1", + "providerWrites": false, + "installedRuntimeDistributionQualified": false + }, + "focusedControls": { + "cases": 7, + "compilationObservations": 42, + "normalGuestExecutions": 16, + "report": "focused/summary.json" + }, + "regression": { + "command": "./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-compiler:prometeu-build-pipeline:test :prometeu-lsp:prometeu-lsp-v1:test :prometeu-app:test :prometeu-app:installedKnowledgeTest --console=plain", + "suites": [ + { + "module": "prometeu-compiler/frontends/prometeu-frontend-pbs", + "task": "test", + "tests": 353, + "skipped": 0, + "failures": 0, + "errors": 0, + "passed": 353 + }, + { + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test", + "tests": 222, + "skipped": 12, + "failures": 0, + "errors": 0, + "passed": 210 + }, + { + "module": "prometeu-lsp/prometeu-lsp-v1", + "task": "test", + "tests": 43, + "skipped": 1, + "failures": 0, + "errors": 0, + "passed": 42 + }, + { + "module": "prometeu-app", + "task": "test", + "tests": 104, + "skipped": 0, + "failures": 0, + "errors": 0, + "passed": 104 + }, + { + "module": "prometeu-app", + "task": "installedKnowledgeTest", + "tests": 2, + "skipped": 0, + "failures": 0, + "errors": 0, + "passed": 2 + } + ], + "totals": { + "tests": 724, + "passed": 711, + "skipped": 13, + "failures": 0, + "errors": 0 + }, + "log": "gradle-final.log" + }, + "consumerEvidence": { + "kind": "authenticated HTTP MCP and real project LSP through repository integration test", + "report": "studio/frozen-corpus-after.json", + "cases": 10, + "validCases": 9, + "sourceRejectedCases": 1, + "firstDeliveryEvidencePreserved": true, + "newInteractiveDesktopSession": false + }, + "limits": [ + "Historical MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT and Unsupported PBS runtime type: Scene remain not reproduced in their original failing forms.", + "The investigation-only unoptimized path is not a public compiler flag.", + "Installed compiler/SDK qualification uses the identified existing debug headless executable; it does not qualify an installed runtime distribution.", + "Pack/assets/configuration revision coverage retains the explicit limits documented by LSN-0105." + ], + "sourceHashes": "candidate-source-sha256.json", + "provenance": "final/provenance.json", + "nominalTraceBefore": "nominal/before.json", + "nominalTraceAfter": "nominal/after.json", + "runtimeOrGameWrites": false, + "commitsCreated": false +} diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/studio/frozen-corpus-after.json b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/studio/frozen-corpus-after.json new file mode 100644 index 00000000..82d4a3ce --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/studio/frozen-corpus-after.json @@ -0,0 +1,4152 @@ +[ { + "case" : "F1-local", + "primaryDocumentSha256" : "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "frozenProjectSourceSha256" : "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990", + "language" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "d538e52a-ad23-4ef4-9356-20f6e43b2a7e", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/main.pbs", + "sha256" : "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local", + "taskId" : "50904bdb-41c0-4d05-964a-91efb2e8c8b6", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "b2a651b2-a934-4f2c-9f96-a9b0587b92b9", + "analysisId" : "d538e52a-ad23-4ef4-9356-20f6e43b2a7e", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/main.pbs", + "version" : 1, + "sha256" : "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "6ec433e5-3cc2-460b-aa4f-3928952c9f66" + } + }, + "operation" : { + "operationId" : "892e43d7-6555-4582-85df-8ea1fadd16ee", + "clientRequestId" : "F1-local", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "SUCCESS", + "buildId" : "2344e8b8-247d-4729-b3e2-aba0c739df79", + "manifestPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/manifest.json", + "emittedArtifacts" : [ "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/assets.pa", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/asset_table.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/preload.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/asset_table_metadata.json" ], + "diagnostics" : [ ], + "issues" : [ ], + "summary" : { + "scope" : "build", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "passed" + }, { + "stageId" : "pack-validation", + "status" : "passed" + }, { + "stageId" : "pack", + "status" : "passed" + }, { + "stageId" : "manifest", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local", + "analysisId" : "6523069e-05b2-46ea-8c14-1e5980e73ba9", + "taskId" : "50904bdb-41c0-4d05-964a-91efb2e8c8b6", + "operationId" : "892e43d7-6555-4582-85df-8ea1fadd16ee", + "clientRequestId" : "F1-local", + "buildId" : "2344e8b8-247d-4729-b3e2-aba0c739df79", + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:36.765306Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:36.765322Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src ]", + "timestamp" : "2026-11-10T12:17:36.765333Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228]", + "timestamp" : "2026-11-10T12:17:36.767026Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T12:17:36.767029Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T12:17:36.767418Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.767458Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.768297Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/program.pbx", + "timestamp" : "2026-11-10T12:17:36.768760Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.768774Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "Prepared program bytecode at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/program.pbx", + "timestamp" : "2026-11-10T12:17:36.770666Z" + }, { + "source" : "PACK_VALIDATION", + "severity" : "INFO", + "message" : "Pack validation completed without blocking diagnostics.", + "timestamp" : "2026-11-10T12:17:36.774270Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Pack workspace completed successfully.", + "timestamp" : "2026-11-10T12:17:36.781525Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/assets.pa", + "timestamp" : "2026-11-10T12:17:36.781532Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/asset_table.json", + "timestamp" : "2026-11-10T12:17:36.781533Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/preload.json", + "timestamp" : "2026-11-10T12:17:36.781534Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/asset_table_metadata.json", + "timestamp" : "2026-11-10T12:17:36.781535Z" + }, { + "source" : "MANIFEST", + "severity" : "INFO", + "message" : "Generated manifest at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/build/manifest.json", + "timestamp" : "2026-11-10T12:17:36.783123Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ { + "path" : "build/asset_table.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/asset_table_metadata.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/assets.pa", + "sha256" : "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276" + }, { + "path" : "build/manifest.json", + "sha256" : "c8e4c4279f7d2c0cd0fa467ba1d8a580709f298f2fe015f19ad6f89d5b795571" + }, { + "path" : "build/preload.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/program.pbx", + "sha256" : "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b" + } ], + "validEmptyDocumentControl" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "88e8191f-bfb8-4e98-b22d-9c6377e199ae", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/empty.pbs", + "sha256" : "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/empty.pbs", + "relativePath" : "src/empty.pbs", + "originScope" : "project", + "sha256" : "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local", + "taskId" : "50904bdb-41c0-4d05-964a-91efb2e8c8b6", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "a04a321a-f6a6-4926-8481-7ef8cb07bb7b", + "analysisId" : "88e8191f-bfb8-4e98-b22d-9c6377e199ae", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/empty.pbs", + "version" : 1, + "sha256" : "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/empty.pbs", + "relativePath" : "src/empty.pbs", + "originScope" : "project", + "sha256" : "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-local/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "f71325fb-445d-4d39-a01e-f2fdc49d7431" + } + } +}, { + "case" : "F1-direct", + "primaryDocumentSha256" : "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "frozenProjectSourceSha256" : "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61", + "language" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "8a4d3fac-31a1-46a4-9735-ddff3a62ce73", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/src/main.pbs", + "sha256" : "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct", + "taskId" : "9a5cd8e7-92ae-4c06-923d-02350a6a8764", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "59493e34-7a69-4021-aa84-606243b15871", + "analysisId" : "8a4d3fac-31a1-46a4-9735-ddff3a62ce73", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/src/main.pbs", + "version" : 1, + "sha256" : "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "3a7ac7c8-a3cb-4517-aa15-5ae99be62bb9" + } + }, + "operation" : { + "operationId" : "0276dadc-8c65-42ea-92ec-32d32cc6453e", + "clientRequestId" : "F1-direct", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "SUCCESS", + "buildId" : "a2b7f689-c125-4c87-821b-c552774071af", + "manifestPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/manifest.json", + "emittedArtifacts" : [ "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/assets.pa", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/asset_table.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/preload.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/asset_table_metadata.json" ], + "diagnostics" : [ ], + "issues" : [ ], + "summary" : { + "scope" : "build", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "passed" + }, { + "stageId" : "pack-validation", + "status" : "passed" + }, { + "stageId" : "pack", + "status" : "passed" + }, { + "stageId" : "manifest", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct", + "analysisId" : "3ebef4f9-c085-409c-a574-58a94ac37f5b", + "taskId" : "9a5cd8e7-92ae-4c06-923d-02350a6a8764", + "operationId" : "0276dadc-8c65-42ea-92ec-32d32cc6453e", + "clientRequestId" : "F1-direct", + "buildId" : "a2b7f689-c125-4c87-821b-c552774071af", + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:36.845333Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:36.845350Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/src ]", + "timestamp" : "2026-11-10T12:17:36.845362Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,147]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[156,211]", + "timestamp" : "2026-11-10T12:17:36.846666Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T12:17:36.846669Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T12:17:36.846995Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.847029Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.847561Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/program.pbx", + "timestamp" : "2026-11-10T12:17:36.848034Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.848049Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "Prepared program bytecode at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/program.pbx", + "timestamp" : "2026-11-10T12:17:36.849932Z" + }, { + "source" : "PACK_VALIDATION", + "severity" : "INFO", + "message" : "Pack validation completed without blocking diagnostics.", + "timestamp" : "2026-11-10T12:17:36.852466Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Pack workspace completed successfully.", + "timestamp" : "2026-11-10T12:17:36.859071Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/assets.pa", + "timestamp" : "2026-11-10T12:17:36.859079Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/asset_table.json", + "timestamp" : "2026-11-10T12:17:36.859080Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/preload.json", + "timestamp" : "2026-11-10T12:17:36.859081Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/asset_table_metadata.json", + "timestamp" : "2026-11-10T12:17:36.859082Z" + }, { + "source" : "MANIFEST", + "severity" : "INFO", + "message" : "Generated manifest at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-direct/build/manifest.json", + "timestamp" : "2026-11-10T12:17:36.860490Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ { + "path" : "build/asset_table.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/asset_table_metadata.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/assets.pa", + "sha256" : "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276" + }, { + "path" : "build/manifest.json", + "sha256" : "c8e4c4279f7d2c0cd0fa467ba1d8a580709f298f2fe015f19ad6f89d5b795571" + }, { + "path" : "build/preload.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/program.pbx", + "sha256" : "a00411b5708ae641774c6521540910b2a9edd2b9d93c85e658c2eb0604f53960" + } ] +}, { + "case" : "F1-two-calls", + "primaryDocumentSha256" : "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "frozenProjectSourceSha256" : "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f", + "language" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "f403ba20-b8c5-46ad-8e2b-a58fae1e74c2", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/src/main.pbs", + "sha256" : "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls", + "taskId" : "20b494be-a3db-49e6-9f30-1e0e469df490", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "b85cba44-5d9a-43f3-975e-939be1f3142f", + "analysisId" : "f403ba20-b8c5-46ad-8e2b-a58fae1e74c2", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/src/main.pbs", + "version" : 1, + "sha256" : "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "07840aae-f8d3-444a-83a4-58f27401f9d8" + } + }, + "operation" : { + "operationId" : "49eb4541-cf45-4ca0-8fa8-36b85f5fda73", + "clientRequestId" : "F1-two-calls", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "SUCCESS", + "buildId" : "e359119d-d01c-4b40-9bdc-95c9d3743d17", + "manifestPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/manifest.json", + "emittedArtifacts" : [ "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/assets.pa", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/asset_table.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/preload.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/asset_table_metadata.json" ], + "diagnostics" : [ ], + "issues" : [ ], + "summary" : { + "scope" : "build", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "passed" + }, { + "stageId" : "pack-validation", + "status" : "passed" + }, { + "stageId" : "pack", + "status" : "passed" + }, { + "stageId" : "manifest", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls", + "analysisId" : "90cf000e-5631-43e5-bc45-015b14f86f2c", + "taskId" : "20b494be-a3db-49e6-9f30-1e0e469df490", + "operationId" : "49eb4541-cf45-4ca0-8fa8-36b85f5fda73", + "clientRequestId" : "F1-two-calls", + "buildId" : "e359119d-d01c-4b40-9bdc-95c9d3743d17", + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "d4a7b79be45bd810e469ec020e773f2a7f73fce155d5c291dd1ef882ee9b2867", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:36.910566Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:36.910580Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/src ]", + "timestamp" : "2026-11-10T12:17:36.910589Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,158]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[167,222]", + "timestamp" : "2026-11-10T12:17:36.912019Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T12:17:36.912023Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T12:17:36.912327Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.912354Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.912975Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/program.pbx", + "timestamp" : "2026-11-10T12:17:36.913386Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.913398Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "Prepared program bytecode at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/program.pbx", + "timestamp" : "2026-11-10T12:17:36.915078Z" + }, { + "source" : "PACK_VALIDATION", + "severity" : "INFO", + "message" : "Pack validation completed without blocking diagnostics.", + "timestamp" : "2026-11-10T12:17:36.917067Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Pack workspace completed successfully.", + "timestamp" : "2026-11-10T12:17:36.923019Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/assets.pa", + "timestamp" : "2026-11-10T12:17:36.923026Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/asset_table.json", + "timestamp" : "2026-11-10T12:17:36.923027Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/preload.json", + "timestamp" : "2026-11-10T12:17:36.923027Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/asset_table_metadata.json", + "timestamp" : "2026-11-10T12:17:36.923028Z" + }, { + "source" : "MANIFEST", + "severity" : "INFO", + "message" : "Generated manifest at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-two-calls/build/manifest.json", + "timestamp" : "2026-11-10T12:17:36.924292Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ { + "path" : "build/asset_table.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/asset_table_metadata.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/assets.pa", + "sha256" : "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276" + }, { + "path" : "build/manifest.json", + "sha256" : "c8e4c4279f7d2c0cd0fa467ba1d8a580709f298f2fe015f19ad6f89d5b795571" + }, { + "path" : "build/preload.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/program.pbx", + "sha256" : "228b8ec53054e69bc195d124be5fb10ff79c30c43b7e20cbc3723235bfee45e5" + } ] +}, { + "case" : "F1-service-this", + "primaryDocumentSha256" : "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "frozenProjectSourceSha256" : "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089", + "language" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "c378945d-1531-4110-8884-b33a0241837e", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/src/main.pbs", + "sha256" : "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this", + "taskId" : "d407135b-29c2-41d1-816b-8e2f2c7059f2", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "2ec37334-1463-4015-b7e8-1d190b062600", + "analysisId" : "c378945d-1531-4110-8884-b33a0241837e", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/src/main.pbs", + "version" : 1, + "sha256" : "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "2af2107f-be0e-4882-874f-cb98d06130f9" + } + }, + "operation" : { + "operationId" : "fb2792a7-f220-4f89-ab14-f1f86c53e296", + "clientRequestId" : "F1-service-this", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "SUCCESS", + "buildId" : "aae48e15-c604-4b30-9e0f-d7c0681ebf86", + "manifestPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/manifest.json", + "emittedArtifacts" : [ "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/assets.pa", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/asset_table.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/preload.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/asset_table_metadata.json" ], + "diagnostics" : [ ], + "issues" : [ ], + "summary" : { + "scope" : "build", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "passed" + }, { + "stageId" : "pack-validation", + "status" : "passed" + }, { + "stageId" : "pack", + "status" : "passed" + }, { + "stageId" : "manifest", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this", + "analysisId" : "e92f1163-8200-459b-9d99-f4e3bccb7833", + "taskId" : "d407135b-29c2-41d1-816b-8e2f2c7059f2", + "operationId" : "fb2792a7-f220-4f89-ab14-f1f86c53e296", + "clientRequestId" : "F1-service-this", + "buildId" : "aae48e15-c604-4b30-9e0f-d7c0681ebf86", + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "7ac88aba356c06e824f92cffb08d6ad1ddba3d6ae1b22acfd26f60d91aa0b5ad", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:36.967625Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:36.967638Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/src ]", + "timestamp" : "2026-11-10T12:17:36.967647Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[113,174]", + "timestamp" : "2026-11-10T12:17:36.969039Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T12:17:36.969042Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T12:17:36.969389Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.969420Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.969987Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/program.pbx", + "timestamp" : "2026-11-10T12:17:36.970512Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:36.970528Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "Prepared program bytecode at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/program.pbx", + "timestamp" : "2026-11-10T12:17:36.972588Z" + }, { + "source" : "PACK_VALIDATION", + "severity" : "INFO", + "message" : "Pack validation completed without blocking diagnostics.", + "timestamp" : "2026-11-10T12:17:36.974529Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Pack workspace completed successfully.", + "timestamp" : "2026-11-10T12:17:36.981932Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/assets.pa", + "timestamp" : "2026-11-10T12:17:36.981941Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/asset_table.json", + "timestamp" : "2026-11-10T12:17:36.981942Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/preload.json", + "timestamp" : "2026-11-10T12:17:36.981943Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/asset_table_metadata.json", + "timestamp" : "2026-11-10T12:17:36.981943Z" + }, { + "source" : "MANIFEST", + "severity" : "INFO", + "message" : "Generated manifest at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F1-service-this/build/manifest.json", + "timestamp" : "2026-11-10T12:17:36.983317Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ { + "path" : "build/asset_table.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/asset_table_metadata.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/assets.pa", + "sha256" : "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276" + }, { + "path" : "build/manifest.json", + "sha256" : "c8e4c4279f7d2c0cd0fa467ba1d8a580709f298f2fe015f19ad6f89d5b795571" + }, { + "path" : "build/preload.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/program.pbx", + "sha256" : "43fdc0379121d646a5edb45a19e60ae22e7506b17042f8d4212565091e824063" + } ] +}, { + "case" : "F3-function", + "primaryDocumentSha256" : "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "frozenProjectSourceSha256" : "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1", + "language" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "6e0cfb81-f40f-46e1-8b98-a29c64d3f407", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/main.pbs", + "sha256" : "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/helpers.pbs", + "relativePath" : "src/helpers.pbs", + "originScope" : "project", + "sha256" : "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "75e1c6fdd04fcb9c4501fe6994a427215ec53fd48d5c5eed2ff0ae4272a9147a", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function", + "taskId" : "1f16028a-31ff-44f4-8dcd-dc4ea1ea6d3b", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "3ad63fc7-62db-4c51-93b2-6c1ea86177c9", + "analysisId" : "6e0cfb81-f40f-46e1-8b98-a29c64d3f407", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/main.pbs", + "version" : 1, + "sha256" : "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/helpers.pbs", + "relativePath" : "src/helpers.pbs", + "originScope" : "project", + "sha256" : "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "75e1c6fdd04fcb9c4501fe6994a427215ec53fd48d5c5eed2ff0ae4272a9147a", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "803d3fc7-a89a-4366-ba1c-99d98f44c299" + } + }, + "operation" : { + "operationId" : "7d3c0910-f980-40b3-a75a-72b97324d3fd", + "clientRequestId" : "F3-function", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "SUCCESS", + "buildId" : "0ec74e71-b57d-4c2d-9d97-42f5a72f85c8", + "manifestPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/manifest.json", + "emittedArtifacts" : [ "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/assets.pa", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/asset_table.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/preload.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/asset_table_metadata.json" ], + "diagnostics" : [ ], + "issues" : [ ], + "summary" : { + "scope" : "build", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "passed" + }, { + "stageId" : "pack-validation", + "status" : "passed" + }, { + "stageId" : "pack", + "status" : "passed" + }, { + "stageId" : "manifest", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function", + "analysisId" : "a933675d-7ad4-4fc6-9187-196d7d4da83b", + "taskId" : "1f16028a-31ff-44f4-8dcd-dc4ea1ea6d3b", + "operationId" : "7d3c0910-f980-40b3-a75a-72b97324d3fd", + "clientRequestId" : "F3-function", + "buildId" : "0ec74e71-b57d-4c2d-9d97-42f5a72f85c8", + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/helpers.pbs", + "relativePath" : "src/helpers.pbs", + "originScope" : "project", + "sha256" : "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "d40fdd65497920598c0bfb8ab215feea2fb92e23ba5fb022bc30a88edf26eb38", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "75e1c6fdd04fcb9c4501fe6994a427215ec53fd48d5c5eed2ff0ae4272a9147a", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:37.027467Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:37.027485Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/src ]", + "timestamp" : "2026-11-10T12:17:37.027502Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,87]", + "timestamp" : "2026-11-10T12:17:37.029147Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T12:17:37.029150Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T12:17:37.029517Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.029560Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.030100Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.030636Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.030651Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "Prepared program bytecode at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.032590Z" + }, { + "source" : "PACK_VALIDATION", + "severity" : "INFO", + "message" : "Pack validation completed without blocking diagnostics.", + "timestamp" : "2026-11-10T12:17:37.034239Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Pack workspace completed successfully.", + "timestamp" : "2026-11-10T12:17:37.042791Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/assets.pa", + "timestamp" : "2026-11-10T12:17:37.042798Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/asset_table.json", + "timestamp" : "2026-11-10T12:17:37.042799Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/preload.json", + "timestamp" : "2026-11-10T12:17:37.042800Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/asset_table_metadata.json", + "timestamp" : "2026-11-10T12:17:37.042801Z" + }, { + "source" : "MANIFEST", + "severity" : "INFO", + "message" : "Generated manifest at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-function/build/manifest.json", + "timestamp" : "2026-11-10T12:17:37.044080Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ { + "path" : "build/asset_table.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/asset_table_metadata.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/assets.pa", + "sha256" : "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276" + }, { + "path" : "build/manifest.json", + "sha256" : "c8e4c4279f7d2c0cd0fa467ba1d8a580709f298f2fe015f19ad6f89d5b795571" + }, { + "path" : "build/preload.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/program.pbx", + "sha256" : "fbe0636ca41c622cd8411ede5d376929f8c43471ff9504a479279743e7960c7b" + } ] +}, { + "case" : "F3-global", + "primaryDocumentSha256" : "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "frozenProjectSourceSha256" : "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34", + "language" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "54f6e9b2-bb42-44ed-a64f-409b5a7b19d9", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/main.pbs", + "sha256" : "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "3b489d6fc97278c0a20017438cb5f14468d62773fc502542712225607a87cb90", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/state.pbs", + "relativePath" : "src/state.pbs", + "originScope" : "project", + "sha256" : "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global", + "taskId" : "b571104f-4d2a-4d71-b41e-e44ea6a8f2d3", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "df5bfdd5-24a4-4a80-a13b-993c29897963", + "analysisId" : "54f6e9b2-bb42-44ed-a64f-409b5a7b19d9", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/main.pbs", + "version" : 1, + "sha256" : "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "3b489d6fc97278c0a20017438cb5f14468d62773fc502542712225607a87cb90", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/state.pbs", + "relativePath" : "src/state.pbs", + "originScope" : "project", + "sha256" : "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "368a6697-4df9-4f2d-9be8-da77f336da45" + } + }, + "operation" : { + "operationId" : "a539f178-d64b-4685-8b57-5274f8d88b92", + "clientRequestId" : "F3-global", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "SUCCESS", + "buildId" : "861bde03-831a-4404-9ffb-0ed7a380ed78", + "manifestPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/manifest.json", + "emittedArtifacts" : [ "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/assets.pa", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/asset_table.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/preload.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/asset_table_metadata.json" ], + "diagnostics" : [ ], + "issues" : [ ], + "summary" : { + "scope" : "build", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "passed" + }, { + "stageId" : "pack-validation", + "status" : "passed" + }, { + "stageId" : "pack", + "status" : "passed" + }, { + "stageId" : "manifest", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global", + "analysisId" : "a7af9920-5771-4c77-81e3-76d6324db536", + "taskId" : "b571104f-4d2a-4d71-b41e-e44ea6a8f2d3", + "operationId" : "a539f178-d64b-4685-8b57-5274f8d88b92", + "clientRequestId" : "F3-global", + "buildId" : "861bde03-831a-4404-9ffb-0ed7a380ed78", + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "434ad7aba81d91a0815fd6e3b4a627339484ff75cd1f58886f0666c10f8f66d8", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "3b489d6fc97278c0a20017438cb5f14468d62773fc502542712225607a87cb90", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src/state.pbs", + "relativePath" : "src/state.pbs", + "originScope" : "project", + "sha256" : "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:37.092295Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:37.092311Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/src ]", + "timestamp" : "2026-11-10T12:17:37.092322Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,72]", + "timestamp" : "2026-11-10T12:17:37.094064Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T12:17:37.094068Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T12:17:37.094394Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.094438Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.094905Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.095395Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.095408Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "Prepared program bytecode at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.097461Z" + }, { + "source" : "PACK_VALIDATION", + "severity" : "INFO", + "message" : "Pack validation completed without blocking diagnostics.", + "timestamp" : "2026-11-10T12:17:37.099101Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Pack workspace completed successfully.", + "timestamp" : "2026-11-10T12:17:37.105471Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/assets.pa", + "timestamp" : "2026-11-10T12:17:37.105478Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/asset_table.json", + "timestamp" : "2026-11-10T12:17:37.105479Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/preload.json", + "timestamp" : "2026-11-10T12:17:37.105480Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/asset_table_metadata.json", + "timestamp" : "2026-11-10T12:17:37.105480Z" + }, { + "source" : "MANIFEST", + "severity" : "INFO", + "message" : "Generated manifest at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-global/build/manifest.json", + "timestamp" : "2026-11-10T12:17:37.106955Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ { + "path" : "build/asset_table.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/asset_table_metadata.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/assets.pa", + "sha256" : "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276" + }, { + "path" : "build/manifest.json", + "sha256" : "c8e4c4279f7d2c0cd0fa467ba1d8a580709f298f2fe015f19ad6f89d5b795571" + }, { + "path" : "build/preload.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/program.pbx", + "sha256" : "e121b89cc27e4923c702651c1035f0bb77a87d1e8f51ef2c37f14ebc91b4ad46" + } ] +}, { + "case" : "F3-service", + "primaryDocumentSha256" : "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "frozenProjectSourceSha256" : "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22", + "language" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "8a58c6bf-4c98-445c-84a0-b1f6659251a6", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/main.pbs", + "sha256" : "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/helpers.pbs", + "relativePath" : "src/helpers.pbs", + "originScope" : "project", + "sha256" : "f1dccf72135529a1f3af9a181db244535d37b0571b8179b3a1be3a1a4994e6af", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "12fc30691f4148a7b9d23917b32b5820b75f893c334ce7005aeeb572908af36c", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service", + "taskId" : "10c9aa1f-4ea1-47be-97ed-653192c5da1c", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "24b26b81-3961-496b-9013-5f1f01f91a30", + "analysisId" : "8a58c6bf-4c98-445c-84a0-b1f6659251a6", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/main.pbs", + "version" : 1, + "sha256" : "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/helpers.pbs", + "relativePath" : "src/helpers.pbs", + "originScope" : "project", + "sha256" : "f1dccf72135529a1f3af9a181db244535d37b0571b8179b3a1be3a1a4994e6af", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "12fc30691f4148a7b9d23917b32b5820b75f893c334ce7005aeeb572908af36c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "eafa9cf7-8062-43fe-a603-8e0a83200c76" + } + }, + "operation" : { + "operationId" : "b226ccb3-c235-4aef-85f5-dded69477383", + "clientRequestId" : "F3-service", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "SUCCESS", + "buildId" : "e78dce8d-77bd-40c3-97ca-49dd13bed0b0", + "manifestPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/manifest.json", + "emittedArtifacts" : [ "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/assets.pa", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/asset_table.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/preload.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/asset_table_metadata.json" ], + "diagnostics" : [ ], + "issues" : [ ], + "summary" : { + "scope" : "build", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "passed" + }, { + "stageId" : "pack-validation", + "status" : "passed" + }, { + "stageId" : "pack", + "status" : "passed" + }, { + "stageId" : "manifest", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service", + "analysisId" : "879bbf3f-0256-4b0d-94e1-c3cd5f52d247", + "taskId" : "10c9aa1f-4ea1-47be-97ed-653192c5da1c", + "operationId" : "b226ccb3-c235-4aef-85f5-dded69477383", + "clientRequestId" : "F3-service", + "buildId" : "e78dce8d-77bd-40c3-97ca-49dd13bed0b0", + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/helpers.pbs", + "relativePath" : "src/helpers.pbs", + "originScope" : "project", + "sha256" : "f1dccf72135529a1f3af9a181db244535d37b0571b8179b3a1be3a1a4994e6af", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "42740319d5d18193ede449b73cbdc96ff119215a2dbd6852ee923d2a5b8c7600", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "12fc30691f4148a7b9d23917b32b5820b75f893c334ce7005aeeb572908af36c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:37.149935Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:37.149949Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/src ]", + "timestamp" : "2026-11-10T12:17:37.149957Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(1) span=[8,89]", + "timestamp" : "2026-11-10T12:17:37.151850Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T12:17:37.151854Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T12:17:37.152252Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.152285Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.152816Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.153359Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.153372Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "Prepared program bytecode at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.155102Z" + }, { + "source" : "PACK_VALIDATION", + "severity" : "INFO", + "message" : "Pack validation completed without blocking diagnostics.", + "timestamp" : "2026-11-10T12:17:37.156875Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Pack workspace completed successfully.", + "timestamp" : "2026-11-10T12:17:37.163648Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/assets.pa", + "timestamp" : "2026-11-10T12:17:37.163654Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/asset_table.json", + "timestamp" : "2026-11-10T12:17:37.163655Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/preload.json", + "timestamp" : "2026-11-10T12:17:37.163655Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/asset_table_metadata.json", + "timestamp" : "2026-11-10T12:17:37.163656Z" + }, { + "source" : "MANIFEST", + "severity" : "INFO", + "message" : "Generated manifest at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-service/build/manifest.json", + "timestamp" : "2026-11-10T12:17:37.164971Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ { + "path" : "build/asset_table.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/asset_table_metadata.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/assets.pa", + "sha256" : "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276" + }, { + "path" : "build/manifest.json", + "sha256" : "c8e4c4279f7d2c0cd0fa467ba1d8a580709f298f2fe015f19ad6f89d5b795571" + }, { + "path" : "build/preload.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/program.pbx", + "sha256" : "9d28d184f3b4997d6f4fb3c75bdd09be8fad220ec24654ff5a63dda5186c297b" + } ] +}, { + "case" : "F3-file-private", + "primaryDocumentSha256" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "frozenProjectSourceSha256" : "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb", + "language" : { + "operation" : "diagnostics", + "result" : [ { + "range" : { + "start" : { + "line" : 0, + "character" : 39 + }, + "end" : { + "line" : 0, + "character" : 48 + } + }, + "severity" : 1, + "code" : "E_SEM_APPLY_NON_CALLABLE_TARGET", + "source" : "pbs", + "message" : "Apply/call target is not callable", + "data" : { + "prometeu" : { + "version" : 1, + "analysisId" : "e14975b1-59b9-4a9b-b994-eaaa558bd88e", + "issueId" : "e14975b1-59b9-4a9b-b994-eaaa558bd88e:0", + "issue" : { + "issueId" : "e14975b1-59b9-4a9b-b994-eaaa558bd88e:0", + "producer" : { + "component" : "compiler-frontend", + "owner" : "compiler/pbs", + "languageId" : "pbs" + }, + "code" : "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin" : "producer", + "templateId" : "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters" : { }, + "checkId" : "pbs.flow.call-target", + "severity" : "ERROR", + "phase" : "static-semantics", + "stageId" : "FrontendPhasePipelineStage", + "failureKind" : "program-rejection", + "message" : "Apply/call target is not callable", + "facts" : { }, + "explanation" : { + "id" : "pbs.flow.call-target", + "summary" : "An applied expression must resolve to a callable target in its current semantic scope.", + "rule" : "An applied expression must resolve to a callable target in its current semantic scope.", + "availability" : "available" + }, + "semanticContext" : { + "availability" : "partial", + "facts" : { + "construction" : { + "value" : "application", + "availability" : "available" + }, + "requestedSymbol" : { + "value" : "increment", + "availability" : "available" + }, + "calleeClassification" : { + "value" : "UNKNOWN", + "availability" : "available" + }, + "argumentType" : { + "value" : "INT", + "availability" : "available" + }, + "resolutionConstraints" : { + "availability" : "available" + }, + "candidateCount" : { + "value" : 0, + "availability" : "available" + }, + "scopeFileId" : { + "value" : 1, + "availability" : "available" + }, + "expressionTypes" : { + "availability" : "not-recorded", + "reason" : "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity" : { + "availability" : "not-recorded", + "reason" : "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity" : { + "availability" : "not-recorded", + "reason" : "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "fileId" : 1, + "span" : { + "start" : 39, + "end" : 48, + "unit" : "utf8-byte" + }, + "range" : { + "start" : { + "line" : 0, + "character" : 39 + }, + "end" : { + "line" : 0, + "character" : 48 + }, + "unit" : "utf16" + }, + "revision" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "source" : { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability" : "available", + "readOnly" : false + }, + "availability" : "available", + "attribution" : { + "originKind" : "unknown", + "locationKind" : "none", + "role" : "detection", + "absenceReason" : "unknown" + } + }, + "related" : [ ], + "suggestedChecks" : [ { + "id" : "pbs.flow.call-target.inspect-context", + "description" : "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields" : [ "semanticContext", "origin", "facts" ] + } ], + "limitations" : [ ] + }, + "limitations" : [ ] + } + } + } ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "e14975b1-59b9-4a9b-b994-eaaa558bd88e", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "sha256" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "version" : 1 + }, + "issues" : [ { + "issueId" : "e14975b1-59b9-4a9b-b994-eaaa558bd88e:0", + "producer" : { + "component" : "compiler-frontend", + "owner" : "compiler/pbs", + "languageId" : "pbs" + }, + "code" : "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin" : "producer", + "templateId" : "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters" : { }, + "checkId" : "pbs.flow.call-target", + "severity" : "ERROR", + "phase" : "static-semantics", + "stageId" : "FrontendPhasePipelineStage", + "failureKind" : "program-rejection", + "message" : "Apply/call target is not callable", + "facts" : { }, + "explanation" : { + "id" : "pbs.flow.call-target", + "summary" : "An applied expression must resolve to a callable target in its current semantic scope.", + "rule" : "An applied expression must resolve to a callable target in its current semantic scope.", + "availability" : "available" + }, + "semanticContext" : { + "availability" : "partial", + "facts" : { + "construction" : { + "value" : "application", + "availability" : "available" + }, + "requestedSymbol" : { + "value" : "increment", + "availability" : "available" + }, + "calleeClassification" : { + "value" : "UNKNOWN", + "availability" : "available" + }, + "argumentType" : { + "value" : "INT", + "availability" : "available" + }, + "resolutionConstraints" : { + "availability" : "available" + }, + "candidateCount" : { + "value" : 0, + "availability" : "available" + }, + "scopeFileId" : { + "value" : 1, + "availability" : "available" + }, + "expressionTypes" : { + "availability" : "not-recorded", + "reason" : "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity" : { + "availability" : "not-recorded", + "reason" : "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity" : { + "availability" : "not-recorded", + "reason" : "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "fileId" : 1, + "span" : { + "start" : 39, + "end" : 48, + "unit" : "utf8-byte" + }, + "range" : { + "start" : { + "line" : 0, + "character" : 39 + }, + "end" : { + "line" : 0, + "character" : 48 + }, + "unit" : "utf16" + }, + "revision" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "source" : { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability" : "available", + "readOnly" : false + }, + "availability" : "available", + "attribution" : { + "originKind" : "unknown", + "locationKind" : "none", + "role" : "detection", + "absenceReason" : "unknown" + } + }, + "related" : [ ], + "suggestedChecks" : [ { + "id" : "pbs.flow.call-target.inspect-context", + "description" : "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields" : [ "semanticContext", "origin", "facts" ] + } ], + "limitations" : [ ] + } ], + "summary" : { + "scope" : "project", + "validationStatus" : "rejected", + "counts" : { + "errors" : 1, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "rejected" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/helpers.pbs", + "relativePath" : "src/helpers.pbs", + "originScope" : "project", + "sha256" : "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private", + "taskId" : "5e803b71-3000-4c3b-b9b8-c3637a686e79", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "ac686dd7-ff6d-47a4-b218-6e69354daf9c", + "analysisId" : "e14975b1-59b9-4a9b-b994-eaaa558bd88e", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "version" : 1, + "sha256" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/helpers.pbs", + "relativePath" : "src/helpers.pbs", + "originScope" : "project", + "sha256" : "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "50c2fc13-c618-4e45-869a-9e46e29e0bd8" + } + }, + "operation" : { + "operationId" : "2622bdd8-fa01-4279-aa59-3bd4ebd963c6", + "clientRequestId" : "F3-file-private", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "FAILED", + "buildId" : null, + "manifestPath" : null, + "emittedArtifacts" : [ ], + "diagnostics" : [ "Apply/call target is not callable" ], + "issues" : [ { + "issueId" : "8af313ac-e70c-4edd-bf60-59b82338bc8f:0", + "producer" : { + "component" : "compiler-frontend", + "owner" : "compiler/pbs", + "languageId" : "pbs" + }, + "code" : "E_SEM_APPLY_NON_CALLABLE_TARGET", + "codeOrigin" : "producer", + "templateId" : "E_SEM_APPLY_NON_CALLABLE_TARGET", + "templateParameters" : { }, + "checkId" : "pbs.flow.call-target", + "severity" : "ERROR", + "phase" : "static-semantics", + "stageId" : "FrontendPhasePipelineStage", + "failureKind" : "program-rejection", + "message" : "Apply/call target is not callable", + "facts" : { }, + "explanation" : { + "id" : "pbs.flow.call-target", + "summary" : "An applied expression must resolve to a callable target in its current semantic scope.", + "rule" : "An applied expression must resolve to a callable target in its current semantic scope.", + "availability" : "available" + }, + "semanticContext" : { + "availability" : "partial", + "facts" : { + "construction" : { + "value" : "application", + "availability" : "available", + "reason" : null + }, + "requestedSymbol" : { + "value" : "increment", + "availability" : "available", + "reason" : null + }, + "calleeClassification" : { + "value" : "UNKNOWN", + "availability" : "available", + "reason" : null + }, + "argumentType" : { + "value" : "INT", + "availability" : "available", + "reason" : null + }, + "resolutionConstraints" : { + "value" : null, + "availability" : "available", + "reason" : null + }, + "candidateCount" : { + "value" : 0, + "availability" : "available", + "reason" : null + }, + "scopeFileId" : { + "value" : 1, + "availability" : "available", + "reason" : null + }, + "expressionTypes" : { + "value" : null, + "availability" : "not-recorded", + "reason" : "Not recorded by this detector; source identity is carried separately" + }, + "moduleIdentity" : { + "value" : null, + "availability" : "not-recorded", + "reason" : "Not recorded by this detector; source identity is carried separately" + }, + "dependencyIdentity" : { + "value" : null, + "availability" : "not-recorded", + "reason" : "Not recorded by this detector; source identity is carried separately" + } + } + }, + "origin" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "fileId" : 1, + "span" : { + "start" : 39, + "end" : 48, + "unit" : "utf8-byte" + }, + "range" : { + "start" : { + "line" : 0, + "character" : 39 + }, + "end" : { + "line" : 0, + "character" : 48 + }, + "unit" : "utf16" + }, + "revision" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "source" : { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability" : "available", + "readOnly" : false + }, + "availability" : "available", + "attribution" : { + "originKind" : "unknown", + "locationKind" : "none", + "role" : "detection", + "absenceReason" : "unknown" + }, + "verification" : null + }, + "related" : [ ], + "suggestedChecks" : [ { + "id" : "pbs.flow.call-target.inspect-context", + "description" : "Inspect the recorded declaration, expression types and actual resolution constraints.", + "evidenceFields" : [ "semanticContext", "origin", "facts" ] + } ], + "limitations" : [ ] + } ], + "summary" : { + "scope" : "build", + "validationStatus" : "rejected", + "counts" : { + "errors" : 1, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "rejected" + }, { + "stageId" : "pack-validation", + "status" : "not-run" + }, { + "stageId" : "pack", + "status" : "not-run" + }, { + "stageId" : "manifest", + "status" : "not-run" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private", + "analysisId" : "8af313ac-e70c-4edd-bf60-59b82338bc8f", + "taskId" : "5e803b71-3000-4c3b-b9b8-c3637a686e79", + "operationId" : "2622bdd8-fa01-4279-aa59-3bd4ebd963c6", + "clientRequestId" : "F3-file-private", + "buildId" : null, + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/helpers.pbs", + "relativePath" : "src/helpers.pbs", + "originScope" : "project", + "sha256" : "1b43bcd330cb231797f5c289825652f40942e87447e6ef678ecb92b92e491f9f", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "6f0bfe4e3af06777b05d5145823262963e0939d40cf0e09c5bb8fd6d773fff0a", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:37.205799Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:37.205818Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F3-file-private/src ]", + "timestamp" : "2026-11-10T12:17:37.205831Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none}", + "timestamp" : "2026-11-10T12:17:37.207323Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=1:39-48]", + "timestamp" : "2026-11-10T12:17:37.207339Z" + }, { + "source" : "BUILD", + "severity" : "ERROR", + "message" : "issues found on pipeline stage: analyze", + "timestamp" : "2026-11-10T12:17:37.207760Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ ] +}, { + "case" : "F4-same-dependency", + "primaryDocumentSha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "frozenProjectSourceSha256" : "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831", + "language" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "57a67f18-c387-4ba3-8148-9f5eca304397", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/main.pbs", + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/a/data.pbs", + "relativePath" : "src/a/data.pbs", + "originScope" : "project", + "sha256" : "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/a/main.pbs", + "relativePath" : "src/a/main.pbs", + "originScope" : "project", + "sha256" : "256ed36c3a135897882019cd9e1f71327326880e5165cda19f0779cc1c34e45b", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/a/mod.barrel", + "relativePath" : "src/a/mod.barrel", + "originScope" : "project", + "sha256" : "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 3, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/b/data.pbs", + "relativePath" : "src/b/data.pbs", + "originScope" : "project", + "sha256" : "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 4, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/b/main.pbs", + "relativePath" : "src/b/main.pbs", + "originScope" : "project", + "sha256" : "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 5, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/b/mod.barrel", + "relativePath" : "src/b/mod.barrel", + "originScope" : "project", + "sha256" : "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 6, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 7, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency", + "taskId" : "dccccc54-2a11-46bb-857f-4b3822c6ca3d", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "05665e5c-b6e0-41b3-8b5f-18346592feb2", + "analysisId" : "57a67f18-c387-4ba3-8148-9f5eca304397", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/main.pbs", + "version" : 1, + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/a/data.pbs", + "relativePath" : "src/a/data.pbs", + "originScope" : "project", + "sha256" : "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/a/main.pbs", + "relativePath" : "src/a/main.pbs", + "originScope" : "project", + "sha256" : "256ed36c3a135897882019cd9e1f71327326880e5165cda19f0779cc1c34e45b", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/a/mod.barrel", + "relativePath" : "src/a/mod.barrel", + "originScope" : "project", + "sha256" : "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 3, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/b/data.pbs", + "relativePath" : "src/b/data.pbs", + "originScope" : "project", + "sha256" : "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 4, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/b/main.pbs", + "relativePath" : "src/b/main.pbs", + "originScope" : "project", + "sha256" : "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 5, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/b/mod.barrel", + "relativePath" : "src/b/mod.barrel", + "originScope" : "project", + "sha256" : "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 6, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 7, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "0bd92401-9852-49b2-9b31-a6dd087f323e" + } + }, + "operation" : { + "operationId" : "fe56cde4-d1dd-433a-a2ac-cfbfe9394204", + "clientRequestId" : "F4-same-dependency", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "SUCCESS", + "buildId" : "b48d97c6-8459-49a2-ae86-22ce0d79ef30", + "manifestPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/manifest.json", + "emittedArtifacts" : [ "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/assets.pa", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/asset_table.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/preload.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/asset_table_metadata.json" ], + "diagnostics" : [ ], + "issues" : [ ], + "summary" : { + "scope" : "build", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "passed" + }, { + "stageId" : "pack-validation", + "status" : "passed" + }, { + "stageId" : "pack", + "status" : "passed" + }, { + "stageId" : "manifest", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency", + "analysisId" : "3d9da168-94ad-4b70-b312-de7d124473a9", + "taskId" : "dccccc54-2a11-46bb-857f-4b3822c6ca3d", + "operationId" : "fe56cde4-d1dd-433a-a2ac-cfbfe9394204", + "clientRequestId" : "F4-same-dependency", + "buildId" : "b48d97c6-8459-49a2-ae86-22ce0d79ef30", + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/a/data.pbs", + "relativePath" : "src/a/data.pbs", + "originScope" : "project", + "sha256" : "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/a/main.pbs", + "relativePath" : "src/a/main.pbs", + "originScope" : "project", + "sha256" : "256ed36c3a135897882019cd9e1f71327326880e5165cda19f0779cc1c34e45b", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/a/mod.barrel", + "relativePath" : "src/a/mod.barrel", + "originScope" : "project", + "sha256" : "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 3, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/b/data.pbs", + "relativePath" : "src/b/data.pbs", + "originScope" : "project", + "sha256" : "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 4, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/b/main.pbs", + "relativePath" : "src/b/main.pbs", + "originScope" : "project", + "sha256" : "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 5, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/b/mod.barrel", + "relativePath" : "src/b/mod.barrel", + "originScope" : "project", + "sha256" : "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 6, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 7, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:37.263854Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:37.263870Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/src ]", + "timestamp" : "2026-11-10T12:17:37.263880Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198]", + "timestamp" : "2026-11-10T12:17:37.269238Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T12:17:37.269242Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T12:17:37.269735Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.269774Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.270709Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.271286Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.271298Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "Prepared program bytecode at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.274053Z" + }, { + "source" : "PACK_VALIDATION", + "severity" : "INFO", + "message" : "Pack validation completed without blocking diagnostics.", + "timestamp" : "2026-11-10T12:17:37.276594Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Pack workspace completed successfully.", + "timestamp" : "2026-11-10T12:17:37.286044Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/assets.pa", + "timestamp" : "2026-11-10T12:17:37.286052Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/asset_table.json", + "timestamp" : "2026-11-10T12:17:37.286053Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/preload.json", + "timestamp" : "2026-11-10T12:17:37.286054Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/asset_table_metadata.json", + "timestamp" : "2026-11-10T12:17:37.286055Z" + }, { + "source" : "MANIFEST", + "severity" : "INFO", + "message" : "Generated manifest at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-dependency/build/manifest.json", + "timestamp" : "2026-11-10T12:17:37.287868Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ { + "path" : "build/asset_table.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/asset_table_metadata.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/assets.pa", + "sha256" : "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276" + }, { + "path" : "build/manifest.json", + "sha256" : "c8e4c4279f7d2c0cd0fa467ba1d8a580709f298f2fe015f19ad6f89d5b795571" + }, { + "path" : "build/preload.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/program.pbx", + "sha256" : "ad316ca96aaed999db68e09bde52cc1c6cc2e881290a505f14dba1054fd1c21d" + } ] +}, { + "case" : "F4-same-direct", + "primaryDocumentSha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "frozenProjectSourceSha256" : "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e", + "language" : { + "operation" : "diagnostics", + "result" : [ ], + "limitations" : [ ], + "analysis" : { + "analysisId" : "7c09834e-7b25-4dd3-9e50-deafe8e5b3ff", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/main.pbs", + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "version" : 1 + }, + "issues" : [ ], + "summary" : { + "scope" : "project", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "analysis", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/a/data.pbs", + "relativePath" : "src/a/data.pbs", + "originScope" : "project", + "sha256" : "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/a/main.pbs", + "relativePath" : "src/a/main.pbs", + "originScope" : "project", + "sha256" : "e13cd7e6baaf4c1eb2133f85ebb31fdcb1f8677b71e44d97265e58709a795ecb", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/a/mod.barrel", + "relativePath" : "src/a/mod.barrel", + "originScope" : "project", + "sha256" : "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 3, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/b/data.pbs", + "relativePath" : "src/b/data.pbs", + "originScope" : "project", + "sha256" : "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 4, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/b/main.pbs", + "relativePath" : "src/b/main.pbs", + "originScope" : "project", + "sha256" : "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 5, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/b/mod.barrel", + "relativePath" : "src/b/mod.barrel", + "originScope" : "project", + "sha256" : "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 6, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 7, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ] + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct", + "taskId" : "c6a4f197-2321-42d0-8aab-5abc4ea332c9", + "clientRequestId" : null, + "buildId" : null, + "queryId" : "40662fa0-b378-468d-be16-0bed9eac25b9", + "analysisId" : "7c09834e-7b25-4dd3-9e50-deafe8e5b3ff", + "document" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/main.pbs", + "version" : 1, + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236" + }, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/a/data.pbs", + "relativePath" : "src/a/data.pbs", + "originScope" : "project", + "sha256" : "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/a/main.pbs", + "relativePath" : "src/a/main.pbs", + "originScope" : "project", + "sha256" : "e13cd7e6baaf4c1eb2133f85ebb31fdcb1f8677b71e44d97265e58709a795ecb", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/a/mod.barrel", + "relativePath" : "src/a/mod.barrel", + "originScope" : "project", + "sha256" : "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 3, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/b/data.pbs", + "relativePath" : "src/b/data.pbs", + "originScope" : "project", + "sha256" : "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 4, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/b/main.pbs", + "relativePath" : "src/b/main.pbs", + "originScope" : "project", + "sha256" : "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 5, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/b/mod.barrel", + "relativePath" : "src/b/mod.barrel", + "originScope" : "project", + "sha256" : "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 6, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 7, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "externalRevision" : { }, + "inputCoverage" : "partial", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "operationId" : "a9b63e9b-e34f-4f6f-8934-8e8fd8d0c41f" + } + }, + "operation" : { + "operationId" : "442bc200-351b-4d85-9000-3ca8843b9bca", + "clientRequestId" : "F4-same-direct", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "SUCCESS", + "buildId" : "72b77787-470a-4a9d-afb1-4090f93fc2e1", + "manifestPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/manifest.json", + "emittedArtifacts" : [ "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/assets.pa", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/asset_table.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/preload.json", "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/asset_table_metadata.json" ], + "diagnostics" : [ ], + "issues" : [ ], + "summary" : { + "scope" : "build", + "validationStatus" : "passed", + "counts" : { + "errors" : 0, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "passed" + }, { + "stageId" : "pack-validation", + "status" : "passed" + }, { + "stageId" : "pack", + "status" : "passed" + }, { + "stageId" : "manifest", + "status" : "passed" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct", + "analysisId" : "e8875704-f5b7-4fe1-8b56-9170131dab72", + "taskId" : "c6a4f197-2321-42d0-8aab-5abc4ea332c9", + "operationId" : "442bc200-351b-4d85-9000-3ca8843b9bca", + "clientRequestId" : "F4-same-direct", + "buildId" : "72b77787-470a-4a9d-afb1-4090f93fc2e1", + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/a/data.pbs", + "relativePath" : "src/a/data.pbs", + "originScope" : "project", + "sha256" : "5efbdd72d31e8b8bbfa3bcbe96066d1bd29ec611dbc7cb6fbd4ab4cafdced877", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 1, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/a/main.pbs", + "relativePath" : "src/a/main.pbs", + "originScope" : "project", + "sha256" : "e13cd7e6baaf4c1eb2133f85ebb31fdcb1f8677b71e44d97265e58709a795ecb", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 2, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/a/mod.barrel", + "relativePath" : "src/a/mod.barrel", + "originScope" : "project", + "sha256" : "1b8b95772d0564d90c102afdd1d55bf69639df37edeeba107b525e3ad6d2b5e0", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 3, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/b/data.pbs", + "relativePath" : "src/b/data.pbs", + "originScope" : "project", + "sha256" : "fe2a474486e2253bb8c8821ac2517bf7fe2ba6b520f5cc65d0edb2c364b2b29c", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 4, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/b/main.pbs", + "relativePath" : "src/b/main.pbs", + "originScope" : "project", + "sha256" : "187ef08f1dc4fa6dffebf85df83166056ab28f57593ff36de3bed9b20bc20435", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 5, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/b/mod.barrel", + "relativePath" : "src/b/mod.barrel", + "originScope" : "project", + "sha256" : "6b9d7d9118cc84a322a691b473c885c375496460c9a87ea8f0c4234737424095", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 6, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/main.pbs", + "relativePath" : "src/main.pbs", + "originScope" : "project", + "sha256" : "4a4e60a86619a0621cb708f4acaeca1eb29873d76f65ea1366097f5a81156236", + "revisionAvailability" : "available", + "readOnly" : false + }, { + "fileId" : 7, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src/mod.barrel", + "relativePath" : "src/mod.barrel", + "originScope" : "project", + "sha256" : "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "pbs", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T12:17:37.347589Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ caseapp ] source loading...", + "timestamp" : "2026-11-10T12:17:37.347606Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/src ]", + "timestamp" : "2026-11-10T12:17:37.347614Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198]", + "timestamp" : "2026-11-10T12:17:37.352086Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T12:17:37.352089Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T12:17:37.352544Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.352578Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.353552Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.354097Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T12:17:37.354117Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "Prepared program bytecode at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/program.pbx", + "timestamp" : "2026-11-10T12:17:37.357514Z" + }, { + "source" : "PACK_VALIDATION", + "severity" : "INFO", + "message" : "Pack validation completed without blocking diagnostics.", + "timestamp" : "2026-11-10T12:17:37.359339Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Pack workspace completed successfully.", + "timestamp" : "2026-11-10T12:17:37.366686Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/assets.pa", + "timestamp" : "2026-11-10T12:17:37.366694Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/asset_table.json", + "timestamp" : "2026-11-10T12:17:37.366694Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/preload.json", + "timestamp" : "2026-11-10T12:17:37.366695Z" + }, { + "source" : "PACK", + "severity" : "INFO", + "message" : "Emitted /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/asset_table_metadata.json", + "timestamp" : "2026-11-10T12:17:37.366695Z" + }, { + "source" : "MANIFEST", + "severity" : "INFO", + "message" : "Generated manifest at /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12557268981251944889/F4-same-direct/build/manifest.json", + "timestamp" : "2026-11-10T12:17:37.368513Z" + } ] + } + }, + "harnessConfiguration" : "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged", + "artifactProvenance" : [ { + "path" : "build/asset_table.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/asset_table_metadata.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/assets.pa", + "sha256" : "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276" + }, { + "path" : "build/manifest.json", + "sha256" : "c8e4c4279f7d2c0cd0fa467ba1d8a580709f298f2fe015f19ad6f89d5b795571" + }, { + "path" : "build/preload.json", + "sha256" : "5984eac0c5c6d947241e29dd5671b81a1546cedf77e08d38438ac47029969afa" + }, { + "path" : "build/program.pbx", + "sha256" : "1e15920292091204a43bf4f9cb308e97d66154b5721df3a0ac8b972b26f4a99e" + } ] +} ] \ No newline at end of file diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.StudioApplicationConfigurationTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.StudioApplicationConfigurationTest.xml new file mode 100644 index 00000000..bce459fd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.StudioApplicationConfigurationTest.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.StudioPackerEventAdapterTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.StudioPackerEventAdapterTest.xml new file mode 100644 index 00000000..4fbad4a4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.StudioPackerEventAdapterTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.animation.AnimationIntegrationTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.animation.AnimationIntegrationTest.xml new file mode 100644 index 00000000..3062fa6f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.animation.AnimationIntegrationTest.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.CompilerProjectKnowledgeTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.CompilerProjectKnowledgeTest.xml new file mode 100644 index 00000000..9efa96a9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.CompilerProjectKnowledgeTest.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.CompilerProjectLanguageCatalogTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.CompilerProjectLanguageCatalogTest.xml new file mode 100644 index 00000000..02b6dc7f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.CompilerProjectLanguageCatalogTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.ProjectReferencesTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.ProjectReferencesTest.xml new file mode 100644 index 00000000..a1a6a92d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.compiler.ProjectReferencesTest.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.AutomationLspQueriesTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.AutomationLspQueriesTest.xml new file mode 100644 index 00000000..31add304 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.AutomationLspQueriesTest.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.LanguageFailureContractTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.LanguageFailureContractTest.xml new file mode 100644 index 00000000..e30127e3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.LanguageFailureContractTest.xml @@ -0,0 +1,39 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.LspDiscoveryTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.LspDiscoveryTest.xml new file mode 100644 index 00000000..61a826c1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.lsp.LspDiscoveryTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.LocalMcpServerTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.LocalMcpServerTest.xml new file mode 100644 index 00000000..e00a94bf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.LocalMcpServerTest.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpConnectionGuideTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpConnectionGuideTest.xml new file mode 100644 index 00000000..3445f7a3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpConnectionGuideTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpContractTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpContractTest.xml new file mode 100644 index 00000000..6d2e4a41 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpContractTest.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpTaskToolsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpTaskToolsTest.xml new file mode 100644 index 00000000..1f913b4a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.McpTaskToolsTest.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.ProjectConnectionPublisherTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.ProjectConnectionPublisherTest.xml new file mode 100644 index 00000000..6fb0626c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.ProjectConnectionPublisherTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.StructuredDiagnosticsIntegrationTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.StructuredDiagnosticsIntegrationTest.xml new file mode 100644 index 00000000..f8537471 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.StructuredDiagnosticsIntegrationTest.xml @@ -0,0 +1,95 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.StudioAgentPreparationTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.StudioAgentPreparationTest.xml new file mode 100644 index 00000000..f0485e88 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.StudioAgentPreparationTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.stdio.StudioMcpStdioTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.stdio.StudioMcpStdioTest.xml new file mode 100644 index 00000000..0667e6aa --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.mcp.stdio.StudioMcpStdioTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.operation.ExecutorOperationExecutorTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.operation.ExecutorOperationExecutorTest.xml new file mode 100644 index 00000000..e16d075b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.operation.ExecutorOperationExecutorTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.runtime.DesktopMemcardSelectionTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.runtime.DesktopMemcardSelectionTest.xml new file mode 100644 index 00000000..356f1257 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.runtime.DesktopMemcardSelectionTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.runtime.HeadlessProcessSessionTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.runtime.HeadlessProcessSessionTest.xml new file mode 100644 index 00000000..ab2d723b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/app/TEST-p.studio.app.runtime.HeadlessProcessSessionTest.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/installedKnowledge/TEST-p.studio.app.compiler.InstalledKnowledgeTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/installedKnowledge/TEST-p.studio.app.compiler.InstalledKnowledgeTest.xml new file mode 100644 index 00000000..89dbb118 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/installedKnowledge/TEST-p.studio.app.compiler.InstalledKnowledgeTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.ExternalSourceDevelopmentHostTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.ExternalSourceDevelopmentHostTest.xml new file mode 100644 index 00000000..e5701313 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.ExternalSourceDevelopmentHostTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.LspServerLifecycleTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.LspServerLifecycleTest.xml new file mode 100644 index 00000000..9ab32d04 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.LspServerLifecycleTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.compiler.CompilerLanguageServiceBridgeTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.compiler.CompilerLanguageServiceBridgeTest.xml new file mode 100644 index 00000000..27eb62a2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.compiler.CompilerLanguageServiceBridgeTest.xml @@ -0,0 +1,304 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.compiler.ExternalSourceRegistryTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.compiler.ExternalSourceRegistryTest.xml new file mode 100644 index 00000000..08bf3960 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.compiler.ExternalSourceRegistryTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.DiagnosticAnalysisProtocolTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.DiagnosticAnalysisProtocolTest.xml new file mode 100644 index 00000000..ce981690 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.DiagnosticAnalysisProtocolTest.xml @@ -0,0 +1,11 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.ExternalWriteBoundaryTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.ExternalWriteBoundaryTest.xml new file mode 100644 index 00000000..d8ab134d --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.ExternalWriteBoundaryTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuLanguageServerTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuLanguageServerTest.xml new file mode 100644 index 00000000..8194752e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuLanguageServerTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuTextDocumentServiceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuTextDocumentServiceTest.xml new file mode 100644 index 00000000..ddc31b1b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuTextDocumentServiceTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuWorkspaceServiceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuWorkspaceServiceTest.xml new file mode 100644 index 00000000..59a56cd3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.PrometeuWorkspaceServiceTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.mapping.Lsp4jProtocolMessageMapperTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.mapping.Lsp4jProtocolMessageMapperTest.xml new file mode 100644 index 00000000..50c620c0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/lsp/TEST-p.studio.lsp.services.protocol.mapping.Lsp4jProtocolMessageMapperTest.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendDocumentLinkTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendDocumentLinkTest.xml new file mode 100644 index 00000000..6069a1d4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendDocumentLinkTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendModuleCompletionTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendModuleCompletionTest.xml new file mode 100644 index 00000000..a03b1a35 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendModuleCompletionTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendProviderTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendProviderTest.xml new file mode 100644 index 00000000..878e232b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.PBSFrontendProviderTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.GenericDiagnosticContextTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.GenericDiagnosticContextTest.xml new file mode 100644 index 00000000..e914d7b3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.GenericDiagnosticContextTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsCallHierarchyTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsCallHierarchyTest.xml new file mode 100644 index 00000000..a863bcbc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsCallHierarchyTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDiagnosticsContractTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDiagnosticsContractTest.xml new file mode 100644 index 00000000..29e5fdc3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDiagnosticsContractTest.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentFormatterTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentFormatterTest.xml new file mode 100644 index 00000000..85e8931b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentFormatterTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentationTextBlockNormalizerTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentationTextBlockNormalizerTest.xml new file mode 100644 index 00000000..6d511084 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsDocumentationTextBlockNormalizerTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsFrontendCompilerTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsFrontendCompilerTest.xml new file mode 100644 index 00000000..a4870423 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsFrontendCompilerTest.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUSdkInterfaceConformanceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUSdkInterfaceConformanceTest.xml new file mode 100644 index 00000000..ca760ab4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUSdkInterfaceConformanceTest.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUStdlibCompileTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUStdlibCompileTest.xml new file mode 100644 index 00000000..7eb04055 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGateUStdlibCompileTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericContractsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericContractsTest.xml new file mode 100644 index 00000000..538d71c9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericContractsTest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericStructsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericStructsTest.xml new file mode 100644 index 00000000..7e6e7d97 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGenericStructsTest.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGoldenArtifactsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGoldenArtifactsTest.xml new file mode 100644 index 00000000..e502cdb0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsGoldenArtifactsTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsMapKeyvalTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsMapKeyvalTest.xml new file mode 100644 index 00000000..7146fc23 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsMapKeyvalTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticPresentationContractTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticPresentationContractTest.xml new file mode 100644 index 00000000..60d3ac81 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticPresentationContractTest.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticTokenOverlayTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticTokenOverlayTest.xml new file mode 100644 index 00000000..bf84ae3c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsSemanticTokenOverlayTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsStackQueueTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsStackQueueTest.xml new file mode 100644 index 00000000..a9329595 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsStackQueueTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsStructureRangesTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsStructureRangesTest.xml new file mode 100644 index 00000000..4cb73250 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.PbsStructureRangesTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.documentation.PbsDocumentationTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.documentation.PbsDocumentationTest.xml new file mode 100644 index 00000000..b0ecfcea --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.documentation.PbsDocumentationTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.lexer.PbsLexerTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.lexer.PbsLexerTest.xml new file mode 100644 index 00000000..b3cb60fd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.lexer.PbsLexerTest.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.linking.PbsModuleVisibilityTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.linking.PbsModuleVisibilityTest.xml new file mode 100644 index 00000000..2bed50aa --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.linking.PbsModuleVisibilityTest.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.lowering.PbsNominalOwnerRegressionTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.lowering.PbsNominalOwnerRegressionTest.xml new file mode 100644 index 00000000..22228955 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.lowering.PbsNominalOwnerRegressionTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsBarrelParserTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsBarrelParserTest.xml new file mode 100644 index 00000000..3bd08c13 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsBarrelParserTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsExprParserTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsExprParserTest.xml new file mode 100644 index 00000000..85836681 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsExprParserTest.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserStatementsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserStatementsTest.xml new file mode 100644 index 00000000..db0d4b89 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserStatementsTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserTest.xml new file mode 100644 index 00000000..2041b9bb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.parser.PbsParserTest.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsEditorialSupportServiceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsEditorialSupportServiceTest.xml new file mode 100644 index 00000000..9703d3cb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsEditorialSupportServiceTest.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericContractsEditorialTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericContractsEditorialTest.xml new file mode 100644 index 00000000..3e47ff95 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericContractsEditorialTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericStructsEditorialTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericStructsEditorialTest.xml new file mode 100644 index 00000000..f8ff4c71 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGenericStructsEditorialTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGlobalSemanticsValidatorTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGlobalSemanticsValidatorTest.xml new file mode 100644 index 00000000..041ee11b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsGlobalSemanticsValidatorTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsIgnoredValueSemanticsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsIgnoredValueSemanticsTest.xml new file mode 100644 index 00000000..6b024f07 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsIgnoredValueSemanticsTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsInterfaceModuleSemanticsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsInterfaceModuleSemanticsTest.xml new file mode 100644 index 00000000..4bb534d4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsInterfaceModuleSemanticsTest.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsListCursorEditorialTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsListCursorEditorialTest.xml new file mode 100644 index 00000000..57e5c231 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsListCursorEditorialTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsMapKeyvalEditorialTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsMapKeyvalEditorialTest.xml new file mode 100644 index 00000000..880373b0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsMapKeyvalEditorialTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsQuickFixCollectorTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsQuickFixCollectorTest.xml new file mode 100644 index 00000000..8b0562fa --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsQuickFixCollectorTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsApplyResolutionTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsApplyResolutionTest.xml new file mode 100644 index 00000000..71e06e62 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsApplyResolutionTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsAssignmentTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsAssignmentTest.xml new file mode 100644 index 00000000..ceafe019 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsAssignmentTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsConstTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsConstTest.xml new file mode 100644 index 00000000..46a2360a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsConstTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsControlFlowTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsControlFlowTest.xml new file mode 100644 index 00000000..87ac0220 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsControlFlowTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsDeclarationsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsDeclarationsTest.xml new file mode 100644 index 00000000..e5bb4dbf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsDeclarationsTest.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsFallthroughTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsFallthroughTest.xml new file mode 100644 index 00000000..988631e5 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsFallthroughTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsOptionalResultTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsOptionalResultTest.xml new file mode 100644 index 00000000..9113b09f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsOptionalResultTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsResultFlowRulesTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsResultFlowRulesTest.xml new file mode 100644 index 00000000..a09fd9ad --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsSemanticsResultFlowRulesTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsStackQueueEditorialTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsStackQueueEditorialTest.xml new file mode 100644 index 00000000..e480e0cb --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.semantics.PbsStackQueueEditorialTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.stdlib.InterfaceModuleLoaderTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.stdlib.InterfaceModuleLoaderTest.xml new file mode 100644 index 00000000..291370f3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.pbs.stdlib.InterfaceModuleLoaderTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PBSFrontendPhaseServiceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PBSFrontendPhaseServiceTest.xml new file mode 100644 index 00000000..67e9621f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PBSFrontendPhaseServiceTest.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PbsGuestLifecycleSemanticsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PbsGuestLifecycleSemanticsTest.xml new file mode 100644 index 00000000..8460ea14 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PbsGuestLifecycleSemanticsTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PbsProductionLoweringRegressionTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PbsProductionLoweringRegressionTest.xml new file mode 100644 index 00000000..4e558496 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pbs/TEST-p.studio.compiler.services.PbsProductionLoweringRegressionTest.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.GoldenArtifactsTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.GoldenArtifactsTest.xml new file mode 100644 index 00000000..ddae4408 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.GoldenArtifactsTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeEmitterTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeEmitterTest.xml new file mode 100644 index 00000000..7cd3d1be --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeEmitterTest.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeFunctionLayoutBuilderTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeFunctionLayoutBuilderTest.xml new file mode 100644 index 00000000..1c9a31b4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeFunctionLayoutBuilderTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeLinkPrecheckServiceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeLinkPrecheckServiceTest.xml new file mode 100644 index 00000000..673d5dc9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeLinkPrecheckServiceTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeModuleTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeModuleTest.xml new file mode 100644 index 00000000..948f38d2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodeModuleTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml new file mode 100644 index 00000000..593aa3dc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml new file mode 100644 index 00000000..76abf7b5 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMInstructionTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMInstructionTest.xml new file mode 100644 index 00000000..5ad78048 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMInstructionTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicProfileTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicProfileTest.xml new file mode 100644 index 00000000..ba5f48bc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicProfileTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicRegistryParityTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicRegistryParityTest.xml new file mode 100644 index 00000000..8ed4e1c9 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMIntrinsicRegistryParityTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMProgramTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMProgramTest.xml new file mode 100644 index 00000000..bdc618e6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMProgramTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMValidatorTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMValidatorTest.xml new file mode 100644 index 00000000..456a69e4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.IRVMValidatorTest.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.LowerToIRVMServiceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.LowerToIRVMServiceTest.xml new file mode 100644 index 00000000..5d8f8da6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.LowerToIRVMServiceTest.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMEquivalenceHarnessTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMEquivalenceHarnessTest.xml new file mode 100644 index 00000000..b57114ff --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMEquivalenceHarnessTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMServiceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMServiceTest.xml new file mode 100644 index 00000000..2a7934b4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.OptimizeIRVMServiceTest.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.RuntimeCatalogPipelineTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.RuntimeCatalogPipelineTest.xml new file mode 100644 index 00000000..0539658f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.irvm.RuntimeCatalogPipelineTest.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.ArrayCopyPipelineTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.ArrayCopyPipelineTest.xml new file mode 100644 index 00000000..e75e5868 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.ArrayCopyPipelineTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.IdentityHashingPipelineTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.IdentityHashingPipelineTest.xml new file mode 100644 index 00000000..c5b2f17f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.IdentityHashingPipelineTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.LinkedRegistryTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.LinkedRegistryTest.xml new file mode 100644 index 00000000..ac108af0 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.LinkedRegistryTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.PbxRegistryConformanceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.PbxRegistryConformanceTest.xml new file mode 100644 index 00000000..15847372 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.PbxRegistryConformanceTest.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.StoragePublicationPipelineTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.StoragePublicationPipelineTest.xml new file mode 100644 index 00000000..0f1a31bc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.StoragePublicationPipelineTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.TypedCommonPipelineTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.TypedCommonPipelineTest.xml new file mode 100644 index 00000000..05c809dd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.backend.registry.TypedCommonPipelineTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.BackendGateIIntegrationTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.BackendGateIIntegrationTest.xml new file mode 100644 index 00000000..83e287fc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.BackendGateIIntegrationTest.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.MainProjectPipelineIntegrationTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.MainProjectPipelineIntegrationTest.xml new file mode 100644 index 00000000..62d378cd --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.MainProjectPipelineIntegrationTest.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml new file mode 100644 index 00000000..dab67e1c --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.RuntimeBackedCompatibilityAdapterTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.RuntimeBackedCompatibilityAdapterTest.xml new file mode 100644 index 00000000..43d3628f --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.RuntimeBackedCompatibilityAdapterTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml new file mode 100644 index 00000000..aec89593 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.lifecycle.LifecycleAssemblerServiceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.lifecycle.LifecycleAssemblerServiceTest.xml new file mode 100644 index 00000000..828661cc --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.lifecycle.LifecycleAssemblerServiceTest.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.BackendClaimScopeSpecTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.BackendClaimScopeSpecTest.xml new file mode 100644 index 00000000..9dd9e410 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.BackendClaimScopeSpecTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.BackendConformanceMatrixSpecTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.BackendConformanceMatrixSpecTest.xml new file mode 100644 index 00000000..99529bf2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.BackendConformanceMatrixSpecTest.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.ConsoleAbiAuthoritySpecTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.ConsoleAbiAuthoritySpecTest.xml new file mode 100644 index 00000000..42ea9470 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.ConsoleAbiAuthoritySpecTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.FrontendProviderBoundaryTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.FrontendProviderBoundaryTest.xml new file mode 100644 index 00000000..400fea05 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.FrontendProviderBoundaryTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.NoModuleKeyRegressionSpecTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.NoModuleKeyRegressionSpecTest.xml new file mode 100644 index 00000000..78cb6873 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.NoModuleKeyRegressionSpecTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.ValidationOwnershipSpecTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.ValidationOwnershipSpecTest.xml new file mode 100644 index 00000000..803eb07a --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.specs.ValidationOwnershipSpecTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.AssetSurfaceContextLoaderTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.AssetSurfaceContextLoaderTest.xml new file mode 100644 index 00000000..fd8f20db --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.AssetSurfaceContextLoaderTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelinePublicSurfaceTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelinePublicSurfaceTest.xml new file mode 100644 index 00000000..017545c4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelinePublicSurfaceTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelineServiceOrderTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelineServiceOrderTest.xml new file mode 100644 index 00000000..083da1b2 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.BuilderPipelineServiceOrderTest.xml @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml new file mode 100644 index 00000000..4d3a50fe --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.AssembleLifecyclePipelineStageTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.AssembleLifecyclePipelineStageTest.xml new file mode 100644 index 00000000..3faa188e --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.AssembleLifecyclePipelineStageTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.BackendSafetyGateSUTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.BackendSafetyGateSUTest.xml new file mode 100644 index 00000000..e8b220a4 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.BackendSafetyGateSUTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.EmitBytecodePipelineStageTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.EmitBytecodePipelineStageTest.xml new file mode 100644 index 00000000..21aa6169 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.EmitBytecodePipelineStageTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml new file mode 100644 index 00000000..b012ab14 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LinkBytecodePipelineStageTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LinkBytecodePipelineStageTest.xml new file mode 100644 index 00000000..38b9ddaf --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LinkBytecodePipelineStageTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml new file mode 100644 index 00000000..3581e70b --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.OptimizeIRVMPipelineStageTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.OptimizeIRVMPipelineStageTest.xml new file mode 100644 index 00000000..877ea272 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.OptimizeIRVMPipelineStageTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.SourceCrawlerTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.SourceCrawlerTest.xml new file mode 100644 index 00000000..13c8c0a3 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.SourceCrawlerTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml new file mode 100644 index 00000000..6b7647d1 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml new file mode 100644 index 00000000..327376a6 --- /dev/null +++ b/discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/tests/pipeline/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/LSN-0104-faithful-compiler-attribution-and-structured-failures.md b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/LSN-0104-faithful-compiler-attribution-and-structured-failures.md new file mode 100644 index 00000000..a01d81f1 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/LSN-0104-faithful-compiler-attribution-and-structured-failures.md @@ -0,0 +1,223 @@ +--- +id: LSN-0104 +ticket: compiler-verifier-source-diagnostics +title: Faithful Compiler Attribution and Structured Failures +created: 2026-11-09 +tags: [compiler, backend, diagnostics, testing] +--- + +## Original Problem and Scope + +**Owner:** `compiler`, common verification diagnostics and public pipeline failure. +**Discussion:** DSC-0112, originating in AGD-0114 under umbrella DSC-0104/AGD-0106. +The user accepted DEC-0089 and authorized PLN-0167 followed by implementation. +This lesson preserves the completed local compiler result after workflow cleanup. + +IRVM validation knew the function and instruction PC, while the emission plan +already carried source spans. The validation exception dropped that association. +Lowering could fail before assigning `ctx.irvm`, and an optimizer failure could +refer to a program whose offsets differed from the input program. Looking up +source later in the stage could therefore use no program or the wrong program. + +Separately, analysis errors could still produce a final pipeline success log. +Public compile/build rejection exposed only a message-only BuildException even +when analysis had structured diagnostics. An AI consumer had to recover context +from logs or infer a location from a function index and PC. + +## Consolidated Decision + +Capture diagnostic attribution while the exact checked program is available and +carry it through the existing models and facade. Preserve verifier rules, codes, +PBX serialization, source language semantics and legacy constructors/getters. +The normative contract is now in [Compiler 15 §7.1](../../../docs/specs/compiler/15.%20Bytecode%20and%20PBX%20Mapping%20Specification.md) +and [Compiler 19 §§12–13](../../../docs/specs/compiler/19.%20Verification%20and%20Safety%20Checks%20Specification.md). + +The implementation separates four questions that consumers must not collapse: + +1. **Where was the problem detected?** Function-relative IRVM byte offset and the + source span mapped to that instruction, when known. +2. **What produced the instruction?** Known source, explicitly generated code or + unknown provenance. A missing span does not establish generated provenance. +3. **What precision does the source provide?** Instruction location, enclosing + function context or no usable location. Generated anchors are contextual. +4. **What failed?** Program rejection, an internal compiler invariant, a known + verification budget, observed infrastructure failure or an unclassified failure. + +Detection does not establish cause. A RET identifies where the return-stack +mismatch was detected; a join identifies the destination where incoming heights +conflicted. A current pass identifies the validation context, not proof that the +pass introduced the defect. + +## Final Implementation + +### Shared diagnostic values + +Compiler-core provides `SourceAttribution`, `VerificationContext`, +`DiagnosticContext`, `FailureKind` and `SourceReference`. The models are immutable +and independent of Studio/MCP/LSP DTOs. Structured parameters are copied +recursively and contain scalar/list/map data, not Throwable objects. + +`BuildingIssue` retains its legacy fields and adds shared context, a precise source +Span, related spans and template/placeholders. Its conversions to/from Diagnostic +preserve those fields. `Diagnostic.getReportedPhase()` preserves a technical phase +even if the semantic DiagnosticPhase enum classifies it as unknown. A long source +interval is retained separately from the legacy integer projection. + +`RelatedSpan` retains its old constructor and now records its contextual role and +known relationship. An enclosing function can be related context while the primary +instruction source is explicitly absent. + +### Attribution follows the checked program + +BytecodeEmitter operation/function plans retain attribution metadata alongside the +existing source hooks. Lowering records original instruction spans, known synthetic +function provenance and module/function context. It does not promote the legacy +bytecode span fallback to a proven instruction location when the original span is +missing. Jump patching and optimizer rewrites retain the same attribution. + +IRVMValidator enriches its exception at the function boundary using exact instruction +boundaries calculated by `encodedSize()`. Lowering attaches `lowering-output` before +return; optimization attaches `optimization-input` or `optimization-pass-output` +and the pass name. The stages receive the enriched failure without consulting an +unassigned or stale pipeline program. + +The verification coordinates are `pcSpace=irvm-function`, `pcUnit=byte`, measured +from zero inside that checked function. These are distinct from PBX offsets and +executed runtime PCs. A module/program without an emission plan retains its +original error and coordinates with `absenceReason=no-emission-plan`. + +RET errors expose `expectedHeight`/`actualHeight`; join errors expose +`existingHeight`/`incomingHeight`. No number extraction from the message is required. + +### Public facade failures retain useful data + +The facade still exposes analyze/compile/build and rejects compilation/build +through BuildException. The exception now provides: + +```java +try { + var compiled = BuilderPipelineService.INSTANCE.compile(context, logs); +} catch (BuildException failure) { + if (failure.hasDiagnosticPayload()) { + var issues = failure.getDiagnostics(); + var stage = failure.getFailedStage(); + var files = failure.getSourceReferences(); + // Resolve each compilation-local FileId using this failure's own map. + } +} +``` + +Legacy exceptions report `hasDiagnosticPayload()==false`. They are not evidence of +a valid empty analysis. A completed analysis may contain program errors; compile/build +preserve those issues when rejecting. Fail-fast also preserves earlier warnings. +Technical exceptions fail the operation rather than returning an empty analysis. + +Failure source references copy the known project/path identities into an immutable +map before leaving the context. Two compilations can both use FileId 0 without +sharing source identity. Snapshotting does not read live source or invent a content +revision from timestamps. Successful results keep their analysis snapshot/file table. + +Frontend projection now retains the original diagnostic message, phase, related +spans, templates and parameters. Frontend success is logged only after projection +confirms no errors. Pipeline groups log success only when that group passed; progress +from an earlier successful dependency stage does not imply final build approval. + +Existing preload work/scratch guard refusals carry `verification-limit` and +`resource`/`actual`/`limit` data, preserving their rejection code and budgets. +Artifact-write IOException carries `infrastructure-failure` and `outputPath`. +Neither classification depends on message parsing. Compiler-produced invalid IR +is `internal-failure` even when it has a source anchor. + +## Examples and Evidence + +A controlled RET in the retained [observations](evidence/results/observations.json) +has a source span at offset zero and explicit internal failure, rather than blaming +the user's source merely because a location exists. A controlled optimizer pass +moves RET from PC 6 to PC 0; the failure reports the output PC and surviving source +anchor with `optimization-pass-output` and the actual pass name. + +The same report preserves these origin distinctions: + +| Case | Origin | Source availability | +| --- | --- | --- | +| Source RET | `source`, instruction, detection | Real FileId/span. | +| Generated anchor | `generated`, instruction, context | Real anchor without a causal claim. | +| Generated without anchor | `generated`, none | `generated-without-anchor`. | +| Unknown origin | `unknown`, none | `no-source-span`; function context remains related. | +| No emission plan | `unknown`, none | `no-emission-plan`, with known function/PC retained. | + +The original PBS `F1-direct` source still rejects with +`E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE`, now accompanied by structured source identity +and `program-rejection`. `F1-local` still compiles through the public facade. +This qualifies the diagnostic path; it is not the PBS product correction. + +The [evidence runner](evidence/run.py) and [Java probe](evidence/CompilerDiagnosticProbe.java) +produce nine structured observations using checkout classes and identified +distribution dependency JARs. [Provenance](evidence/results/provenance.json) records +class/source/JAR hashes, classpath order, worktree state and the frozen corpus hash. +The [qualification report](evidence/qualification.json) maps the full local acceptance +coverage to tests and retains the required regression outcome. + +## Validation and Limits + +The required Gradle regression passed across compiler-core, build-pipeline, PBS, +LSP, app and installed knowledge: **704 tests recorded, 691 passed, 13 skipped, +zero failures/errors**. Existing skipped integration tests are not presented as +runtime proof. The exact command and per-suite counts are retained with the evidence. + +Focused tests cover known-source RET/join, generated and unknown origins, function +context, no-plan validation, pre-return lowering failure, shifted pass output, +projection fidelity, true analysis/fail-fast results, independent reused FileIds, +a synthetic frontend without PBS sources, the original PBS fixtures, backend phase +round-trip, verifier limits and I/O classification. Existing valid/determinism/ +optimizer controls also passed. See the [conformance matrix](../../../docs/specs/compiler/22.%20Backend%20Spec-to-Test%20Conformance%20Matrix.md). + +Consumer regression uncovered an existing workspace-symbol test that expected `Bla` +in the shared sample project after the sample had stopped declaring that type. The +test now writes its own temporary physical project and retains its original symbol +assertions. No LSP production behavior was changed for that fixture repair. + +The AGD-0113 corpus hash remains +`0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87`. +Its earlier evidence was not overwritten. Historical Zelda BAD_RET and Scene reports +remain non-reproduced; controlled failures do not claim to fix them. No runtime +repository writes/commits or live Studio/MCP/LSP qualification occurred in this work. +The app's installed-knowledge test passed, but the probe is checkout qualification. + +## Pitfalls + +- Looking up source after lowering throws can find no assigned program. Capture it + before control leaves the verifier. +- Looking up an optimized failure in the input program can produce a plausible, + incorrect line. Preserve instruction/operation metadata through each rewrite. +- Span absence does not prove code generation. Explicit generation and contextual + anchors are separate from location precision. +- A related function span cannot replace an absent primary instruction span. +- The semantic phase enum cannot represent every backend stage. Preserve the + reported phase and technical context during conversion. +- FileIds are local. Retain this compilation's identity map rather than resolving + them in whichever file table the consumer currently holds. +- Logs describe progress. An earlier dependency success is compatible with a later + failed analysis; the final operation outcome comes from the structured result. +- Tests of physical workspace symbols should own their fixture declarations rather + than depend on a changing demonstration game. + +## Studio Handoff and Remaining Work + +[LSN-0105](../DSC-0113-studio-ai-first-build-language-results/LSN-0105-explained-diagnostics-from-producers-to-studio.md) +owns the Studio-neutral projection, operation/document/build version correlation, +LSP query failure/cancellation/cleanup, public automation/MCP schemas and FE projection. +The Studio implementation and integrated proof were completed on 2026-11-10 and are consolidated there. The user accepted that integrated first-delivery evidence later that day, releasing the PBS implementation gate. +It must preserve the common compiler data and use stable FailureKind IDs, retaining +the distinction between program diagnostics and failed operations. Shipper stays +internal; no direct public Shipper endpoint/workspace is required. + +The local compiler result completes DSC-0112; integrated acceptance also required the Studio evidence. After the user accepted both deliveries on 2026-11-10, DEC-0088/PLN-0166 corrected all eight PBS failures. The completed result and immutable before/after evidence are consolidated in [LSN-0106](../DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md). The [umbrella](../../workflow/agendas/AGD-0106-compiler-production-reliability-and-source-diagnostics.md) coordinates closure of the combined result. This subsequent work does not alter the historical diagnostic evidence recorded here. + +## Code References + +- [Shared diagnostic context](../../../prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java). +- [Source attribution](../../../prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java). +- [Public failure payload](../../../prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java). +- [Validator capture](../../../prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java). +- [Facade and truthful termination](../../../prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java). diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/CompilerDiagnosticProbe.java b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/CompilerDiagnosticProbe.java new file mode 100644 index 00000000..a8c243e1 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/CompilerDiagnosticProbe.java @@ -0,0 +1,124 @@ +package p.studio.compiler.backend.irvm; + +import com.fasterxml.jackson.databind.ObjectMapper; +import p.studio.compiler.backend.bytecode.BytecodeEmitter; +import p.studio.compiler.backend.bytecode.BytecodeEmitter.Operation; +import p.studio.compiler.exceptions.BuildException; +import p.studio.compiler.messages.BuildingIssue; +import p.studio.compiler.messages.BuilderPipelineConfig; +import p.studio.compiler.models.BuilderPipelineContext; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.identifiers.FileId; +import p.studio.compiler.source.diagnostics.*; +import p.studio.compiler.workspaces.BuilderPipelineService; +import p.studio.utilities.logs.LogAggregator; +import p.studio.utilities.structures.ReadOnlyList; + +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.*; + +/** Local qualification probe. Controlled IR failures are not historical reproductions. */ +public final class CompilerDiagnosticProbe { + static final ObjectMapper JSON = new ObjectMapper(); + static final Span SOURCE = new Span(new FileId(7), 0, 9); + + public static void main(String[] args) throws Exception { + var rows = new ArrayList>(); + var source = program(1, List.of(Operation.ret().withAttribution(SourceAttribution.source(SOURCE)))); + rows.add(check("ret-source", source)); + rows.add(check("join-source", program(0, List.of(Operation.pushI32(1, null), Operation.jmpIfTrue(18, null), + Operation.pushI32(2, null), Operation.ret().withAttribution(SourceAttribution.source(SOURCE)))))); + rows.add(check("generated-anchor", program(1, List.of(Operation.ret().withAttribution(SourceAttribution.generated(SOURCE)))))); + rows.add(check("generated-no-anchor", program(1, List.of(Operation.ret().withAttribution(SourceAttribution.generated(null)))))); + rows.add(check("unknown-origin", program(1, List.of(Operation.ret())))); + rows.add(check("no-plan", new IRVMProgram(source.module()))); + var input = program(0, List.of(Operation.jmp(6, null), Operation.ret().withAttribution(SourceAttribution.source(SOURCE)))); + var corrupt = new OptimizeIRVMService.IRVMPass() { + public String name() { return "ControlledRetMismatch"; } + public IRVMProgram apply(IRVMProgram checked) { + return program(1, checked.emissionPlan().functions().getFirst().operations().asCollection().stream().toList()); + } + }; + try { + new OptimizeIRVMService(new IRVMValidator(), List.of(OptimizeIRVMService.simplifyJumpToNextPcPass(), corrupt)).optimize(input); + throw new AssertionError("controlled pass must fail"); + } catch (IRVMValidationException failure) { + rows.add(row("shifted-pass-output", failure)); + } + var corpus = JSON.readTree(Path.of(args[0]).toFile()).get("cases"); + var scratch = Path.of(args[1]); + for (var id : List.of("F1-direct", "F1-local")) { + var fixture = java.util.stream.StreamSupport.stream(corpus.spliterator(), false) + .filter(item -> item.get("id").asText().equals(id)).findFirst().orElseThrow(); + var root = scratch.resolve(id); + var fields = fixture.get("files").fields(); + while (fields.hasNext()) { + var field = fields.next(); + var file = root.resolve(field.getKey()); Files.createDirectories(file.getParent()); + Files.writeString(file, field.getValue().asText()); + } + var logs = new ArrayList(); + var context = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, root.toString())); + var row = new LinkedHashMap(); row.put("case", id); + try { + var result = BuilderPipelineService.INSTANCE.compile(context, LogAggregator.with(logs::add)); + row.put("observed", "compiled"); row.put("bytecodeBytes", result.bytecodeBytes().length); + row.put("diagnostics", result.diagnostics().stream().map(CompilerDiagnosticProbe::issue).toList()); + } catch (BuildException failure) { + row.put("observed", "program-rejection"); row.put("hasDiagnosticPayload", failure.hasDiagnosticPayload()); + row.put("failedStage", failure.getFailedStage()); + row.put("diagnostics", failure.getDiagnostics().stream().map(CompilerDiagnosticProbe::issue).toList()); + row.put("sources", failure.getSourceReferences()); + } + row.put("logs", logs); rows.add(row); + } + var report = new LinkedHashMap(); report.put("schemaVersion", 1); + report.put("qualification", "checkout compiler; controlled failures and unchanged PBS fixtures; no runtime execution"); + report.put("origins", Map.of("pipeline", origin(BuilderPipelineService.class), "core", origin(BuildException.class), + "validator", origin(IRVMValidator.class))); + report.put("cases", rows); + JSON.writerWithDefaultPrettyPrinter().writeValue(Path.of(args[2]).toFile(), report); + } + + static Map check(String id, IRVMProgram program) { + try { new IRVMValidator().validate(program, false); throw new AssertionError("expected controlled failure " + id); } + catch (IRVMValidationException failure) { return row(id, failure); } + } + + static Map row(String id, IRVMValidationException failure) { + var result = new LinkedHashMap(); result.put("case", id); result.put("observed", "internal-failure"); + result.put("diagnostic", issue(failure.toIssue(failure.context().stageId() == null + ? "probe-validator" : failure.context().stageId(), failure.getMessage()))); return result; + } + + static Map issue(BuildingIssue issue) { + var result = new LinkedHashMap(); var context = issue.getContext(); + result.put("code", issue.getCode()); result.put("error", issue.isError()); result.put("phase", issue.getPhase()); + result.put("message", issue.getMessage()); result.put("stageId", context.stageId()); + result.put("failureKind", context.failureKind().id()); result.put("verification", context.verification()); + result.put("parameters", context.parameters()); + var attribution = context.attribution(); var origin = new LinkedHashMap(); + origin.put("originKind", attribution.originKind()); origin.put("locationKind", attribution.locationKind()); + origin.put("role", attribution.role()); origin.put("absenceReason", attribution.absenceReason()); + origin.put("span", span(attribution.span())); result.put("attribution", origin); + result.put("sourceSpan", span(issue.getSourceSpan())); + result.put("fileId", issue.getFileId()); result.put("start", issue.getStart()); result.put("end", issue.getEnd()); + result.put("related", issue.getRelated().stream().map(related -> Map.of("relation", related.getRelation(), + "role", related.getRole(), "span", span(related.getSpan()))).toList()); + return result; + } + + static Object span(Span span) { + return span == null || span.isNone() ? null : Map.of("fileId", span.getFileId().getId(), "start", span.getStart(), "end", span.getEnd()); + } + + static IRVMProgram program(int results, List operations) { + var fn = new BytecodeEmitter.FunctionPlan("probe", 0, 0, results, 2, ReadOnlyList.wrap(operations), + results == 0 ? p.studio.compiler.models.registry.IRRegistry.FunctionMetadata.empty() : null, + "fixture:main", SourceAttribution.function(SOURCE)); + return new IRVMProgram(false, new BytecodeEmitter.EmissionPlan(0, ReadOnlyList.empty(), ReadOnlyList.empty(), ReadOnlyList.from(fn))); + } + + static String origin(Class type) { return type.getProtectionDomain().getCodeSource().getLocation().toString(); } +} diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/SHA256SUMS b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/SHA256SUMS new file mode 100644 index 00000000..91c1a2f2 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/SHA256SUMS @@ -0,0 +1,16 @@ +3ed90aa4f2714140539a9098678e1dc31ee54d33ba005bd198a126b2f3640202 CompilerDiagnosticProbe.java +1e2d93157f4954609b55ac26fba98d47d61fd9b70c42171c6bd54f42499b7565 qualification.json +330c784d946a4ffc910a53888155b625b99565a7b82eabaf83be3bb7bbb8fe79 regression.log +05cca615e2a30cd0aaa670ffe33c5d0ff0da66e203ad269e9b4ac14e5480c9ef results/observations.json +48f05490d7b65251ad372491fce49e7b01c6f2523ac81c5eeac8b36a1bb2297d results/provenance.json +4cf5e6c063e91704c6fb0993cd822eda573761bee7e08514442a14801533d661 run.py +1c3b4a7d3002798a3f16593f58268b3cf5d433c50f218366cbd21336309621b1 test-results/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml +a0aa4188c63a53a208630547e36157cda7a8365971464f3f47484b83e4f08d07 test-results/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml +9de48e2d194f4faa3b0b81a51763b659b148c37cf33e0d61287e0ab6133e62b9 test-results/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml +396703ecde9b340050d490e89baf7593fcfae0e454a5d9d4c0f156c777889baa test-results/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml +d1996490de9119a2fa6f61aff2f8d9c4c4e7b5da232d60b063ecd8dca6f45735 test-results/TEST-p.studio.compiler.source.diagnostics.StructuredDiagnosticTest.xml +8a69e2ffa4fb2c0b2e96675def8ececc1b631848bd5ff196027f1f97364b0b53 test-results/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml +91f9aeefa088674661f55f16d8e6202be9fa431b94192f78a3bd0f9ec12e9451 test-results/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml +ad6bc02abb37267138a2f2f768d936529a780311970fef0655f7160b17f7f78b test-results/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml +be216047245c940df5400b4b406641f21671845761f3ff1c14d681e24f653b89 test-results/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml +b5c185941dfd21b72a06bc1b59a8a391a25d13a3c07368227db25d4376d99764 test-results/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/qualification.json b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/qualification.json new file mode 100644 index 00000000..a5fcc0c6 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/qualification.json @@ -0,0 +1,381 @@ +{ + "schemaVersion": 1, + "discussion": "DSC-0112", + "decision": "DEC-0089", + "plan": "PLN-0167", + "status": "local-compiler-qualified", + "suites": [ + { + "module": "prometeu-compiler/prometeu-compiler-core", + "task": "test", + "tests": 26, + "failures": 0, + "errors": 0, + "skipped": 0 + }, + { + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test", + "tests": 222, + "failures": 0, + "errors": 0, + "skipped": 12 + }, + { + "module": "prometeu-compiler/frontends/prometeu-frontend-pbs", + "task": "test", + "tests": 315, + "failures": 0, + "errors": 0, + "skipped": 0 + }, + { + "module": "prometeu-lsp/prometeu-lsp-v1", + "task": "test", + "tests": 42, + "failures": 0, + "errors": 0, + "skipped": 1 + }, + { + "module": "prometeu-app", + "task": "test", + "tests": 97, + "failures": 0, + "errors": 0, + "skipped": 0 + }, + { + "module": "prometeu-app", + "task": "installedKnowledgeTest", + "tests": 2, + "failures": 0, + "errors": 0, + "skipped": 0 + } + ], + "totals": { + "tests": 704, + "failures": 0, + "errors": 0, + "skipped": 13, + "passed": 691 + }, + "coverage": [ + { + "case": "ret-source", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#retMustRetainOriginCoordinatesAndStructuredHeights", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "join-source", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#joinMustPointAtDestinationAndRetainConflictingHeights", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "generated-anchor", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#generatedAndMissingOriginsMustBeExplicit", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "generated-no-anchor", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#generatedAndMissingOriginsMustBeExplicit", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "unknown-origin", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#generatedAndMissingOriginsMustBeExplicit", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "no-plan", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#moduleOnlyValidationMustPreserveFailureWithoutInventingSource", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "lowering-before-return", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest#validationMustPreserveOriginBeforeIrvmIsAssigned", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "transformed-pc", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#optimizationInputMustHaveItsOwnValidationPoint", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + }, + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#failingPassMustUseShiftedOutputAndSurvivingOrigin", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + }, + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#jumpRemappingMustRetainGeneratedOriginAndFunctionContext", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "valid-controls", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.integration.PbsFacadeDiagnosticTest#materializedControlMustStillCompileThroughPublicFacade", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + }, + { + "test": "p.studio.compiler.integration.SyntheticFrontendPipelineTest#compileMustEmitVerifiedBytecodeWithoutPbs", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "projections", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.source.diagnostics.StructuredDiagnosticTest#projectionMustPreservePhaseParametersRelatedAndLongSpan", + "status": "passed", + "module": "prometeu-compiler/prometeu-compiler-core", + "task": "test" + }, + { + "test": "p.studio.compiler.source.diagnostics.StructuredDiagnosticTest#backendPhaseMustRoundTripWithoutInventingASemanticPhase", + "status": "passed", + "module": "prometeu-compiler/prometeu-compiler-core", + "task": "test" + }, + { + "test": "p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest#frontendProjectionMustRetainMessageRelatedAndParameters", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "facade-outcomes", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.workspaces.CompilerFailurePayloadTest#rejectedAnalysisMustReturnIssuesWithoutSuccessOrLaterStages", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + }, + { + "test": "p.studio.compiler.workspaces.CompilerFailurePayloadTest#failFastCompileAndBuildMustPreserveEarlierWarnings", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + }, + { + "test": "p.studio.compiler.workspaces.CompilerFailurePayloadTest#technicalFailureMustNotBecomeAnEmptyAnalysis", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "reused-file-ids", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.workspaces.CompilerFailurePayloadTest#compileMustPreserveAnalysisDiagnosticsAndIndependentSourceIdentities", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + }, + { + "test": "p.studio.compiler.source.diagnostics.StructuredDiagnosticTest#failuresMustKeepIndependentFileIdsAfterTablesAreCleared", + "status": "passed", + "module": "prometeu-compiler/prometeu-compiler-core", + "task": "test" + } + ] + }, + { + "case": "synthetic-frontend", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.integration.SyntheticFrontendPipelineTest#invalidCommonIrMustReachFacadeWithSourceWithoutPbs", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "pbs-sources", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.integration.PbsFacadeDiagnosticTest#realPbsRejectionMustKeepStructuredSourceAndNoFalseSuccess", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + }, + { + "test": "p.studio.compiler.integration.PbsFacadeDiagnosticTest#materializedControlMustStillCompileThroughPublicFacade", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "additional-function-context", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.backend.irvm.IRVMAttributionTest#functionContextMustNotReplaceMissingInstructionSpan", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + }, + { + "case": "additional-failure-kinds", + "configuration": "checkout regression", + "stage": "compiler core/pipeline and consuming adapters", + "expected": "all named payload assertions pass", + "observed": "passed", + "tests": [ + { + "test": "p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest#resourceGuardsMustKeepLimitCategoryAndValuesWithoutMessageParsing", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + }, + { + "test": "p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest#stageMustPreserveTypedVerificationLimit", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + }, + { + "test": "p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest#ioFailureMustBeInfrastructureWithStructuredOutputPath", + "status": "passed", + "module": "prometeu-compiler/prometeu-build-pipeline", + "task": "test" + } + ] + } + ], + "frozenCorpusSha256": "0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87", + "runtimeWrites": false, + "liveMcpQualification": false, + "pbsProductGateReleased": false, + "limitations": [ + "13 pre-existing skipped tests are not passes", + "historical Zelda BAD_RET/Scene remain non-reproduced", + "Studio/MCP propagation remains AGD-0115 work" + ] +} diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/regression.log b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/regression.log new file mode 100644 index 00000000..9f72e1d9 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/regression.log @@ -0,0 +1,114 @@ +Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target +> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED +> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE +> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE +> Task :buildSrc:compilePluginsBlocks UP-TO-DATE +> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE +> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE + +> Task :buildSrc:compileKotlin UP-TO-DATE +Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target + +> Task :buildSrc:compileJava NO-SOURCE +> Task :buildSrc:compileGroovy NO-SOURCE +> Task :buildSrc:pluginDescriptors UP-TO-DATE +> Task :buildSrc:processResources UP-TO-DATE +> Task :buildSrc:classes UP-TO-DATE +> Task :buildSrc:jar UP-TO-DATE +> Task :prometeu-infra:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:compileJava +> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-compiler-core:classes +> Task :prometeu-compiler:prometeu-compiler-core:jar +> Task :prometeu-infra:processResources NO-SOURCE +> Task :prometeu-infra:classes UP-TO-DATE +> Task :prometeu-infra:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:compileTestJava +> Task :prometeu-compiler:prometeu-compiler-core:processTestResources NO-SOURCE +> Task :prometeu-compiler:prometeu-compiler-core:testClasses +> Task :prometeu-compiler:prometeu-compiler-core:test +> Task :prometeu-animation:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:compileJava +> Task :prometeu-compiler:prometeu-compiler-core:jacocoTestReport +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava +> Task :prometeu-compiler:prometeu-frontend-registry:compileJava +> Task :prometeu-compiler:prometeu-deps:compileJava +> Task :prometeu-compiler:prometeu-build-pipeline:compileJava +> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:classes +> Task :prometeu-compiler:prometeu-build-pipeline:jar +> Task :prometeu-animation:processResources NO-SOURCE +> Task :prometeu-animation:classes UP-TO-DATE +> Task :prometeu-animation:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:compileTestJava +> Task :prometeu-compiler:prometeu-build-pipeline:processTestResources UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:testClasses +> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-deps:classes +> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-frontend-api:classes +> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-frontend-registry:classes +> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:test +> Task :prometeu-compiler:prometeu-build-pipeline:jacocoTestReport +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileTestJava +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processTestResources UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:testClasses +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:test +> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:compileJava +> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE +> Task :prometeu-lsp:prometeu-lsp-v1:classes +> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE +> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:compileTestJava +> Task :prometeu-lsp:prometeu-lsp-v1:processTestResources NO-SOURCE +> Task :prometeu-lsp:prometeu-lsp-v1:testClasses +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jacocoTestReport +> Task :prometeu-lsp:prometeu-lsp-v1:test +> Task :prometeu-studio-api:compileJava UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE +> Task :prometeu-studio-core:compileJava UP-TO-DATE +> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:jacocoTestReport +> Task :prometeu-app:compileJava +> Task :prometeu-app:processResources UP-TO-DATE +> Task :prometeu-app:classes +> Task :prometeu-app:jar UP-TO-DATE +> Task :prometeu-app:compileTestJava +> Task :prometeu-app:processTestResources UP-TO-DATE +> Task :prometeu-app:testClasses +> Task :prometeu-studio-api:processResources NO-SOURCE +> Task :prometeu-studio-api:classes UP-TO-DATE +> Task :prometeu-studio-api:jar UP-TO-DATE +> Task :prometeu-studio-core:processResources NO-SOURCE +> Task :prometeu-studio-core:classes UP-TO-DATE +> Task :prometeu-studio-core:jar UP-TO-DATE +> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE +> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE +> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE +> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE +> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE +> Task :prometeu-app:test +> Task :prometeu-app:assembleStudioRuntime UP-TO-DATE +> Task :prometeu-app:startScripts +> Task :prometeu-app:jacocoTestReport +> Task :prometeu-app:installDist +> Task :prometeu-app:installedKnowledgeTest + +BUILD SUCCESSFUL in 57s +68 actionable tasks: 28 executed, 40 up-to-date diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/results/observations.json b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/results/observations.json new file mode 100644 index 00000000..d532d196 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/results/observations.json @@ -0,0 +1,401 @@ +{ + "schemaVersion" : 1, + "qualification" : "checkout compiler; controlled failures and unchanged PBS fixtures; no runtime execution", + "origins" : { + "pipeline" : "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/", + "core" : "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-compiler-core/build/classes/java/main/", + "validator" : "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/" + }, + "cases" : [ { + "case" : "ret-source", + "observed" : "internal-failure", + "diagnostic" : { + "code" : "MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT", + "error" : true, + "phase" : "probe-validator", + "message" : "ret stack height mismatch. expected=1 actual=0", + "stageId" : "probe-validator", + "failureKind" : "internal-failure", + "verification" : { + "validationPoint" : null, + "passName" : null, + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "functionIndex" : 0, + "pc" : 0, + "functionName" : "probe", + "moduleName" : "fixture:main" + }, + "parameters" : { + "actualHeight" : 0, + "expectedHeight" : 1 + }, + "attribution" : { + "originKind" : "source", + "locationKind" : "instruction", + "role" : "detection", + "absenceReason" : null, + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + }, + "sourceSpan" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + }, + "fileId" : 7, + "start" : 0, + "end" : 9, + "related" : [ { + "role" : "context", + "relation" : "function", + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + } ] + } + }, { + "case" : "join-source", + "observed" : "internal-failure", + "diagnostic" : { + "code" : "MARSHAL_VERIFY_PRECHECK_STACK_MISMATCH_JOIN", + "error" : true, + "phase" : "probe-validator", + "message" : "stack height mismatch at join. existing=0 new=1", + "stageId" : "probe-validator", + "failureKind" : "internal-failure", + "verification" : { + "validationPoint" : null, + "passName" : null, + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "functionIndex" : 0, + "pc" : 18, + "functionName" : "probe", + "moduleName" : "fixture:main" + }, + "parameters" : { + "existingHeight" : 0, + "incomingHeight" : 1 + }, + "attribution" : { + "originKind" : "source", + "locationKind" : "instruction", + "role" : "detection", + "absenceReason" : null, + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + }, + "sourceSpan" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + }, + "fileId" : 7, + "start" : 0, + "end" : 9, + "related" : [ { + "role" : "context", + "relation" : "function", + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + } ] + } + }, { + "case" : "generated-anchor", + "observed" : "internal-failure", + "diagnostic" : { + "code" : "MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT", + "error" : true, + "phase" : "probe-validator", + "message" : "ret stack height mismatch. expected=1 actual=0", + "stageId" : "probe-validator", + "failureKind" : "internal-failure", + "verification" : { + "validationPoint" : null, + "passName" : null, + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "functionIndex" : 0, + "pc" : 0, + "functionName" : "probe", + "moduleName" : "fixture:main" + }, + "parameters" : { + "actualHeight" : 0, + "expectedHeight" : 1 + }, + "attribution" : { + "originKind" : "generated", + "locationKind" : "instruction", + "role" : "context", + "absenceReason" : null, + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + }, + "sourceSpan" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + }, + "fileId" : 7, + "start" : 0, + "end" : 9, + "related" : [ { + "role" : "context", + "relation" : "function", + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + } ] + } + }, { + "case" : "generated-no-anchor", + "observed" : "internal-failure", + "diagnostic" : { + "code" : "MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT", + "error" : true, + "phase" : "probe-validator", + "message" : "ret stack height mismatch. expected=1 actual=0", + "stageId" : "probe-validator", + "failureKind" : "internal-failure", + "verification" : { + "validationPoint" : null, + "passName" : null, + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "functionIndex" : 0, + "pc" : 0, + "functionName" : "probe", + "moduleName" : "fixture:main" + }, + "parameters" : { + "actualHeight" : 0, + "expectedHeight" : 1 + }, + "attribution" : { + "originKind" : "generated", + "locationKind" : "none", + "role" : "context", + "absenceReason" : "generated-without-anchor", + "span" : null + }, + "sourceSpan" : null, + "fileId" : null, + "start" : null, + "end" : null, + "related" : [ { + "role" : "context", + "relation" : "function", + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + } ] + } + }, { + "case" : "unknown-origin", + "observed" : "internal-failure", + "diagnostic" : { + "code" : "MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT", + "error" : true, + "phase" : "probe-validator", + "message" : "ret stack height mismatch. expected=1 actual=0", + "stageId" : "probe-validator", + "failureKind" : "internal-failure", + "verification" : { + "validationPoint" : null, + "passName" : null, + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "functionIndex" : 0, + "pc" : 0, + "functionName" : "probe", + "moduleName" : "fixture:main" + }, + "parameters" : { + "actualHeight" : 0, + "expectedHeight" : 1 + }, + "attribution" : { + "originKind" : "unknown", + "locationKind" : "none", + "role" : "detection", + "absenceReason" : "no-source-span", + "span" : null + }, + "sourceSpan" : null, + "fileId" : null, + "start" : null, + "end" : null, + "related" : [ { + "role" : "context", + "relation" : "function", + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + } ] + } + }, { + "case" : "no-plan", + "observed" : "internal-failure", + "diagnostic" : { + "code" : "MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT", + "error" : true, + "phase" : "probe-validator", + "message" : "ret stack height mismatch. expected=1 actual=0", + "stageId" : "probe-validator", + "failureKind" : "internal-failure", + "verification" : { + "validationPoint" : null, + "passName" : null, + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "functionIndex" : 0, + "pc" : 0, + "functionName" : "probe", + "moduleName" : null + }, + "parameters" : { + "actualHeight" : 0, + "expectedHeight" : 1 + }, + "attribution" : { + "originKind" : "unknown", + "locationKind" : "none", + "role" : "detection", + "absenceReason" : "no-emission-plan", + "span" : null + }, + "sourceSpan" : null, + "fileId" : null, + "start" : null, + "end" : null, + "related" : [ ] + } + }, { + "case" : "shifted-pass-output", + "observed" : "internal-failure", + "diagnostic" : { + "code" : "MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT", + "error" : true, + "phase" : "BACKEND_OPTIMIZE_IRVM", + "message" : "ret stack height mismatch. expected=1 actual=0", + "stageId" : "BACKEND_OPTIMIZE_IRVM", + "failureKind" : "internal-failure", + "verification" : { + "validationPoint" : "optimization-pass-output", + "passName" : "ControlledRetMismatch", + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "functionIndex" : 0, + "pc" : 0, + "functionName" : "probe", + "moduleName" : "fixture:main" + }, + "parameters" : { + "actualHeight" : 0, + "expectedHeight" : 1 + }, + "attribution" : { + "originKind" : "source", + "locationKind" : "instruction", + "role" : "detection", + "absenceReason" : null, + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + }, + "sourceSpan" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + }, + "fileId" : 7, + "start" : 0, + "end" : 9, + "related" : [ { + "role" : "context", + "relation" : "function", + "span" : { + "fileId" : 7, + "start" : 0, + "end" : 9 + } + } ] + } + }, { + "case" : "F1-direct", + "observed" : "program-rejection", + "hasDiagnosticPayload" : true, + "failedStage" : "FrontendPhasePipelineStage", + "diagnostics" : [ { + "code" : "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE", + "error" : true, + "phase" : "static-semantics", + "message" : "executable lowering requires resolvable callee identity", + "stageId" : "FrontendPhasePipelineStage", + "failureKind" : "program-rejection", + "verification" : null, + "parameters" : { }, + "attribution" : { + "originKind" : "unknown", + "locationKind" : "none", + "role" : "detection", + "absenceReason" : "unknown", + "span" : null + }, + "sourceSpan" : { + "fileId" : 0, + "start" : 129, + "end" : 141 + }, + "fileId" : 0, + "start" : 129, + "end" : 141, + "related" : [ ] + } ], + "sources" : { + "1" : { + "fileId" : 1, + "projectId" : 0, + "canonicalPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln167-diagnostics-jpfkdof_/projects/F1-direct/src/mod.barrel", + "relativePath" : "src/mod.barrel" + }, + "0" : { + "fileId" : 0, + "projectId" : 0, + "canonicalPath" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln167-diagnostics-jpfkdof_/projects/F1-direct/src/main.pbs", + "relativePath" : "src/main.pbs" + } + }, + "logs" : [ "[INFO] [DEPS]: dependency completed successfully \n", "[DEBUG] Project [ caseapp ] source loading... \n", "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln167-diagnostics-jpfkdof_/projects/F1-direct/src ] \n", "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n", "[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) executable lowering requires resolvable callee identity [file=0:129-141] \n" ] + }, { + "case" : "F1-local", + "observed" : "compiled", + "bytecodeBytes" : 1331, + "diagnostics" : [ ], + "logs" : [ "[INFO] [DEPS]: dependency completed successfully \n", "[DEBUG] Project [ caseapp ] source loading... \n", "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln167-diagnostics-jpfkdof_/projects/F1-local/src ] \n", "[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n", "[DEBUG] Frontend phase completed successfully! \n", "[DEBUG] Common lifecycle assembly completed successfully! \n", "[INFO] builder pipeline stage group completed successfully \n", "[INFO] builder pipeline stage group completed successfully \n" ] + } ] +} \ No newline at end of file diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/results/provenance.json b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/results/provenance.json new file mode 100644 index 00000000..8a667bcd --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/results/provenance.json @@ -0,0 +1,944 @@ +{ + "schemaVersion": 1, + "revision": "38f201a9c9e9e23e961da4fa715ed5ee80283e94", + "worktree": [ + " M \"docs/specs/compiler/15. Bytecode and PBX Mapping Specification.md\"", + " M \"docs/specs/compiler/19. Verification and Safety Checks Specification.md\"", + " M \"docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md\"", + " M \"docs/specs/studio/8. Project-Local Studio State Specification.md\"", + " M prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeEmitter.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationException.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/LowerToIRVMService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/OptimizeIRVMService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierServiceTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/SyntheticFrontendPipelineTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendPhaseService.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendProvider.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStageTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStageTest.java", + " M prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStageTest.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssue.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssueSink.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostic.java", + " M prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/RelatedSpan.java", + " M prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/ExternalSourceDevelopmentHostTest.java", + " M prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridgeTest.java", + " M tools/vscode-extension/.gitignore", + " M tools/vscode-extension/README.md", + " M tools/vscode-extension/out/extension.js", + " M tools/vscode-extension/out/externalSources.js", + " M tools/vscode-extension/package.json", + " M tools/vscode-extension/src/extension.ts", + " M tools/vscode-extension/src/externalSources.ts", + " M tools/vscode-extension/src/test/externalSources.ts", + "?? discussion/lessons/DSC-0103-studio-lsp-discovery/", + "?? discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/", + "?? prometeu-app/src/test/java/p/studio/app/lsp/LspDiscoveryTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/IRVMAttributionTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/PbsFacadeDiagnosticTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/CompilerFailurePayloadTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/FrontendDiagnosticProjectionTest.java", + "?? prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/FailureKind.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceReference.java", + "?? prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/VerificationContext.java", + "?? prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/StructuredDiagnosticTest.java", + "?? tools/vscode-extension/out/discovery.js", + "?? tools/vscode-extension/src/discovery.ts", + "?? tools/vscode-extension/src/test/discovery.ts" + ], + "javaVersion": "openjdk 21.0.4 2024-07-16 LTS\nOpenJDK Runtime Environment Corretto-21.0.4.7.1 (build 21.0.4+7-LTS)\nOpenJDK 64-Bit Server VM Corretto-21.0.4.7.1 (build 21.0.4+7-LTS, mixed mode)\n", + "corpusSha256": "0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87", + "probeSha256": "3ed90aa4f2714140539a9098678e1dc31ee54d33ba005bd198a126b2f3640202", + "sourceSha256": { + "docs/specs/compiler/15. Bytecode and PBX Mapping Specification.md": "f2769558d77cca2eb338973f107ce6291c754c5ea14d7a58f43942e3d47a8cda", + "docs/specs/compiler/19. Verification and Safety Checks Specification.md": "d2eef22a7f1f58975af0ea870d885d6a0534191d2c620ce87b18be4a49c0ffcd", + "docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md": "4a9b78811021f5d5652b29b7eed78ab281bb00e0da5bdfa9018c2077160cca38", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeEmitter.java": "8b20c478da52b2284a29c2371809e0f99a9503ce840d9941ef466a0f313e23ca", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.java": "117a510d95b435dbcf029d8f831c0427a95b64777bf810743698ccbc20dca7e9", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java": "4e0f0e9a3cf1bc2d5194deed1d7612a45be568c8f7044dcbdc39c0efd1e619a5", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationException.java": "1db2443f54e4d3603c0ab87ea650cb4735a11940d5a2df61f316c8d12edac048", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java": "0ff667ce56fd6a65c3f3589f1408b89f2ec36f4438ab81356408ff06b584b82e", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/LowerToIRVMService.java": "b38697352d3883e6f64c0271c908cc7199a01fef24e386f948f008899891e001", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/OptimizeIRVMService.java": "e7f7c4f8d1b55f2895d472c7dd2a301a7557f159f5917bb885be869855b67824", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java": "a2d68432fb286cec0c37ab8fab8649a1b20104ae62caa43a4105a83286984716", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.java": "d633cdea6da55fd42a5712fddd5a7440bb6e20c0f3171a598ecedc191ba72364", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java": "fc97a8d23109adb03e9cd72acd07001651bdd1c5204bdb64069d46911a2d0e12", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.java": "bd5b6ef34f6082b8e04e52334fe8bedaf7d1e4b9a2acf43e76eb46acd2f1f75b", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.java": "b46c31aabb3991b300d3e2e080568c664300e385c15b95de6e46e4699b98bc1d", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.java": "ef0eb0ec2273da3d1a2a923906103c00dd736866683a3f0b868bae8e82282dba", + "prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.java": "504d9a3da17ccdab33ab705d229452ba75684170f499f378d38c79d7217bb7c4", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierServiceTest.java": "bdaa64003bff5ac9907cf39aca9720785111c90a2e2769d317bb870ab42f412a", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/IRVMAttributionTest.java": "63da84409dbedf3651d215aa0556061817cd72ed80e2c25989bd02d3d6d84abe", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/PbsFacadeDiagnosticTest.java": "828356fbfe61939d008f1eee7344e7b82376a1c05c967f24369915dbcd6ef609", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/SyntheticFrontendPipelineTest.java": "7801d88657836a144a104dfeaa50a2693f21b13409b17db99525ae03eb88de5f", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendPhaseService.java": "980ffc55e77325ddc271efb9f14470582bdb5c9d5267e9b21526588420418250", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendProvider.java": "c5d7f53b613918fb451a64e3ee98530d641c0e5bca7961f04c5f9508d3180339", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/CompilerFailurePayloadTest.java": "9364027b182441e07d5f42db86473cebdde4a1e4c73f03b39667a6ba68c15888", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/FrontendDiagnosticProjectionTest.java": "82367bc60e969084bcd5c2be181c2f104c57242881dffcd4057447ec48e9d93e", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStageTest.java": "9c556867e3aa5a2e984af8088a32236565d264ffe2a8451aa0c41f043d09a3ef", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStageTest.java": "5255f5a6f93ad8bc214a5daea7676e092afe6074fc1046d222d5bef7ea08f6e9", + "prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStageTest.java": "8ca6a9c5e47f41a5ffa00192b5b58d025b3a694e3c71d19132cfccee9cf9cad1", + "prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/prometeu.json": "1df9e6df39818a42c571a3a1904ec5e2db71075422cb4a10135b23b8e58737ae", + "prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/main.pbs": "26b55e95e4be34dff3d487e342f0de48ff53d71797759f1345e54c07f31b86fb", + "prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/mod.barrel": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/prometeu.json": "1df9e6df39818a42c571a3a1904ec5e2db71075422cb4a10135b23b8e58737ae", + "prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/main.pbs": "f4c5d14f41443bf2aee943e22e94203e391fa162116906b88263180977d28c34", + "prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/mod.barrel": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java": "aabde8f865fec51ad6abe5c64da26bd2c547b95535c7317cb490065199f71406", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssue.java": "11a9fc8d25463b339a83f5f50d4c2fe4e3cf4cb992f00fad00fbd7daf97c433b", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssueSink.java": "3b3c72d206fb4f3e258fb12076fae7943ad086bf9ddb470309f7c2dfb1a35b58", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostic.java": "4abbbef2a8ac9932ffdeb7a34536c2868cdaaa3714acf9364ae7d12270bf9a91", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java": "1eb7784c95977797c4acbaa687c89a3281e4582c2e9fcaffe56a02f0a9ba39f4", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/FailureKind.java": "ebe2a126b799400ab4cfc1e7eb9da21c39a32fa0f071fab65383af144a856861", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/RelatedSpan.java": "7b4a99d52f6d8e15c0f1d86d1760c8672b671feab619ac30029a2dc1882ebb92", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java": "7a98719249e33b40e3f34c574462c2a551fb88f016983d7d63b38117058ae63a", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceReference.java": "12eaff19af169156baa6fa8c2a51b42b04f093fac4e208e82e6f399f7c4d42d3", + "prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/VerificationContext.java": "201ae63f91ebc9dc6a589ed5cbb464147d5983ea8dbcec3b8abb0a65b0a3ed44", + "prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/StructuredDiagnosticTest.java": "f565a0bc913de203fed79d723268dab419eaf34873d57ee197d4bf3c28192341" + }, + "classSha256": { + "prometeu-animation/build/classes/java/main/p/animation/AnimationCodec.class": "0bfcf715ec363cd79ae222116cd733f1f03b9e7abab830cc7ae8a9e24f24d3ee", + "prometeu-animation/build/classes/java/main/p/animation/AnimationDiagnostic.class": "b332ed21afbc14135ed9305e6fa21e4e202e42444de8bc24439af327dc1e1844", + "prometeu-animation/build/classes/java/main/p/animation/AnimationDocument$Animator.class": "0e54b567c5c13a9d18b5851e9be152012074048fb70042d781de499c197a8206", + "prometeu-animation/build/classes/java/main/p/animation/AnimationDocument$Binding.class": "d735b845c61cc3ff6e283fd19fc85becb80d3318b1c758832e388ee918f704f5", + "prometeu-animation/build/classes/java/main/p/animation/AnimationDocument$Clip.class": "eb8922f5a6198fd8909b3c9ecd5a76cfe280a571d6193ab2c8ed3efd19158e5a", + "prometeu-animation/build/classes/java/main/p/animation/AnimationDocument$Frame.class": "9c1f3e93b4ccaf95baec18e0632adde577575af5a7565260eedb3785a6ab6928", + "prometeu-animation/build/classes/java/main/p/animation/AnimationDocument.class": "992755187cc745e1e036daf1c08ddcd498d74de9e3ae2b3917579b9f8a4f58c9", + "prometeu-animation/build/classes/java/main/p/animation/AnimationOriginNavigation.class": "a4f1f1fbfd6f07adb5d1008b7bae0d11203ae1c9c26f92709bf722ede04d8dfa", + "prometeu-animation/build/classes/java/main/p/animation/AnimationRebind$Difference.class": "df86ed6537c5b34cb8584e8fbccbb63bf20ef75de76227e2e51e1979bfef52bd", + "prometeu-animation/build/classes/java/main/p/animation/AnimationRebind$Proposal.class": "27a82ee97f2fbfac72fa98ece58eb665a11fa28e31eaf88c22b67a9d6a09ed33", + "prometeu-animation/build/classes/java/main/p/animation/AnimationRebind.class": "78eaaeb14f5b3648dfdca7f12ce3bea4514b4ea5f5ae6622cd4cee497bbad0a6", + "prometeu-animation/build/classes/java/main/p/animation/AnimationRevision.class": "c854fb50bb413bf26b73c0e616025dfd875ba2299897f9c4c7221c2f4acbdbcd", + "prometeu-animation/build/classes/java/main/p/animation/AnimationSource.class": "bbe6079bc0b571829a29daa6aa35ad999bd4fa0fc460e874f218e9d3d63551ac", + "prometeu-animation/build/classes/java/main/p/animation/AnimationTimeline$Observation.class": "7a52acd808c6517fc67377635e50a0efd99f58b97d7ba063f87a7a40526c9506", + "prometeu-animation/build/classes/java/main/p/animation/AnimationTimeline$State.class": "005acb3a75088e5ec68f8573e869d84ff31251892aff66355c169f149acdcb61", + "prometeu-animation/build/classes/java/main/p/animation/AnimationTimeline.class": "fffed00f3ad68aa74a8128b4a2cab2acc35b424ef6076b3a04701280490bf08e", + "prometeu-animation/build/classes/java/main/p/animation/AnimationValidator.class": "d20ea31c9a6ccd03aaee141e14aef2f39cc96414418bcf49af76d502e4164710", + "prometeu-animation/build/classes/java/main/p/animation/GlyphBankLayout$Glyph.class": "fba04015992387df59525d3ee13c7629b52c446793a2551828702da8e7350982", + "prometeu-animation/build/classes/java/main/p/animation/GlyphBankLayout.class": "38a76ca67a3e81f298914f6470746dbd7338eca560ea0d923d6294577eabbda0", + "prometeu-animation/build/classes/java/main/p/animation/GlyphBankLayoutSource.class": "fd71d6cb2775a05d801ccded99dba85fd5c03d2495dac5c328f5fed7ad7867a4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/PBSDefinitions.class": "9a154353153c00660f3113e22ebb37b3b4b0eee040e6175514e01bccffdce1ac", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/PBSFrontendHostProjections$1.class": "c7102e9cd201a6149568e58a02c7c207cb4aaa7490a9aeea0d9d0e9a440712f3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/PBSFrontendHostProjections.class": "cb84e3fb76df9272452d2c3cb7bab819e786f9b1a4880d33c50f00362ce74f5f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/PBSFrontendLanguageService.class": "edcc433f4d2530d4213ce0778158c93d98e8680e27db0b901379fc8a8f8d1252", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/PBSFrontendProvider.class": "ebb2ab7efe37a7a1f91f78971a865a97115a53fe6f554e630ce26224cb4e0896", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/PBSFrontendThemes.class": "52fb64dfd61ef4b6c52d1e155c52e54bd57958fd99b3185f1fab0fe5ef5f3343", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/PBSSemanticTokenProvider.class": "a10507c1b973509010aefc37d9f3d49bc6b9e946b6b6ea797818e7de665325e2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsCallHierarchy$CallSite.class": "b244bd4baf8cd386c5113a0c3760c193053a544479e71c19dffced387f4145a7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsCallHierarchy$Callable.class": "f5f15f4bc3936fe6f425babd076fb9418c9aa17c305495851b103f56de5e553c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsCallHierarchy.class": "920ee851f0dfa7546470da1cad6caf4c4eb5bcac254c4b59984a12212b12534b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsCallableSlotCounter$1.class": "212eeb3410e918ced981183c0f51b57b499b7a5f84ee91cff934cd9cd1f71d06", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsCallableSlotCounter.class": "1c49a430c738bdb8e92e08592fe4ca1a6174f98f9c42b49908361f0968bd6e9e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsContractTypes$1.class": "1aff253b28850d55837a603de8d3affef2b309eca1829b998408774b20c01133", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsContractTypes$ExpansionFailure.class": "e10949237c856b2c41a4531fa8651b9c4b434c870afc0ce20d4107972cfd1b2c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsContractTypes$Instance.class": "89608a0e12ae0585ab8c25fb0c672d8b1b5000a2f39261a1bb4cad9ed70cb6f1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsContractTypes.class": "9d3a1f3f624b3e9cdd1f68369e07f47ef0f890a23d842a8b694954e98fb61b7d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsDocumentFormatter$SourceLine.class": "b63c0ffc0cb1fe4d89445d1b7f75cfeda159d93a0f20db339b3f1657e0e4f0f1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsDocumentFormatter.class": "f2900f7fe87efad5a9ea384efb806b9551bb640599265bf6c3ff42fa02594893", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsDocumentationTextBlockNormalizer.class": "d59ab951cc60de5c4e81ea16a80fd47b250be5e70c0f86ec937a279671a7c5c7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsFrontendCompiler$ImportedCallableSurface.class": "ef9038458efddd6b20efb8fdc66a533f165764182814970039214aa44e312801", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsFrontendCompiler$ImportedGlobalDependency.class": "ca67b1350f94e7f289aaf62ef9b96be2268fbc686a37a6d0eda6bbc4bdfaab07", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsFrontendCompiler$ImportedGlobalSurface.class": "76a677b57386a8b22057dc8a417e4ca52f9b922ab2b626109d99196d648a8d86", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsFrontendCompiler$PbsLifecycleArtifacts.class": "9120fea4dd37cdabd29bf2c3d5b5a5245cef74f8f787686ae223c05566d81f55", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsFrontendCompiler.class": "3b5dafd9d27afa61e04ac3cd2bc0d081e7f50e1a2d87e87dd2af3482acf8ef6a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericCoherence$Term.class": "ffad0b41224f6464d1f0849e28c4516416bd64d9c9211942e2509079d5a0b6f1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericCoherence.class": "0a884d257aa9e5f6d1d40cb119412db04150956eb3d445a75f84c7ff03aab6aa", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericDiagnostics.class": "7332ecff78fddef50b1739b916479bf0e114715b2c8731e888a4e97284d36a00", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericInstantiation$1.class": "fd6014203cb023fdea0c94651b5ff185d9734da67d1db3ab43f8456ab39bc5fe", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericInstantiation$2.class": "b3c69405c51806cc3e16dbd37ee77fa1abbfc26e1f04b8c78ffa6f585221ebf1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericInstantiation$3.class": "0d0b418ed8ee05a0a84dd2798cc1f28b0959af0318bc1647105491d71854edef", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericInstantiation$4.class": "879df28dbd66625e218c2c1009214d5e0e0404b41730e389b8eba2fc2b990dee", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericInstantiation$ConcreteRewriter.class": "536c1ec7e2ea8b2432a86318765438925a2796689869a9dde2bc90f5061afcf2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericInstantiation$Prepared.class": "20bc6aecc38e2f1f0ce06c610e5efde407727288d83e798336a58668942ae0c5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericInstantiation$Request.class": "26246b40a99cb282c744f1763b7b9cd415f56fc427dce61f08249acb3ca950d3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericInstantiation$Source.class": "d91a127f0c11d85c60e8301a7fa9a8ea9b6818825dedd23b85828b0af0b7bb8b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericInstantiation.class": "7590f136755dff844db6cb2299e0fcc8b90f79af9a024aceb954784438aa9245", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericTemplateValidator$Callable.class": "3e7b69096d225b0955effa9f6ab140cafc317a0f20cbfb6de6976cceb506e708", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericTemplateValidator$SymbolicBody.class": "cb945adab3588bf5581a961fe075047f2ee4b68339ab85edd77095b5a86357a3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsGenericTemplateValidator.class": "3100755afcc670db58850d11d0c6411882aec262ee8aa9831092f7bb9408b48d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsHostAdmissionErrors.class": "f2144f00a797aaf75dd1a99675259aff0f791a7ae0a8053f4bad3e524e6cc61e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsHostAdmissionValidator$FirstBindingCapability.class": "cff7518ebd1e023dcb950888d72069f82954db948f7e05632439e7856f5a308b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsHostAdmissionValidator.class": "83950c182c457bec73fd7890bf0e5f274fea56d706709132295b1b4035a958ca", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsInstantiationBudget$Exhausted.class": "7476720c15582480171470bd790cd8f1b0eeebb2989be666caa2a114755f38ef", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsInstantiationBudget.class": "c7c3e7b57a25e07844b9eea89cd094e004bf9f4d19cf44f6d7b84801179e62b2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsReservedMetadataExtractor$1.class": "8d433e009b7a4b63dfbff6cf4894a21f6fd7a568691baa1e803e9a98e736479c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsReservedMetadataExtractor.class": "acdefca9511b480198120d93dc83ef835c8bdecdc1be4d442807ec26e1251380", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsSdkCollections.class": "45483c1c34ea306c3e450c68b940b93ee23471b9043cbdf148e4bb50a6ba24c1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsSdkMemcard.class": "6be35370c435ee79f63308c70af94d5fcb93cca1da65b053ca7127ee5020fc9b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsSemanticKind$1.class": "e61d6f184c60f972345572cf1d529f91640134a6d23ba6ff1780c3d427b5dd56", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsSemanticKind.class": "1fb11fefcd70595ebb695bcce8ad500a9439754c2f5b4a7d1f368cd953f6cfa5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsSemanticTokenOverlay$1.class": "f4a8f7517b8264323c1fcbe0854ce900f36b02d76d1c616cf47a1a570f4b90ff", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsSemanticTokenOverlay.class": "aa1547088a49efed40e54c35e013b34cc3f7cd4266d8eb18e85250927b9dc21c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsServiceConstants.class": "d8caaeb9c7c01361d76b727cf579d035c9bd5457200508818d935a1d5083faa3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsStdlibConstruction.class": "4df53d05669bc8a3e291d6158eb54301a7e696b3a3bf44a37401b73969c02fc4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsStructureRanges$Collected.class": "0ce9b90f8a7fffef84121c4e912894f1e12c8c4c7e76d82edb692c96cec0f4e7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsStructureRanges$SpanPair.class": "027eea2e337c2a78cd077e05e07e756db5ae6c6d98c1bf4a08031bea8c193ed8", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsStructureRanges.class": "156816a069034a6a7e09a62b01b7ba49ab5afcec950d69d73a5800647c2706ad", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/PbsTypeSubstitution.class": "52b06edfb16d40a3aaaca0b82cd50fe7486b92ab5737e6fed26efcd85771a421", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ApplicationOrigin.class": "1c808a4204d0cd4546716a07c638394df7e255f19e38226a7afdaf05a6e0f755", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ApplyExpr.class": "d07837d1efdd7fb7c308bef89b902b88bb56582f9006d73ca9996e8c4a83c653", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ArrayLiteralExpr.class": "e4428d14a3e6181419dfce510598fb858d06cc9b1f553101efb0dad5931d5803", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AsExpr.class": "58bf3444cdb172181a4788f2821d0439a47c98e6f224c2228228475a67a11c28", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AssignOperator.class": "6be36565ec2d8871ec829bea9ec02cd63789f3d89db8b2bbd7948be5a5ea9f0a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AssignStatement.class": "d817672a19db3f040e7a7601cf88074d135578bfc762ae2b50d192f91f457aed", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$Attribute.class": "37cf787852547b91b58f8b3645832ee84240423612ae362ba7f14978c46b3f8b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AttributeArgument.class": "640c32f874745069c33139ea6876fb7996e5342b98e918071e15734f7aeac0be", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AttributeBoolValue.class": "d0a1aa82a18b5a510388c4cd5ca16e4559d2926d1e3ba69025c664eb49ddb1fb", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AttributeDocTextBlockValue.class": "89144500f136cb1dca33b5a3eb0f0446e16d5c90e03a440f5878f704dbce3b33", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AttributeErrorValue.class": "5e9f2fb61ddcb7b8f756c121073aff1fe8fb323a6cf878de6da0af2c28079c08", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AttributeIntValue.class": "b3c17481c0601a5297df3d3df60b310bac1053431c14f833ad0eeb4fa3822798", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AttributeStringValue.class": "66b2ff7e5ece9bbdd8f2c35f2b9f41ddc2e779f911d02cca44ff8d8b8c2c4c57", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$AttributeValue.class": "76bbf38887ac43f2baa4d0c4deb40977fdd2d3727de4fb6aece814f320565eaa", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelConstItem.class": "08dbebcd4fc685b14a46fc01eaf8557ced57a32412f4855916c5ca5c319d6a5a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelContractItem.class": "47e4035bce204336f1a2874659fb4d4c3e4e60a6660454df4e43d2097b214dad", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelEnumItem.class": "5d1673e7455425c787f680bb4e034e947866fc1fd819d2737e0433678e2f81fa", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelErrorItem.class": "ea2621cd3b9a81c4fa883a25fa4e8f24fc017f5d8f8e4cbc6384b6578d6ecf00", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelFile.class": "eaf88b56433f9fc632ebfd59fcbbf1ed883f95952c7010f5354ae6626101f04f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelFunctionItem.class": "ef054ab4432d6c900764388053b93befa47a381288e34b33f8b469f1cce160b4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelGlobalItem.class": "69a80bc4d7ae0ac7740c14038a79563a23e90467730958a9df481019407f59a4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelHostItem.class": "29bb2371d7202bad0371d5859615207f61ba83a25980ad26ed148c87cb4b49a8", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelItem.class": "1230df4c80468fb74b6ff3d43846e04d7b5d620683c4972f284406b57227f794", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelServiceItem.class": "d582d45eb05455414dacdf2877caeb2c0244af45af183763292652144f458227", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BarrelStructItem.class": "eca1935e427d4f2c53d6f7caffba18bb45e35598a8a9e6c2caee993fe1427a35", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BinaryExpr.class": "65ce1c5fd4895eca98ddffbafb8dbcf21c879a4218ec7555e4292b7a3417076f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$Block.class": "2fa041a3e7a4677fec2ea9c5ab67e5a047c6294d7179e66c0af562fa9acc7acd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BlockExpr.class": "cd9d1d1e34ab15bd3716dff0a158d978dc1e58091a5ce491091009f1d9f788dc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BoolLiteralExpr.class": "ec92bd34e55dd2864e83ad238de942327c589685713b9396a0b71414edfaa24f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BoundedLiteralExpr.class": "7aadbf922e27a6c07b9f2d1cef6f7c2dddb36470c15354d540af6bbf7801a932", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BreakStatement.class": "0130e915a0ecf1d7368f04f04e9019101f79888f442ae16ec53b104c74a9143e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BuiltinFieldDecl.class": "74a2e44fe9585bc81c366fe3f7689d0122c642fac04cb9c9ca280b6940ab48f1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$BuiltinTypeDecl.class": "29c332d3abd2ad5c835780ff6d9ebea66a2cb21f595314bc6ad199a043d2c0aa", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$CallExpr.class": "10cdf7efca80dfed7387d368e0ea442946d6a38934ccdcc8cc4713b47a2d59e0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ConstDecl.class": "992859a5114aee2c1d29d80046909658400e0f188f0972fdfe069b972b940011", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ContinueStatement.class": "127c144f6f68b2f6074d355d1b3dc33d3fea2bfabab987b8fa9c85fc718c5110", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ContractDecl.class": "1742264040d31dafc9ab2410391b3e26af93a6edc824942fd7f56ad731e5b6f1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$CtorDecl.class": "f870e824c440366bfc9c783f13465debf28e1216325abb549dbde7d97c40fb70", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ElseExpr.class": "24029802a2ecb50c0697b0b7d2c0a8efd75e7eadea40b73cc17f61ef0e31cf13", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$EnumCase.class": "6a84ca64430bceb973fd9fa3b2503ae06a395f9c71e416265794c59c9918c1db", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$EnumCaseSwitchPattern.class": "f5717bf9435634e3ea77152f510bbeb5b8177c5069587d3d283039a78a7b91d7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$EnumDecl.class": "04f4648ddb003a157ec3e8b6ecc8400c7bfc2764c1307fb57cf8fa20736bab9e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ErrExpr.class": "6405cdbd173c15b4575b34ac2251d24430c7ef623356a7d1075b5c677139b176", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ErrorDecl.class": "04bc58f21bb165dab159eb4b5042724176a348dcab413c5d0d71b056a95eae15", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ErrorPath.class": "42a01cab5dbc02bb283c1ddf2c3fb8e2ef46c8781211eca417e9d07e095d9ab5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ErrorPathHandlePattern.class": "087beb58e8546d06c8ad7528db98603975c26da9f1ab31ec616c1a20db7714bc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$Expression.class": "9742a2617db4af56b0a9ed19dec1c5e7ef9a417ce9c5be7661645fbd4906338c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ExpressionStatement.class": "fe5a6bbf1b3d8a625d672f11297db1cae0432ef687b7166ae55141b7bb628ab7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$File.class": "fde795588b8ef5a0cbe7efe7b58a9b1809c66b11140ca35e583c2a95167cea1b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$FloatLiteralExpr.class": "d35867dab171719e4c6ea07eeaa1dfe91730b9a1c419b72a743b144df5a29c5b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ForStatement.class": "f48b830efa9b751d9790027897e517ae4938e9b347d6c96737bd4bd6ef3b2f62", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$FunctionDecl.class": "f57dfb2fa8c468c3063dcde666fbe41ee502d795b49b6059f4a508638675c313", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$FunctionSignature.class": "ff96aa831a64f8697ae988417b64997a745a777a25e7b2e6b36b03a6306f4416", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$GlobalDecl.class": "79bb4eed3717de9d37d8d01ab981727f04489fd3cd5d299823305c04baca34fa", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$GroupExpr.class": "1e48f7f2f545819dd66a02ab846db1c5bd213c96a59880d0dd8fe5c7aa738c59", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$HandleArm.class": "ae691c47e6fab8f74f4a5315b66decfa9fb86c05965c43eb72118418e2e18dc6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$HandleExpr.class": "228bcf25a93506e25c77a107a3a9133591bc8ae7499ef8a1be65c9595fa529b7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$HandlePattern.class": "e16e8a3295434730143cc147b0d080a95852a3eef3201b2dfc612d735b21f4aa", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$HostDecl.class": "5a4172f6f9aa4f7474dcf8bf3f000cacd6cdfd91f154fd7ec15368442e00422d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$IdentifierExpr.class": "f458490e3d2c6961a931250db7487a6339a05793c3dee04b4ec912ed35c7e38a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$IfExpr.class": "7dc2091bfa6b6e327e5081c631bd7d9f99d2d9a43ffe2139cad09ecd749dc8da", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$IfStatement.class": "11f71103a984f85e31290fa2fc6df71fd79f54fb9ab9bb7584357132e8ee9eff", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ImplementsDecl.class": "c5d6acd36b5ff60f57ccfd88d199c44633e19dfd3fcd8164a672534ee20a2496", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ImportDecl.class": "c18d782098dbba39ead93272295caa61beb9f299d6a621ab64d13dca79a333d0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ImportItem.class": "81b7ea75cd570640172478c19ad0b456a3e9405e30e127f61ca4b1a7f641becb", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$IndexExpr.class": "823a34cf986a653b68b2de805e1fb385ff1435102a7efbe68364af3dcc6027b0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$IntLiteralExpr.class": "cdbabe08a1fef63cab56aa47be1f863167ed0b3e753e48bb963afb5f42d9f6df", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$InvalidDecl.class": "cc23440cd2a8013d4e214e4b1f2591f2fb4eb4ec45b0d68d99e8b9940c470b82", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$LValue.class": "1acebc4bc2ea80264cafeac83643ca62e13c99805cb1fb2c2b85ceb3f260d0f6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$LambdaExpr.class": "20ccf5fdf162dc829f0ae16b0fb86e645f862c6282682cd1399193c1a13bbf50", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$LetStatement.class": "96322af47861e1b840061f6c0daa82dff0b163feed81d4d15418211078c5c233", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$LifecycleMarker.class": "f84a7e8edd0d0f5a55c190a73ee80229d93e23aa788603b83d4440da65f00f89", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$LiteralSwitchPattern.class": "5b642a434a76047d21daac2900a2ec07bb1922f4e0a367d45375e5527d7eb04b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$MemberExpr.class": "2a761753dd1ce375bbf1ae2ec31b213862a574590a6279f2515983b00b8f020e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ModuleRef.class": "063beefca9891d12d45748aeb5145053d481094220f4618a2fd42134b6ce28da", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$NamedTypeField.class": "1d72a67253643317143ae5dc8b3ac3fe91397a9bb670cbe54f08e9ef63c82e13", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$NewExpr.class": "51b30d0d6136cb44a0f4b27ebeec934b9f949b13d7f3f76c0d39d0e2160df3dc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$NoneExpr.class": "ac751657871f8d0b15dc8c83e8be31b066eca50cbabc2f52837cd6841eac79b4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$OkExpr.class": "4dac07523eb2f36c0f015f2f3ce149248abbe7a6851ae19b31d29f99155b1cee", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$Parameter.class": "1ed479258f2bdd35c29828b9618f9946f22ec70d2e29cc8ce8e03eafd824bbc8", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$PropagateExpr.class": "562d68a26e16d81c61d57fdf7f8f66f151a6eb3b968eebc68ab1b8ca2e482226", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ReturnKind.class": "0f544577d6fb8c1a01b0eb1262e396f9d92d3cc278f660dbba32d64631586647", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ReturnStatement.class": "03a50f6dc5bb39a45f44d44abcc72ad38d16a549c72926132ba3ab9f74a7c974", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ServiceDecl.class": "004919c3a36b334ae8310482c801105c6f96944bac89abc8a538be3fb3d231ec", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$SomeExpr.class": "134db1170b56cfa06f82f9deb1815f5a23bdf17b8ea635d2f04cadac7fd908f1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$Statement.class": "75575a7ecf7b09625ba8476d52e4d97fbabab4834465fc47e1c67e96ef9039e1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$StringLiteralExpr.class": "1a6fa57b791239aa5444f9e100a8c4e62b4530f36ee4a318d9a51a2f52df5b9f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$StructDecl.class": "c9a988ecb3de81ef7d40f48f6c6a1d36e9097b1072c3058928405371eaee4934", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$StructField.class": "704b86f71eeea441ebcb90c844db34a2cea185cc40d6d95f0fddbc71c883e447", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$SwitchArm.class": "069d364d54b19ab983d6dc15ff5690e90926f6e475db1f43b42a1edb0f5923b2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$SwitchExpr.class": "34d8f77ac24ba53097162b13476b14f97a1b653dd1a9ba7eaf1342ae58a100b3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$SwitchPattern.class": "82e6a316cb6cae78015ccca1c211fcb8494a6bdba3d17a24f3f135235005449f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$ThisExpr.class": "cd3593a8454e8ef52b8a3fc327db3072b631228582639932294c0f2486b9daa2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$TopDecl.class": "277f5c279222cd4132fa5c1d4cbcb5e4140a1f1588dffd67dc2c8ae1e2689356", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$TupleExpr.class": "60a9b04ba79a77d2fc53cc51ffef5cd1f431ca21d79ea1c9922b0fd337badae0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$TupleItem.class": "0ebd31762d6d77f4094b406d853c0a4e52261b8f9a22ad39e473bfcbe142127e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$TypeBindingDecl.class": "0d63eb40b01815ccfd98c729bb9f5f7d6187edc8bb61117d34e41f9b5420242b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$TypeParameter.class": "78c397864e244e2aa5189d96b81dc7dcd63c8579cbd2dc40a6af983b2677d6ab", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$TypeRef.class": "00c2f4830d483bcee7d7e845385fa9a0e4f1cced9811a2e8c58212dddab887f6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$TypeRefKind.class": "a208659e2be30c4e33cf5be767cc04fa769677abc834996911ff733ecc10a696", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$UnaryExpr.class": "aeb8d6c3a1881086b9a20b8bd1510a8ca249ca31e1308e35161ad0c76c938822", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$UnitExpr.class": "1624cf9100841520a115f3d50e9b8f0f827c0b6dbf640dc89af813ab013555a0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$Visibility.class": "60d7b77b7d7e136ccf6bd692db3883b772bdff9f4285eef5833307a694506d98", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$WhileStatement.class": "14102aca0a0d91a2d3a4b0ec69d55029c55fc7a86e16d6fd192424664a7b46ad", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$WildcardHandlePattern.class": "5b391be1b7559537c81fc582c001ffa06268656cb3afa5cfda45b505d2e31346", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$WildcardSwitchKind.class": "48c6368d19883ffc1898183c0b900794b13868dc08b4dccd3c075fab44475709", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst$WildcardSwitchPattern.class": "5719968cc91f6dd03af0d89b19acb808171abf7054ae2b92055ed55cab8bd98d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAst.class": "c75b6ee785ae5570ff01ea7f9e64db2c7a65335bdf9239a9cb7423cbb6826ee2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsAstRewriter.class": "de582560f9f44b7f6d178438d8bcd75c19e8e4b6997f2dfa17acf209836e1738", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsLambdaTraversal.class": "d6447f067c21b9e032bd8dd871aa4f4b38580a2e9e724c669072aeab65b45524", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/ast/PbsTypeTraversal.class": "0730a2d92adb236c6af3b8beb46a46af062ea63ffd5fbf78bc13da308858344e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/documentation/PbsDocumentation$Entry.class": "d93a507d9a72a165e94f4d2920277d815168161b17e04362837fef70ddd3a0dd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/documentation/PbsDocumentation$Index.class": "faa995a68438038747aa72198e0e6db424ae0d6a0b93370cc0ae7073175f5291", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/documentation/PbsDocumentation$Installed.class": "5e66e086a04d7e693f4d306aa64e77ef146d2cbe06e8ea78c137f3b66429ff19", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/documentation/PbsDocumentation.class": "da8b80872a7b314f26e085a168f75503e1f9bc2e73bbcb22b879aab8f37475c1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lexer/LexErrors.class": "8cbb0e897ac58e2cd6294a868ed9d6f976608714b1c8d7b66bbdee599ee0d4d3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lexer/PbsLexer$LexerState.class": "0c6955f315515c26ae98eff2240745ef0e454eb0beb26ca6ec4accb7e0bf0a48", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lexer/PbsLexer.class": "9114324e1fa7dfea6102d729a1e82424144104d3fb9983f8e1305e69ca5806df", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lexer/PbsToken.class": "c63bd4cc34e11937988b4972ca472427923146d0c2e409d813023fb87f2854cf", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lexer/PbsTokenKind.class": "106a8683b31557e32e70a567805aff59915ce76b837acec02a1bd6555fd57189", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsLinkErrors.class": "aa7ad00b56c724b06437a91aaf7d5c560f51562e11785ea717eaf912211e0549", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$1.class": "08a8e9dc72a5681c923c1481f31d2ecc68a98547a31a6d85f637ff2b7623719a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$BarrelFile.class": "e8beb7eb82149d17ead9b6c96c4f09a7b063e5afee865f2ea96246cbbfb23f20", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$ContractExportKey.class": "5907e8c28ea614e5504c70432ddeef45cba0db854c50c2b3bc7b6ed074bf2831", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$FunctionSymbolKey.class": "fd36f46c66b984658cd4a576e0d5f0a570b2874c1863bfb8096deeacc7118257", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$ModuleCoordinates.class": "24f29a0e9827ac4f3572574a08cf3d9480621295eb1e515569c590d26451921d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$ModuleDeclarations.class": "d849696317d1883dd57b2f7e88a60b0ddb24168cb626aa806145922df216fd14", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$ModuleExports.class": "050ca2bd54f851c78d73407286bf3f904e03f6dab36a9e406b2c3e8d79c21ad7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$ModuleRefKey.class": "2a66d6cba7e013289365b56e84e39cb50fa41f3a9ae3a4c6965bc5db0ef05fc0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$ModuleUnit.class": "b7b0490824155ee7c372f5ddd64059eac220cb76656fb67fa5845b8c4dd259eb", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$NonFunctionKind.class": "67481e98a5f9115a501156054745c05b8cd12c6ac75851a19f74b372fcd5da42", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$NonFunctionSymbolKey.class": "d8f3fbcb0c88bf2a6d0376769fc6bb76c58bc78d170e209921c96812b9ddf78e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$SignatureInterning.class": "6711a594e112d9fe704867af44c36c4602125b3b97cd6f79e3a107ea870d2512", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator$SourceFile.class": "a1db961c3b8256a126f9cb6f37885674d5a46bcaf015fd7213aea579b0ef1b13", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator.class": "871a3f0ef8aa02ca7f4d0879e5f3dd9fcde147acf182737be46b1ccf2b426426", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsCallableShapeSurfaceService$1.class": "f821bcfc9b45e4a960911578a1e9614f0fcfbc4936643560f9f10be55ee0134f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsCallableShapeSurfaceService.class": "21b354a854148be41c3b5f7e2ccda9b8ac1e84e3f62c30e7b28686c84eaece86", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer$1.class": "1692d09d09f841c3aeea53bf3f6c8988c9433533a9e0751c854e65d426217cec", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.class": "055102610959c12949a17382e5c64a7aecb474b02d96910f80281104ae129f8e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableCallableRegistryFactory.class": "0fd5f339d404992bbcafecbf7bb76bfc943be7a3d35ef961a930edabae2c86d4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableCallsiteEmitter$1.class": "86017eb89ab8b03b1ff7a91f91d358669d7865ff6a932d9534d414271d424502", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableCallsiteEmitter.class": "55db11f320eadbdaa1a1806b08c43d8f078046e6d42033042d3ea876facfc7ca", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext$ScopeSnapshot.class": "fc6bfe26fa9dcdab51aacdc97418dd630babacae6bf9d65f19b8ab256b1a6dab", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.class": "48c0966d8706498226365fc33a29cef62b6dd6f919c169d148410297458d3745", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsCallableResolutionKey.class": "aaa66a5653098bec3d265037e26eb6e1413f63f3bbec5712328ac002d00586a3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsCalleeIdentity.class": "ac17db9ce73233493ad56b4b86e61c60eb926dc1daa49a12bd5425abb948ee14", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsCallsiteCategory.class": "c7eca8d1849a9b62bbaf97f97365b0f2712ce77e6e7894c8c6770648796a9dd3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsExecutableCallableRegistry.class": "2dfab7cd598f1ad6fa865b10b0ec28f279e124c91cbd9ed3e153bbfec35a87aa", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsExecutableLoweringResult.class": "840f1edfe3640027ff17dde0549b369223f30f3193ee3c9d2e537cbb2469f265", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsExecutableMetadataIndex.class": "21a7307741cd21ffd86576b6b2ad187cea471754eb1b22f38b2d556cfbad3035", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsIntrinsicCanonicalKey.class": "def5f1fb6e0e61cfe7c11ae69b5f3409a3c119bec0cfc6597954693a7bec66fd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsIntrinsicOwnerMethodKey.class": "4291280739b3991690e70832921f74a1635c8a592bd12a013569fc92b3bbdca5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsLoopTargets.class": "4101335aeeb7b914fc4e883c07c4ff727bd9a68af781b555a1c260233b08d14e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsLowerableCallable.class": "d4fe59f44c8cbefe2b180035fd250a16c52285f25935946e1019d566ce7e38ef", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsLoweredExecutableBody.class": "3c88d84d36e0aedd2b4e43571c14d6d3df41b6d9142d07291fdda4fe93fb3a4b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsResolvedCallsiteCandidates.class": "3b73245ecf4fb2058c1af870236d1b70e31d33d149adb8dbd883a6fff203aea5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsTupleFieldProjection.class": "7c4704a085511cf8322c9ff17a8110181ad32a0146eb151747bd8039f7bd8836", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels$PbsTupleProjection.class": "323f5dd07ec49bfd1ee0b1b6c25472296b96cb0f8eb0fc41f9a93e9e3ea0e5c9", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels.class": "cc467ffcffa749ceeb440ce9b3c1d2293cad9b30845b86ac57e5e89e4101b94e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableLoweringService.class": "b45c45f8392f51f1df4722f10f05a76b03b74de27c84ee0735c973f7787a32ae", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableMetadataIndexFactory$1.class": "d836b378816844ce6e674babc0d1d85b826cc77e5404a2d89b9c14916809b0b7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableMetadataIndexFactory.class": "873a524e7e30861234d179a867ede24183d3ec50ac9ba5c9ca85ab56982539d6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableStackAnalyzer$1.class": "db915ba56f7b63e202fe11386a552c4a8c57a2ad9120277133cc857525cc77a0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableStackAnalyzer$ExecutableLoweringAnalysisException.class": "ad71c281bd61e2bab851b46f5eba2e44ba68882641f9e74ff1ccb84102699128", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsExecutableStackAnalyzer.class": "c452c42cad5b561e16827eb694fa2cde1ba0aa8c66f9316456260ccd836430be", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsRuntimeTypes$1.class": "11be676fe0b573aa374a337986da7784aa749fb0ba700f809f7d2cc39680f2ee", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsRuntimeTypes$ClosureBody.class": "2fd841bfc8ebd09a2fa4739ae79d89559a8b11829f9806a827e48a41b3fe3c46", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.class": "932ec9b0e0eab5d2c5d1fc88691c3dfc38a4b44237931c993c1548e299a08fdc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/ParseErrors.class": "a1e53135d037f1ccb7f5720eba752cc990e53a4ed7917ae004364d084d504e4c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsAttributeParser.class": "525fa888b857ba0a6f93b787ed7fab604f7cc4a0f31e8c827d7f6e56868d84c1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsBarrelParser$1.class": "4592751cd7b1922fc497de4664b7a2d2a458893816ec1dbb5e6874021ed84117", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsBarrelParser$ParsedReturnSpec.class": "47dd78d85155d893cbeb1ff7addf328672b1bf9e8bc31a0f052322fc09a0ae95", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsBarrelParser.class": "66f7dc0ce6a4bbc974572ea4d49c1e6c06eb0c8d8da59c986c46607b16a0fb46", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsBlockParser$1.class": "cc961ace210d8cdcb3482ab6c98d781cdbcbe1c93a50e80eaa5b6da3a94d77eb", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsBlockParser.class": "9dc49ecc357051441474d1527008eb6bdbf77f2562be87bbf294986a136f1cf6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsDeclarationParser$BlockParserDelegate.class": "dbd5716949baa1e5ed7cf6d945a9af4227f394002fee040f658de85e87086ec5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsDeclarationParser$DeclarationTerminatorDelegate.class": "c50521c3c8ac4c784576f1d0a25141764b13a40459ae191d559a6b639b3ca973", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsDeclarationParser$StructBodyParse.class": "29a176e439e535596988c64315bc86d64e917c36fd70a1a97de510a6b0076254", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsDeclarationParser$TopLevelSynchronizer.class": "b1b12da58d57710f0b6b54c412d5a5bd7096c3c53a24989ed0a77bdbebd0fca5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsDeclarationParser.class": "a969638819d11688038d74b0ac374f38969ba518494b2f30e7df08a65b2dedef", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprControlFlowParser$ExpressionParserDelegate.class": "87a7ecfbd7e378d7911c3703062e76d93c69724c27b0afa4b9d843c28a31ac52", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprControlFlowParser.class": "5aa854d7d967b97431824c8ce72aecbe3f2c759ef5de94ed72967ffddec4ebf5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprLiteralSupport.class": "d7b0b1218f81ea08963a42006dea76561d2f7fc353972b41ec4b08d9037945c0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprParser$BlockParserDelegate.class": "8273d2e8619b8507f3efd470fb7f8a645e30cded99049a1de5cf7fef9811ec11", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprParser.class": "a0acf7c3a4f74a8eb1633aa970250c649d61e39d179f007099f4d9a52cef7fb0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprParserContext.class": "485ac00ba9d43e7f96e1c35e0af441b93f0d014f410bd7afe355d6d0a301f126", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprPrimaryParser$1.class": "066fc992765456793c882b0757f9a4063cede8616e1d6e02720aa4ed551cd86c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprPrimaryParser$ErrorPathParserDelegate.class": "2ba7095157345eefc1c71406ef22b563ca7eebd03df87070a6065f1e09610ed7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprPrimaryParser$ExpressionParserDelegate.class": "5a189ff5837e42b579c90cb03cb7dff314fb572321f030745e168f3c3834b025", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsExprPrimaryParser.class": "9c2d6e23ec31b33375be1f1be916b0a105199e6dd528cf5ff38a290d81387f9d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsParser$ParseMode.class": "a9e341e80134b6923a73db3525ca840c17992d6093409f4cd1b5805f9f52dea4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsParser.class": "7994aa4d3f6b2345a743eb3fd03428587ea7ae9a5cb65ac5ad6142bc51184a19", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsParserContext.class": "542acb6d1e4134eb00eb027085a7a99309a3e7fea176222c70cb7e9a50aa2792", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsTokenCursor.class": "600a7beba91680961f088eb7c582e940773e44836c434a5b50faf0bf4af47b20", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsTopLevelParser.class": "ae99c201f9e4aee6c010ccce4119c2837cf3bbf06f65c5fd58949ed6ebdc5480", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsTypeParser$ParsedReturnSpec.class": "7c7292dc976886d5af6d2731ecd6e4c40bbe5293515ee281f5430cf8482ea44a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/parser/PbsTypeParser.class": "b6a9efb5988d6a79136ed56bd60f2a089463dc0ef49235d89d45e045281a5487", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsAstDocumentSymbols$1.class": "b8525d96222754ed5db4fe7ae862b5f7d364c3ff221866b6e8c51389408808d6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsAstDocumentSymbols.class": "e4c1e085276a8c9318c16ea54c56df77ed2ccac58a64b30188b33cfe4fbc59bf", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsAstWorkspaceSymbols.class": "08312f6ad246957c7a81928ace411c0116064d024566a37b64459bd6def48564", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsBuiltinLayoutResolver$1.class": "700eacb522ffaea275d65a45ad1d51b6a462d45542285bfb78e0699538387974", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsBuiltinLayoutResolver$ResolveState.class": "c372c5ad318f2ba8dfd234bb6ce0bccda4d31685f9e4c967e7a37b0a74d1c8bf", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsBuiltinLayoutResolver$ResolvedBuiltinFieldLayout.class": "e085d2ed9a6181bd84b9c0081cd976c212dc20f3ade7d567c670ecd5db7889b2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsBuiltinLayoutResolver$ResolvedBuiltinLayout.class": "85c517174e611ccdc8ce980f6cdef10946ea0807dbc20a2670b8f1033c5fd97a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsBuiltinLayoutResolver$ResolvedBuiltinLayoutTable.class": "925c778e2107af50c0082feaa0aa029e2be4cc9934d5cb5ae004c43daacc35a4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsBuiltinLayoutResolver$WidthResult.class": "712017f6fe12ab304c6ece5e49329067b21dabadc7f6ce223234934f689a1ff3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsBuiltinLayoutResolver$WidthStatus.class": "770da7f658608de957e6394350bce76ba3dd518c631509416f5cb1f741f233f7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsBuiltinLayoutResolver.class": "f95025405c9a0c47f8c2ce42fd9f13fddc7338b068d9a43d2cb4bc86225e8525", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsCallableScope.class": "ecd78dc258d66bdf9db2a513c2e256e9139a8ead83085f0a44535c0216ce00ab", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsCallableShape$1.class": "0846c26d6e26f1695052819645259f2aa18542770f75c09f9945366f8c6c1fa2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsCallableShape.class": "8d75910d730ff54e5a74db115f96f4d39babf69e603674e0e99523a756009e00", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsConstSemanticsValidator$ConstAnalysis.class": "8c6a3891d2ade0ebf49557ecdce1516787698b517299aab80fe615cec1061c80", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsConstSemanticsValidator.class": "1b20290c1ce9f595329e7ab5754cb2d0e0a1f356b8d3430a3c8cc49727350edc", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsCtorInitializationAnalyzer$Paths.class": "53bc54e4529a03ce4aae7a3c203880656520597080dfc25e5fb096e0e97327db", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsCtorInitializationAnalyzer.class": "50f2b031b8300d76e3dfefd5f6dd7ba96e1336fb9c0977439580424535062ce9", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsCtorReturnScanner.class": "86f1e02feca4661b337a78d29519f335459b09a5581665f8c8b6ef49b1a4c973", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsDeclarationRuleValidator.class": "e0d77823ddec98b7cdec31cc0f20dd4ff378f33dc3d3f870bc3b329885b566da", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsDeclarationSemanticsValidator.class": "1911480b55d3710acceb2c991fc70c7ca645065121e2b0a1e295326990d79db2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialCompletionCandidate.class": "41b075ff69a2c9b7371f8236c4e436f7a10d287d6dabbfe4ff95afbeaeaa88b0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialDocumentSymbol.class": "1db055aa6293ef75902e1cf80f15bef452228a19867de837c21664051da8ec53", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialLocation.class": "b466eeb5d70767f67dea37f0a0789a03886bea84ada3df4c84410beefd1be07e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialRename.class": "09f0aa95443a0829f0f55e87ec3c0099375aeaad121998826691907ffbad1e20", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialResolvedSymbol.class": "1483a633d94cf5cd9b01a987769d697c49e783dce7a819432a0681edda1268e2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSignature.class": "1935a11263a162883fc2fb525be6046a5c200050450ee89f68a81ed4a1132c2e", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSignatureHelp.class": "97ceeceee1903d28599ac903f48896626924caf8d318a01067d411ca5eec01df", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$1.class": "5462dce484eece003c1656c0fb7f1fe02476f0694c2bd1dceaa84a25b67a6247", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$CallSite.class": "dd42bafcd9b51c34d3a935464b938fe39aee39020ce7dd6824620a1ada328339", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$CallSiteKind.class": "0fdac698c6320cce1499d9e1efb8097d5648a6d89359a7f0800cd59dbc4fac6b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$CallableFrame.class": "5539ddfa730207cc35850ccb5af2567ba7c96e066eafd69df3e52ac4d4f03965", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$DocumentContext$1.class": "35420181517f744516e791d38130e268ca0387c959160527a48cdea79380aad1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$DocumentContext.class": "abd7b256ea6c0dbddc4fa1c332a29e8d32eccafe96a01a42a764d582628653a1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$EditorialDocument.class": "5d340007db6070854bed1168d12a5e8d0b1b993fa9e9206b5a17e34cc27fe2cd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$RenameCursor.class": "d4d303235d1bf68ab18fe97087a9c5f85e410523b395f38228135a8f36aba6ad", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$ScopeState.class": "6f8da08dc620af29952dc4ee1a3a69bd89e90f64b378821c80fd812a7e122226", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService$TopDeclSymbol.class": "3fc60dc1848bca4b36c01eb01f090b996488f9bdd6b3af59a105272e12761b9b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSupportService.class": "1b9800a9fe489cec78a6230f4041b73bab36751a249d0913a8bfe201b7f60faf", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialSymbolKind.class": "c7cd67960a21b1598f5639f6f13ff98ae7dd9ce2d94aa35c8e2500f3753ca88a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsEditorialWorkspaceSymbol.class": "9052a9c1b2575eca641963ed77cd3f129266bd3ce0ba2997bb3c0a675dc172fe", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer$1.class": "8cade3c14fcfd1be4b5d5c40c0e1cd56d2fe117e77fd7a594e1ae7accd755e1d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer$AssignmentTargetResolution.class": "e42c6b3e192a893db7fcbeb121003ae8111551c4ddceea5014878fb0e3a85c80", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer$BlockAnalysisDelegate.class": "126e49a5ab65908c2a0e04ce6437e894dabfa2ca18cf07d3e70e2e0668c81b0f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer.class": "e075cc03ec7e3ac8930cf823ae975eca2d1d86c870b5c4093ebca473e6b8cbc4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowBodyAnalyzer$InlineHintsCollector.class": "ba33ba500bd65b2846a96713d4e0fd87877f8d16fb8edd6fdb72341b67494647", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowBodyAnalyzer.class": "ca723436d66d1b082ad2f83a004fed70a0f92516544d2d9640db1afdc2f32fc1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowBodyContext.class": "38433fdb043cac942fb947af63f44d484bcf884690cf38bc6fc75542fdb5f6f6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowBranchExpressionAnalyzer$BlockAnalysisDelegate.class": "e654d0ebabe7d68e7b1d1d5257c70c4cf9d5dfb4389a4c6af48eae0b48f2a780", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowBranchExpressionAnalyzer$ExpressionAnalyzerDelegate.class": "bb9e6b0edb7b6b0785dedd3200cad18b58b795fe8ef82d27af4d6f910a3720e0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowBranchExpressionAnalyzer.class": "69a3cbff048cb1a92b8101134b1580b3eeee8b95b3d9746b1c1ddcd044d22dc1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowCallableBodyAnalyzer$BlockAnalysisDelegate.class": "cb32350d5003a92d3a8842d09737b243e068a2c6317bd3728a29948dabf0c211", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowCallableBodyAnalyzer.class": "5b0b6a4b6c651ccbabc881833f740b3884abd6f2b1ecfcd82b5c3b97ff1af458", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowCallableResolutionAnalyzer$ExpressionAnalyzerDelegate.class": "eac7d6a67c5405aae7c387864ec2e2712cbac94be47f7ef862aca01f0c0cfc70", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowCallableResolutionAnalyzer.class": "5ad89b135c3c77e080a988ebabc91a7612b8f7bc33c4db59198dc12a4032ac5f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowCompletionAnalyzer.class": "313758454f50e9143fb4e588f4e284e610d15cd0719f6187f3042aa072ddf4b5", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowControlExpressionAnalyzer$BlockAnalysisDelegate.class": "f806deb115803f9a3da13b1ab05249e901e97b23a44baa023a9dc1e5e76cab58", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowControlExpressionAnalyzer$ExpressionAnalyzerDelegate.class": "be8e9d470daec20f6301a4fb99293b254a134b3b23f5bce7b6ea8abab8eb7a03", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowControlExpressionAnalyzer.class": "1242bc7c70e5a299e37e75c9ec9dc43a2e0dd1218da36f16a48c5b550e1a0a74", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowExpressionAnalyzer$BlockAnalyzer.class": "8c164636bc6c3465034c5af00ace490f658451aee190a14a3e331eae8e2d3773", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowExpressionAnalyzer.class": "cf8d56eacc0dae02816164369b4e894ce816c236db325d4a0cb0d38e43163c63", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowExpressionContext.class": "da03b64219bdf68ab5df1e8203e991236aa7ea5100e1846e225aea0d414d81c3", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$1.class": "12eb0ba8367beb414da8afe22df35a6db71c8e821e79b0d62ccfc6b392bcc21b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$CallableParameter.class": "56a8b0a3d80333e98dbb152b9fc690171da3eb35e10516ba8b06ff4677c5e7f0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$CallableSymbol.class": "12f01b7035588345bd0c729cdd3f8c46299da9b16a2590ee0c284f6f9651ee93", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$ContractInfo.class": "9bd136315bdca590e586cbe81cb5c6b5ab9a2897c9abfdf111fdbdc0b0ddd0da", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$ExprResult.class": "364c8669bd030c2be1fc9f79974d3e87195fd7feeb8471d8b8fa056104f4eba4", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$ExprUse.class": "96b6f6fbf563f2b6d19b524f8bb3a07aa4b96489f64b8f9fbad54d87843fe543", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$Kind.class": "3ac1b5f5fcb25ba70ebc4f55395d88550fe35d30bc3dd88a8eda6cbcd4ab3bc0", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$Model.class": "751de6ff813a3ace597ec28cc08da097136351fae5c815b8505fe9dd5fae8fdf", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$Scope$LocalSymbol.class": "2aecd1c0172c7d1caddc13a2cc049cbc4e1b7711353091da8336dec9530635e8", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$Scope.class": "43b318926f147505f9c514b672f72e4dfe40da011cf464d9325a0ae9e0227857", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$ServiceInfo.class": "4020bbff5ecafb8b26c4b566b8659436413f6697920307fc6922dea0cddd3353", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$StructFieldInfo.class": "3424b057f827fce6f7e3fca620e6649980efda63d029f270ca8d0734facd5b7d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$StructInfo.class": "e4a67d17d093d8c9cdfdcf1db49a6e40e6c13f661d072cfaf42a196b78ed1e9a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$TupleField.class": "63a564ee256b81e68229f145dff206d9964600d6f07b0b61be5e440690d9195c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport$TypeView.class": "3743ca065460e6090141060d54ea4ac3c7801bf293f3beb72c5efc8bb783c311", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport.class": "d878e90feef0eed98a4b5e0997a7b452720245ddacadd178b3a4d91164e73a5c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowSemanticsValidator.class": "60cce68c164248abacafaa2c6ce935b814711232e9285827933c3c93ab6c41af", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowStatementAnalyzer$AssignmentStatementAnalyzer.class": "3adaa5dbb8caf5abc45f2e817a64a324108f793d2cc19daefe2a854007dc38f9", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowStatementAnalyzer$InlineHintCollector.class": "f5830e57045af67e8e05479cac00df31c57900d9355549eb65f09a92237623b2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowStatementAnalyzer.class": "bb919ea7c6adbbe16e89b6e83f064e7598885c4b15df22a9a062187affbedbda", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowStructuralExpressionAnalyzer$BlockAnalysisDelegate.class": "ab0062dee5f76c1544354adf9d01aa2d65b1ca8e05e1377dfd20fe4b2697fe15", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowStructuralExpressionAnalyzer$ExpressionAnalyzerDelegate.class": "ff5fc8c001b68a0c595c2a83dae18f90544432aeada580e6edc2c1c6f0f51d59", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowStructuralExpressionAnalyzer.class": "07cb7eddad4d3af2b3d545fa1a7606cea7ba163d6a9179c4917aff65059dc953", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowTypeOps$1.class": "6afba1c56da34d8cbef5bf48ace7615996dfd9912f327fc76bf33a20e45820da", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsFlowTypeOps.class": "bd8e2d766e8b17f1caf275d4325eac338952ad57784cb590b27e7f9aca5ea14a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsGlobalDependencySupport$GlobalRef.class": "49d06bae213ff0674cccfcf607ed25cb56301131d56aeef2733b397a4c5e46f1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsGlobalDependencySupport.class": "adfdc7eb3ca0b99d33f072d7c953be19d5c3c5551eca913b76d8480001b0304c", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsGlobalSemanticsValidator$Analysis.class": "3f66b3b21d201b965163c394827cfd14ae15fb3d7ebaf9f9ac250e00755c58c6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsGlobalSemanticsValidator.class": "6dd1d2025f35e6b1761f07cc7c5f7eaf0e9e4e4bebe7319599b9ab79a38da3a9", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsInlineHintSurfaceFormatter$1.class": "491a5c973bb6a8141dec9663a6ae6924e1395b7897c6082af93780b0eec7503b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsInlineHintSurfaceFormatter.class": "eb4b28823e0f118673e339d841a53f8b919458c6e6b54965dd185fb3e490c187", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsLifecycleSemanticsValidator$HostPolicy.class": "ce5298c585de404985d2a74badbcf6e1074a068cf62f31b10daa416c8ca2cdca", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsLifecycleSemanticsValidator.class": "0a1ec59e410dc13954e5ef1f850ead29a754ee0f145ea0cdc50f27ec1e17dbb6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsNamespaceBinder$CallableIdentity.class": "2c088a807afe09cbb661081b0131883a6d850cbcabdfc9c8fa7ab44c60f6ccde", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsNamespaceBinder$VisibleTopLevelSymbol.class": "e0b847bd819bae788c90c6e2fb69b9a849bf359f4c69d51be71e90031c9abd7b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsNamespaceBinder.class": "779e1a6991bbf0901abc84387ecaf944b44ac88d83224d9d77bf7537c096f8dd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsQuickFix.class": "7d717af7bd20436530f28a8c49897d10bff54600b76c0e628524fa1d2a3a9715", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsQuickFixCollector.class": "572308e4b4f1b47c1112e7f49d2492ea26713473165efcbbaecd4c3b5dbd0856", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsSemanticsErrors.class": "0f2fd8e36babe58e1a250c8392fb4c759974c20138eb3589cf105c760f4494f9", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsTypeSurfaceSemanticsValidator$1.class": "4749dfef6b96998e7d3017290d834fd4123c8fa27c9a81f6424b7620c85374d1", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/semantics/PbsTypeSurfaceSemanticsValidator.class": "9783859abdc152f68e9432566b7ceb040c8a1347e433f8fcd79e5cdb447abe9d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/stdlib/EmptyStdlibEnvironmentResolver.class": "8cd91d5e3434b572127fea65506a521548e4f9291e54402f76c8147f6aa76e9a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/stdlib/InterfaceModuleLoader.class": "9376bc978a6a57911ca66ae79633e00667373e721198baf49b8e75c980f3659f", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/stdlib/ResourceStdlibEnvironmentResolver$ResourceStdlibEnvironment.class": "902d1397b88ff1d86f20ca4bf8f2a886e014a17046352b3319f6416dc840d9d7", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/stdlib/ResourceStdlibEnvironmentResolver.class": "1e1c09b5d52858891a137ece077f405e0108c89ad6e66e63ae186c540b1e9d0d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/stdlib/StdlibEnvironment.class": "522aba307b8d66ddc71753269627d1f30ed051d41ea3a76ce350cb86e5bef733", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/stdlib/StdlibEnvironmentResolver.class": "b97096d5648ea0ceec42ae10e708b6daab89f324bf28dab2fd3f180f93cdf12d", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/stdlib/StdlibModuleSource$SourceFile.class": "424d0dddb8a275cdfa2229557d6d93fece8a4a859dba73cad1df78cf5f975de2", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/pbs/stdlib/StdlibModuleSource.class": "7cbfb01859afdcfb967c58c93ef7b2aa0d5a4d4ec4f88d496333e8c3b5764a38", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PBSFrontendPhaseService$CompiledSourceFile.class": "b07de52d5054f63769dfb7fcdb6f03d613e92cd5b545823b453f1b52569eed39", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PBSFrontendPhaseService$PbsSemanticReadSurface.class": "a18828bd785d3b660c5d7a2fbb89d68712d5c2ce11e74fd686c7aacb02876bbd", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PBSFrontendPhaseService.class": "6e2acb634ba0f35679fd6e0c4b751c55b54adf2b041feaaea6fd079a8edcf158", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsAnimationProjection$Generated.class": "f8dd9ec4a9d43bc747a394f73356c80fca9194ab3fc7a520bb3398b7e946a4f6", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsAnimationProjection.class": "a4f032d4b028c235ea5041629a6b1cc6914c30563600f2d3211c66483b24c154", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsGenericProgramService.class": "cde455b07a73715675879910ec7c07f46ea11dfc7b676db9fdc08cdffdf5ce27", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsImportedSemanticContext.class": "830ea19618795281c36b4613a9f640ba5fd42d36f0b49375119926ec86f47332", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsImportedSemanticContextService$1.class": "b3b4660a83324300670eb83732f272b43b70526f36bf482570e9aa98fe086da8", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsImportedSemanticContextService$GlobalInfo.class": "0675117dec1d5170c6c82df928c0c0cb5be08de1ae6f006fef1aeeb393b2f555", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsImportedSemanticContextService.class": "2a143fcc89c370c323676a41665c48792d4df0098f2afa2e66625c22cfabac23", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsInlineHintSurface.class": "354708e8dcf40fe40ac204a3757ebf10b095ad2885c750d11a1b83b3c75df838", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsModuleAssembly.class": "5ce08413f84fcc9fbf8ce989bb4fc5228cd907fdcd706d0930a41f0d517ec12b", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsModuleAssemblyService$MutableModuleUnit.class": "9a4c3b6d76cd94d5d8b9c51e8e722fbf40e407a10bf98b2e6d2164618d87ec4a", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsModuleAssemblyService.class": "a5ea5625bf2e140a7ac6a49401aa9515ca6dde464ff4d272695a1087f772e725", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsParsedSourceFile.class": "a8d5e61d4974fe1663bfefe9fbfa7136e4ee8655e588278a3228948fe8519195", + "prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/p/studio/compiler/services/PbsProjectLifecycleSemanticsValidator.class": "fcdf53272e9227e454e61bcf77e65e81752acdde2cdf6a3b2ff8f6b26e95ef94", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeEmitter$EmissionPlan.class": "7983e46111c1644131306146bafcd5c0a2b973d837ecfea5255f40e716d82eae", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeEmitter$FunctionPlan.class": "6038e8c405022906de01421b7ad6cb30d5dafcf510dede3f2c5964049e8f8f2e", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeEmitter$Operation.class": "8848b3eaf4506b9979c9dc2fd3f15ac7f99372025920f30aa94b211dbb1002ad", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeEmitter$OperationKind.class": "b0714b64e34a01e544e043d9b5f7398fcd0f1a18e20fec6987c4db8005731df5", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeEmitter$SyscallIdentity.class": "4c1ac1aa3d7f0a652c0cd6e61fe6281b2b0152de26385751ecbb53ff76c4bd7c", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeEmitter.class": "43be46c137b71fa981b6ad44f82b81ea50533e8bd752d8fcdba4d0bf39354836", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeFunctionLayoutBuilder$FunctionFragment.class": "a0628f7365bda8c309ae04d1844a57c42e996859c6105efc52aea0d6dd0636be", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeFunctionLayoutBuilder$InstructionSpan.class": "fd4cddcab0a62799d2c4817a7c8a4d7d61dc17e195c073b937738c2b44bbe0d3", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeFunctionLayoutBuilder$LayoutResult.class": "01e445051450d97a4915c36899970b090ce34e9d3d9940c5d6374e7f59651626", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeFunctionLayoutBuilder.class": "8654908b685586c79eb7521b911d760cc5d0f22d68fba016f74fca897acd8891", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeLinkPrecheckService.class": "e5645ad0aee80bd994a633c5aaf6a025ee7922c06bb4d27151c9fe15b5d8b6b8", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeMarshalingErrorCode.class": "913fedf9af5da1013bc0c95d2578e962e83b9ece98b28c099309fcc515b43441", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.class": "d97ca61af7bbd79e19f4a9bebba782424963acb47f863ee843723b9d40068612", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$BooleanConstant.class": "f0055aadba671e1b7a58d76d9fc8d164bfb6127ad8cc992b330892295ef9dbd1", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$ConstantPoolEntry.class": "9559d3f2c4739c1e8ce15257da1059933ef67f09873ef377cd4b15f8bc95f622", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$DebugInfo.class": "bbf4e957770b55ab2d35617e1b360f88d93cf3c7f3e96ca733426d1c46901104", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$Export.class": "03c875ee910c2be915fc5e4338ce05b5ecb30543f39c8158866a0cf78b24fb9f", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$Float64Constant.class": "397e2d3277f0433827627f45e612762c5a460bc3e7d6048d1b85c6e1cc5f421b", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$FunctionMeta.class": "e08ad5ac3b75fd8a2991dd2ab7ba30e8fa59429a6afd07cd689168996857f3ec", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$FunctionName.class": "587593dabc16eaad7d4d1db32fbe7013b1803f589df0f00029da752419111419", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$Int32Constant.class": "116102c39c9852546b0079cc7abb23f6e0e744983e706ad3df891019ba322799", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$Int64Constant.class": "435d241d2465402064a4fb9a8fa9bcd4e9347d94de234630c007dc77e134d1bb", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$IntrinsicSignature.class": "09dc98dc7f6d1df0175e6810a3c56ae49f6999c38c5862febfc3bef2693e312e", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$NullConstant.class": "2d74acf2368bc76cb605fd3159b0d3def74259d24ccb879d204e75ec16478a26", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$PcToSpan.class": "74490f2c9528fb7e2a9e3cb8f1b0b641f81174a8f6b9a9c65b1a4c7d88d3c9d4", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$SourceSpan.class": "1bf1612206f9dc9fe36cb42305a40c3f00317763fac33a86c7b70cc097254c52", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$StringConstant.class": "b56d3703d2e019d87301e3d97188b13c4b0f7b268d1849f95e3f5dff4135198c", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule$SyscallDecl.class": "615b891afcb6a63e835bc9c4a7c4ea99d65727b0f76912d88aee7d5591673f96", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeModule.class": "19ddd83b86accfea0a342fdcc02752b2ca8e055303bdc4c38df1e8039d0bd9c7", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodeOpcodeLayout.class": "313ca0a33ed091d57bcb0f2f65b039d461e7bcf124c0af2ae4194bdb4afe276a", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService$1.class": "9553d157b283dce2d615500f1738b8a51cf908932589a97c317c35e3a5d983d0", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService$Fact.class": "12ddd00d89d71fc8dfbf8a53d3239bf5f73d3d7d4ae6db5823300c9b0e05b5c0", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService$Instruction.class": "49062e661e5fb285994a34f3b6a7cb051b99439208c178132bdb547be9d8a535", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService$State.class": "3f11359da051be18590c902eaada26b9fc36d3e0a1696d5425e7be7ba5f8c7a4", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.class": "4b6b49863a18fbe26ea32c368adad1722450930f865e3fa7b20a43121d355e6b", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/PbxRegistryWriter$Bytes.class": "fabdb19b61aaed0705cf210b287b859a00996d86f53e568acc8b40f668fe50cb", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/bytecode/PbxRegistryWriter.class": "88e7d88d0f17c1c5e6e99903962c4085a6bf9ee87dcdec07e8cfbc4cee4e3c49", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMBuiltinConstantDefinition$Slot.class": "09d9a1e81375c204f4d8ba45d4dfdeeb06ccc7e1fdea92b00ae9e8705475dc1b", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMBuiltinConstantDefinition.class": "5c1e898ca90dfb2bcc142b26b9a903a8140a0e3306871bf8f2ab4140255ac8dc", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMFunction.class": "08ec221bd8fbdfc7730c8d753a6feb5249115299b109bfffbfcfc6f6c374b59b", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMInstruction.class": "e6647827ca17fdcd313c3b5ddb23b8365e969c1ab4752c12714e0110c79f9cec", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMIntrinsicDefinition$Carrier.class": "769696da696dca391d700f4f8d3ad41c95c193e6d2a49bf9f921fb2dd1ef928f", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMIntrinsicDefinition$CostModel.class": "32a50dc98e0ae92d82342e0e34bd3f50b4b747aa1d545bb74122190676b329a9", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMIntrinsicDefinition.class": "670044f748312f6da00e5c16388b22193495106117292a1ae9595d491bdff2e1", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMIntrinsicProfile$1.class": "065ec136c8f2c707e27f9752cfe8f973c59f0f52ee93d037c4e18aec35e7126e", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMIntrinsicProfile.class": "85b483e9ef9bed6e402563e85224ca933e2a73bb3e423329a4cd5429dd41f2e1", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMIntrinsicRegistry$IntrinsicKey.class": "c4a2a3741e99afcbaab92ffb55486c626437592e9cb4de4b24cfc27ee748c67e", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMIntrinsicRegistry.class": "912633c43918bcbe601877289c2c1fa138a6ca2a37c1e073b695a66c4f914c45", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMLoweringErrorCode.class": "aaecc597944160f4e86009c025a9b286921e4bdce4f2dc3508ef5d54ab3ba4cb", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMLoweringException.class": "f531753b23d21b5be1700214dc08dd4cf998ed8133a346669ee35c2031c7649c", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMModule.class": "4ccda6c396b23e430c2c4448b317a13719db2e72a9d938a4b419706f73b8a8a9", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMOp.class": "960ecaa180905aa54bd656bb2e63a673943fc4865b36df7fc9089dcb4c9c8ce2", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMProfileFeatureGate.class": "29be390d7191553bf4322388784abe8ced76bc9ea878b8a29cd3e82703411727", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMProgram$1.class": "2e965fe753aa1351e717b1eb6201d36bab662e08237663e77a7a92ec7dee552a", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMProgram.class": "08596eb66fd7804977713a42962cb514a014ef08e554aeadf55f0169a625f394", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMValidationErrorCode.class": "366cf9d852a7d7ec812074663728178f6b6436557b77b10c08d3081d735badc5", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMValidationException.class": "e7053e8a46aea2467eded32736f326fba189611f0bd635fcef1a75381ad8cbe7", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMValidator$StackEffect.class": "e7489b4ee6628a0a391c1bee9a9cf0e018d4c76ba06dd68f98c51400867c9df9", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/IRVMValidator.class": "4a9b44d194dd4b2945b3b929059fda30b46c5a154d0c01eccb59982836b13065", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/LowerToIRVMService$1.class": "ed50facbb75de17f85f4669366ca3455f3542c56939054de0091c664d574c797", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/LowerToIRVMService$JumpPatch.class": "ce32340e4e5a6e7f9d657473f220ee252469b42223f14a537cf1f1452f02ce6a", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/LowerToIRVMService.class": "8b69b5a6dc9a0fb649a41097a1a14ef8a1e049872190411f83bf4fb3eb1c189f", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/OptimizeIRVMService$FunctionRewrite.class": "21c5324fd26ee233b9ee21dace96c7f4de8c3e82956bc84b2fedc723f0d3a199", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/OptimizeIRVMService$FunctionTransformer.class": "84750dc64def66a90d4405505f6de3c5d329f06bb1b22126b2006acce64fc115", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/OptimizeIRVMService$IRVMPass.class": "3f2b43b130fc4cae7248d502b32b98d69d38368a40835764ab5503310f684701", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/OptimizeIRVMService$NormalizeRedundantJumpTargetsPass.class": "b82cd7afa4941afdfa12523a0972421b1c30de172b0a8a99fe2289f3ef1c1074", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/OptimizeIRVMService$SimplifyJumpToNextPcPass.class": "8df6009581e899dcd6af6c359522c27acf8337cdbba1ded26160a5928f14d94a", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/OptimizeIRVMService$UnreachableInstructionEliminationPass.class": "30d05071b5e1d4e60422c9de63fe70188ad201240edb701f3141275fc15d9199", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/irvm/OptimizeIRVMService.class": "0cbd495d74fdc5b725cdb97d7f269538e709f6b44b4f0867ea1d34f31051f608", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/registry/LinkedRegistry$FunctionId.class": "3e7b74888c9a822b7f624cdf1f666766b3d9b093978758336461abfa233be4c9", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/registry/LinkedRegistry$ImplementationId.class": "d515e553bbe6c3fa492f7f6972b952692bf76e5a29957f75552eff318e71dc35", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/registry/LinkedRegistry$TypeId.class": "561412bcb22ac7a4f8fe592ea9c11d2323825996e191de433085e26cb6a6e6b4", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/registry/LinkedRegistry.class": "febdd1b6624279976b850a9cc973e973897fa511acd0c5de8fde41c1482f2346", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/registry/RegistryInstructionLowerer$1.class": "f6fd5daa2d6bc685b555fa230837cf36c10298048e7a1b198ff0f3f2d738ba4e", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/backend/registry/RegistryInstructionLowerer.class": "464da989607c008ccd3c6014cd6f5ef7619476918ece1fd10ec7ee4026c4e191", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/lifecycle/LifecycleAssemblerService.class": "d0b6fd6d6cd75e53d3f5c84ffee5fa97a4b565698aa5fbcc5e3993ad303c1df0", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/messages/BuilderPipelineConfig.class": "2d7dfbb026121300eb9788429fcda8123c824ea4943d3297bc5648c784e4f683", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/models/AnalysisSnapshot.class": "a181de8d82b0e7be47a2de0fa732c06d18f4bdc5bd8dc0d8f207d4cbee78ade7", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/models/BuildResult.class": "06bbc3491e9c6e23bfac122895a5af786f1de99f6f21f055064972751c35803e", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/models/BuilderPipelineContext.class": "1ed916e20912860661507803096bd0d0360d0520bdb021fccf9ca67f11c70916", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/models/CompileResult.class": "d3ae239fe9cea0bd7bf2f901fb22d0c50c4f79d1d87e3940bdba3bc787254b06", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/AssetSurfaceContextLoader$RegistryAssetDocument.class": "5a37c7076a62e2faec3343fbb9fb54de824da675f27ba89d5d247b0920b802b8", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/AssetSurfaceContextLoader$RegistryDocument.class": "c11745ae5e1b624be666418e36395c63f1b0f65e939f2c2b983bca5fca711f96", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/AssetSurfaceContextLoader.class": "6d897040a1898891af181f8c1cd99f803d56cb9f3d5f62a236be09ac3414ce99", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/BuilderPipelineService.class": "427381c7844d4cc0f407d0b56703cf9637915674e7475b62b1e9fec9b00016b9", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/PipelineStage.class": "48d280b0755f73f6eed03453c1c56fc81bc0dc0e15311c15d4b1d15c4c21d79c", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/AssembleLifecyclePipelineStage.class": "d7381aa3417785f6f7ccc6663ba8d53cdec2ce99e98756f64488418486130be8", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.class": "6cc10a1873f9128de753b92b7fa1f97964cdcc237760e1e64b8e01368089ef0a", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.class": "5870c3a19a09175c0df70829d8114f76efb972a84d0761d64013ac6c1f81f36a", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/LinkBytecodePipelineStage.class": "03b0894037d7505193bc13fa4e163bba23ecb44e7ca96b3a16621a976c93d8c1", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/LoadSourcesPipelineStage.class": "d919d7e81c8818bac533ce85494fcb7a0d3968b1010c289ea067e19dda52db34", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.class": "c8c0936067b05a84c95c92e8ce44a85570b85028236923c5da6666c6c56b0a08", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.class": "ea045c37470964e5b29e18880883c5a2c1008b6c22d1ff70c125312f6fce33ea", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/ResolveDepsPipelineStage.class": "7a308978b0537d20989b27049dbad6bffbfb87b937bac49f4f26cad22c959b39", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/SourceCrawler.class": "aefb8daad38be31d026549ec0ecd6a7382b6edc4bbd669ba119e2c25d6f873ef", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.class": "d43b0ba6ae10517107e0449ecdc70cfb3a7702cb128a149ce64636387f583736", + "prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.class": "5d860814d9bc2001d2377dd62e5cb68f935b0e4a7b2939b5949317322e1bdfd3", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/exceptions/BuildException.class": "88f167e99fbf0271e9d2873dad8433df6db107d9842c61d07027fbfa8166f280", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/messages/BuildingIssue$BuildingIssueBuilder.class": "99e7f417fa29c0a4f08e9ad5a44b14f31d9870a8baa5a6e2e859faa62b8ba6e9", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/messages/BuildingIssue.class": "33e3e6f74a39e72caf4f4ae6ef3c334c450fa807c40d41256fdc493d4d24f530", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/messages/BuildingIssueSink.class": "928f68e9f306d2e805eb83a00b182c99af4567d47b6bcc25acc5da4063d0e005", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/BuildStack.class": "73e49d6ae49ba1daa22bd70af86d0267ccfa30d21b2c4fc8b8c46266e3aaf5c4", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendEditorPaletteSpec.class": "c30dad020cb00516859645fb9fec2205af0b0aceae5cff09427eaa0e71bc42a8", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendHostProjectionEntrySpec.class": "b5c45f9f96fecc1e51c8ff29170e25f53ed993e07e9792e01cb1feeb13468543", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendHostProjectionSpec.class": "2ac0e069503ccd27c344b97ff48d18d9881b765957f1793014dd324775cb7553", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendSemanticPresentationSpec.class": "3fb7beb4438e0c951e278fdc4ec99fdb4a9dcd6bbe64d60978870620ec214684", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendSemanticToken.class": "0423f86d7899e82602045415151527e04a7000c32df77268628ecc585069bfb2", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendSemanticTokenProvider.class": "8bf474b2a934b0c738e52ba343b360fcefdf546b9dab090bc23f4a568f884c6e", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendSpec$FrontendSpecBuilder.class": "c4319c64cb7dfd77aa5197a466a2f154254c538fd420fa19449f10ddf41a1b3c", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendSpec$Stdlib.class": "7efdcf33b140fa3a4ae60bcabb470271868e460beca4e1d84bcbab9899dddbc2", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendSpec$StdlibType.class": "deddb6cf4cab1ef53c3365e4e4799e43fca8b2560f35224b2be7d679d3ceb1e8", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendSpec.class": "de5cd522cd853b99ee2f3b338dcd5ad00b4a8ad838e22ee3d57c45ea51d7a3b3", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendTokenStyleSpec.class": "eb536061a13567caac60d9daed56c07ddcf201e6a3c133ee5688abd6e192e4f3", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/FrontendVisualThemeSpec.class": "c34ab778d8b764308c1a5cc7ab314b19da5c33ae168f8e2d561927a9779e57a2", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/ProjectDescriptor$ProjectDescriptorBuilder.class": "74362acc7da5cbfbcf72538cfb08afc87ba1dfd7e7b50e5320a352ed3c496695", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/ProjectDescriptor.class": "06bc43dcb09edf6b5de82a067172268624230b409dfded46208344583989e09a", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/SourceHandle.class": "bbcbab67d35d040b49e7c864486d54f79fce869434acefcc8908160e5972f95e", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/models/SourceKind.class": "fac059f2b25a7bcbc5650c8e8cd5f9e76cc9cf9ba30f2b1f949bfd665fa8cd1e", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/Span.class": "3bc617a3d648d41e904b5dccddf97ca9800cfee571dbe30e03555250f006d0b0", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/Diagnostic.class": "e5fa51da686dbc8b750ac1b56287da958862cc967140a30b18a07d6c8c5ee96d", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/DiagnosticContext.class": "cb2e4ec4f808b9d7665152adb60e6ec1a46a63f958628ff4e65ab1bc000bb977", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/DiagnosticPhase.class": "8900859185dc07a3c556a36351b00813ae06107dcd4f37aa0f0c0e005363ef07", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/DiagnosticSink.class": "e5a05ccd64838394370e08df5d702ed3fcede1fd6996865f4a6c2eded9aaefa0", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/Diagnostics.class": "6053d99953e1c80f64ec9683b16d09e463ae32942789b2b7d4484764b1fe1867", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/FailureKind.class": "22cd1e1182e36a3b539baab3b5ad96a8f37befa538ded8e1e2d4e2d39718424f", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/RelatedSpan.class": "5096e27b88be19f1b89cf504e966ca6ff12b9e859eb47fce90d86faa7db1ecba", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/Severity.class": "ffdbbb6048b5a40f94eb41c4364939c1710f6f88f2e8029898d6b3e15f085c77", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/SourceAttribution.class": "782f436caffc93cfe93ced11f01abd2147aacb04d28263381c6d958a34b985f8", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/SourceReference.class": "2e1b237662f0d8d9f662bcf12bc17fa78974cea090044ecd4fd9c84fced3f2ad", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/diagnostics/VerificationContext.class": "f048744a10e2eb1c1333de97b87d32fd1c1b7b7079b9987ee4d1415d41330e18", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/CallableId.class": "01ea33a330865ec2e8ce8684e90f2ce1f49f2238770a40d7125f85d481c549d4", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/CallableShapeId.class": "fa19711b2c2ebd03ee0801d357aa3d874a69aa06bcd9aefdb80afb8b6697b77a", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/FileId.class": "c8737d007cf13f0cca1c5b3408652861142ccaff1ca31c44a329c5422aaed58e", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/HostBindingId.class": "162afbaad8209b5c48d053004cb2acc993084c1fae1f53b72fde1682566e42fb", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/IntrinsicId.class": "1e4e32bdaaa0b00e8d12c279294f63a8efdc2de0c196f7aa5cef04f71a72050c", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/ModuleId.class": "635965047bf9d06d90e8080b67c457f79b47279ae63fa843df57af65c5c02dcf", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/NameId.class": "dc2e279713166e303e033b5ab45e1afc137e5a55a9a542eb943f181ef63ac3d5", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/ProjectId.class": "2d608b942e65cc3279fa7d9018650a641f4b7167664a8cca693eb5f973629750", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/SourceIdentifier.class": "513c0345b7ef25f49bcff382489fe30d99e6c255d8419297c948c7af34a3d13b", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/identifiers/TypeSurfaceId.class": "6ccbf2646b52cef44e07238a48d5a9066982430bb59c4e2a1adb02bdf12f6def", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/CallableShapeRef.class": "405b692bd9e6e2cfba7f34e514a7a25cd626e4712a866808c41aececa2e650b5", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/CallableShapeTable.class": "a22441bc0e8c4a9880cf67b813aaadfa6951379885f1f01250be7cb1681f6ee1", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/CallableSignatureRef.class": "92daa97a5c62f583d2a2a34837f8d2c7bd4cf3ec721e71ddf0eaa0c988450ab0", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/CallableTable.class": "9f7a65c37ab71faf37b544ce8e24cd5f280399783981eba9e6a5a3e24ca8d081", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/CallableTableReader.class": "4f0ac6f8d087942c9d4bcaf47708b8f6e4c4f0b7d65790d8af1a0db2e9aa990c", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/DenseTable$1.class": "11951ffa015d262daa45ef30e998546313aba85fdf412e2e0c171a1100a7a252", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/DenseTable$2.class": "c00fe308f0037f8f788166f5c88bc33fbe3b5bf8aed466b24ddbb6f3748bcd1c", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/DenseTable.class": "74844fc255ee20586bd3eb0997bead865eaedf334d59023af37c9bd01ba74bda", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/DenseTableReader.class": "a8893ce1d7f4409c62e4e2e4c7f0ad0cd7995e21f50ebe302e27cadd807bf0af", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/DenseTableWriter.class": "f06e2440a031bb8d02b043b14fcd7209830a9866135251d742d5343bfd5d0638", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/FileTable$FileIds.class": "749537cc9a124e21d2fe8eb1076e148a6f8fba26acb0ed894f6b6f06d06e33b0", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/FileTable.class": "da058488f472596cb85f75c3b43548ce377fbc3b614a6bce51373062aaf82605", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/FileTableReader.class": "2de79a8d21a4953ccacbb522af4166f6914f0a897e30f0bc2ec7e39a918fbb3a", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/HostBindingRef.class": "9e5ac8171d4f242a577b93c9b12946322fb487a3af283fd90bbc1211753a2bf0", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/HostBindingTable.class": "fd51a795600e8bfe27711991335538bdabeb20d15e8e5b7920c268487974f134", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/InternTable.class": "4bab3062e0102f91723317814e75997041fcdd5477e699e1768aa7d4d3715fa7", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/InternTableReader.class": "470cf901204fc654689c884cb7980450f083ca695fd03f3edbd9ba6f840584c2", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/IntrinsicReference.class": "7ecc9827b9394b995a6ffec34d6f355ba7858e27d37b321805416407859233c5", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/IntrinsicTable.class": "f3d272d5d2ed1b5ff9d702873608bd9717a333aa4c83fdc820d857aacd5fc6db", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/IntrinsicTableReader.class": "7f95a608bf25ef351c917b61edff672fe152de9a4a4dfbc5c6ce5aa41c10a59c", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/ModuleReference.class": "91fe905c579456f779bb5c2c5a8f8fbe27131010743e2440296edfcadf76bf84", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/ModuleTable.class": "43ddc12fdffa9dcd56ba0bbb53ce34174661ffabf0b9cdf88d69199af6b866eb", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/NameTable.class": "9eece91ebf6b9656d8d66545e07538a12b66ba31e1eca76b862fa7cb3756db4b", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/NameTableReader.class": "13851b0c6bf8d03fca847a2a50935f52ff876ba9e52a8ff9339e4208d0a77b92", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/ProjectTable.class": "1917162d28748c967d7ed227ee587b6bdd6e1bba7d12cc01e5fad6ef7408ba37", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/ProjectTableReader.class": "217b989e1b296045f6de01c2f8a5af73a853cd8eeceafe22590e66e5f336f2b7", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/TypeSurfaceRef.class": "870b6d6d354967546264def7949e63e22589f39287a160e07b2b2dbf8d51e56a", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/source/tables/TypeSurfaceTable.class": "8f65128eece950e4e9534ce74f4e4e0215bbc21f801333a3b3084b08a002d372", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/utilities/SourceProvider.class": "ecafb34508c8a6a4d7f5899573654f536f707d0f06c01f7eb7c31a7ff98518e6", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/utilities/SourceProviderFactory$1.class": "8092f83a2562035c4c202cb3ee042a38e2585aafec6f9670f775ac5ddc956ef7", + "prometeu-compiler/prometeu-compiler-core/build/classes/java/main/p/studio/compiler/utilities/SourceProviderFactory.class": "fe7cf5069e459cb09520b2440112593c76989d9e1e41cf11a723152b1409e260", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/dtos/PrometeuManifestDTO$DependencyDeclaration$Local.class": "278f8bef7b432b3b5bc7ef3c9a3dac82fb5dcf61dd688d10e0f366560d288e04", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/dtos/PrometeuManifestDTO$DependencyDeclaration$Registry.class": "1e7c6d69de53e0a261d2b52a24f4be86ec65277443f2639ec6600010b70be21c", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/dtos/PrometeuManifestDTO$DependencyDeclaration.class": "657deb4dbff6d5c399531978a90663b5a1684b6e2b89f41e576a69e389742f67", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/dtos/PrometeuManifestDTO.class": "39956f308b8d684d5913d58e5c7054275e64684d6d91b7bf4f1cbe8c03736a3c", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/messages/DependencyConfig.class": "ff297f18c20342e993d273306e0073510c0f64f41d0c119466ef0b56ad758da6", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/models/DependencyContext.class": "b0a0394473f37c34566c45e2ed168ed94effba8b93c4123f3c00c1dac1874a8c", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/models/ProjectInfo$ProjectInfoBuilder.class": "f8fdaf881c421137a39465b7e306d760a0402ceaaca62daa360bac6188aefbad", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/models/ProjectInfo.class": "d0266afd454a0cdf443fc729956d08fb651a036036e486b655758ad613180602", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/models/ProjectInfoId.class": "ea2c653b837c98e5c4127da5538ecea2a84505bf328934d0baafc94a9639f903", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/models/ProjectInfoTable.class": "131eff70790c988a83606630ba1a20b2a1e671805f316e2d70948e2a29adbc47", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/models/PrometeuManifest.class": "efbebe92091a36bdf339e0928f1c99669248751fe93c27f522561a49c265754d", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/models/ResolvedWorkspace.class": "0878ed8f6b37d9d76d4bd4e429e018d144427f36b2ff97a6d3aedbe95726c38b", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/models/WorkspaceGraph.class": "92f373da1f1c1321fa4eb4e1afcc9b3f851f0126de3dc544e12c29587fe7018d", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/utilities/PrometeuManifestUtils.class": "1e2a7f10024fca5617c432ed19d349f95c3f39e430ea936825b2f46c11dfa25b", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/workspaces/DependencyPhase.class": "0f773b79e58ac67fac4e49b8d0acde1c0f57bce818819e2c9df1a75581d3a46c", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/workspaces/DependencyReference.class": "58014ff15eb1909184c8ad3920e28994ac42ea759581ada363bb3ad36049a037", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/workspaces/DependencyService.class": "3d58154558c7832296ff99a97d6f30b6c05891e629fde1c421a385711bda39db", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/workspaces/phases/DependencyResolver.class": "a0668be806527285ecae340059d69095949d8975ffc567659fac117d7c513a60", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/workspaces/phases/DiscoverPhase.class": "361f60dd24d8829a682e88230e453d8d80f1ada9628826e6f272c5d1f020d3b9", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/workspaces/phases/SeedPhase.class": "72ffc800454c0c989df039b48d43fd77ff0aa9183ceb78c18311f463faa6f1e5", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/workspaces/phases/StackPhase.class": "27ddea974b804874e6f217a93091e8a7749f8b53487937affe4b27e1ecedd738", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/workspaces/phases/ValidatePhase.class": "c7f3f2c498021c14f208a893939003f1c622743f12275e6ee30ed86359747a13", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/compiler/workspaces/phases/WireProjectsPhase.class": "ccb41bc2173907a013db5dc94cb2b356e2079eb5eaf6d53b1197bedf7b3a0bba", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/registry/models/ProjectRef.class": "87db15da8cf55da3bb48e026cb82462aedea5ae5e9996f3dec4e1825be16fc36", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/registry/models/Registry.class": "c9339c1af6cce6be5260b670b4da309c565cfae5ac9a8a41c8b348be9cee6a7d", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/registry/utilities/RegistryStore$1.class": "481681c3bbec8ba2945349970aa67f30e582a15723358fcd0a42b8f21755ee98", + "prometeu-compiler/prometeu-deps/build/classes/java/main/p/studio/registry/utilities/RegistryStore.class": "b88c6cf6f5a1b53682b9d7378fbc4f0d2da0907b753c9992b1c4b67b9d49d4bb", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/messages/Addressable.class": "f11a09e869021dd46a3334dadbf3b4c9ba100fb9206992fef17347fce833208b", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/messages/FESurfaceContext.class": "4e4fba149ce35670a73e274dc1813ed14e6ee0385f6aff950f3d555f6d722d61", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/messages/FrontendPhaseContext.class": "89b00a564292140ad05846aff55cf2d6ec7d9e88c0e022fb59603cfb0338b4f7", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/messages/HostAdmissionContext.class": "4d73a8817fcebbafb8fd6d84b8854a185fa3dda55bb8e16100066faca65fce8e", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackend$IRBackendAggregator.class": "5920962cf60019e125b7ebae24037e4b6ebb4a51a6d79f77356772856976c731", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackend$IRBackendBuilder.class": "52fd815eb9791b7a6b694eb4d07f45b72ac95741fb9c96898b4b11dd25178cac", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackend.class": "418403f46909b655058dc514c1721b37a0ace2eb8687222f7bd7012db9c81cb1", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackendExecutableFunction$HostCallMetadata.class": "e2742aebddb2f99810feae09a64b297ee3a12a7600899e481fb19d7a3681943e", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackendExecutableFunction$Instruction.class": "bc05fdba90f5e4f61be523d4a4327aab63b16ac1cf2cbd704129841ec342c33a", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackendExecutableFunction$InstructionKind.class": "e46d02326bec8afb5b8e7acded05d52b420f058dcf66e5c99ab645f0bcd44f18", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackendExecutableFunction$IntrinsicCallMetadata.class": "02effd36afca8d730a6ee533d9f9a8cc07c88f731a4a9b4b3a9744e7d366e44d", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackendExecutableFunction.class": "7a20f789574b10e987f7d9b8df93b37e7c74311be39873ebeef5476b0cb182c9", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackendFile.class": "8e55dda3f4d992be5a006435651b9f5a5f2db8d42e32f2327e213a563033f7dc", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRBackendReader.class": "aa50b49b5832f6625294c8a133463fb3e6754b6db30c40dffeedb8aaa04de8cc", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRFunction.class": "8a2acc2cab006d8d02ef63c563d066101db9601a112b615affcf9190c4b7e1dc", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRGlobal.class": "398e578f9c8bd174f69c50eb5b8bee0345d65f0f4034d814c1accf036632acac", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRGlobalOrigin.class": "e9269ebc139a82a72fd6d190e015b48deeb0016263631c3f867e1fbfd8e67238", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRGlobalVisibility.class": "546da2832b3139e9cb5ea2de80ff95cf4eb82e2ab82844e0cede757917a7f681", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRHiddenGlobalKind.class": "62a320f8137ef0978392a2259ccb4c624b2c9c7812df5572e59b71e3d16674d7", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRLifecycleCallableReference.class": "b8638001032045be4a7dc42e5a93ef49abedebceca872ddfeef73b9c87366e17", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRLifecycleCallableRole.class": "a35fb52309ff66c2a5a41b02c6dff9e1d35a9d46a5a929ad0f81997619d7446e", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRLifecycleDeclaration.class": "add6095a5ebfcfaeeaed80b08d80fc19677f8d7843a5be8107e04caf54d6aa45", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRLifecycleFileDeclaration.class": "958335c859aface8a79f13854f4007e12b5888a63199b2a318cd2efcd7569069", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRLifecycleModuleDeclaration.class": "9d213d14486ab17da23be97dafec794ccb626e08f369e7fbe233892c57724844", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRReservedMetadata$BuiltinConstSurface.class": "5be6bd0079eeb6d39ee343e25f7ca8ebe1692058d54f281335d6517def561be6", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRReservedMetadata$BuiltinFieldSurface.class": "1974e9087895e8ecacf477cebfb31559bc3c5eb377381c7ad52e5f2ae1f760a3", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRReservedMetadata$BuiltinTypeSurface.class": "108ceb9f792bc7a6133a8bc5f939b2fd9cca8dab825538d76dc9e3430afcb0a2", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRReservedMetadata$HostMethodBinding.class": "fda07a1447e878f1c3ea56d8d0777c29f8b8f97ab36013079de786e7c3d5f723", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRReservedMetadata$IntrinsicSurface.class": "d66fa229855a14b45758b57274a5ddc36f449098968117d9516f6603ff9e715f", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRReservedMetadata.class": "3dadb45f15f7fd401b0202b0f79f5907af30455e7b8eac201d6881f8cf1d103e", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRSyntheticCallableKind.class": "26d8c4e2b99975e5218f24d18caef10408f170da7c38383b89c1960f06ff627c", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRSyntheticFunction.class": "eebfa5db7a77aa843d23d9f1c53ef4602334aaca65e629b1957226bba9504095", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/IRSyntheticOrigin.class": "a0e3c54dedd492fabd207360711811a69fe3de182034a248a1e9f5c6f2f76e49", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$Array.class": "07f50f0fb50a5d4306e68b097101bd737a175a37cecbcb3ae9e38da3899d135c", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$Builtin.class": "71a55aa49aeac8429acea1f99c42831223f311c9456fe14724ded83ffce2e6ec", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$Fn.class": "08570c56ee5e96808c84992bff85075b15f7c81c31d66b520d6039ae9559f95b", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$FunctionMetadata.class": "c73c0ab9a7423037f2011a0c36415bfaa383fec976a41aed28dd1b872647b85c", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$Implementation.class": "dbaef1cd905042d16aea829b40a5d3939d07c02d4d0817fae3593157e6e3aa83", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$Method.class": "3bb61189e634647804087f526bf0ff0ec3790dff6656edb66765912b4edc19cf", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$NamedType.class": "f6e248d58d2086a6b9b553ec698cadf44c4f1e10a8fd4765cb13fb0731ffe14c", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$Role.class": "3cab29aeee2c2cd85bb0ff5609cdf7c834d0aacc3e3eedb8f9f0c794589a690d", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$Signature.class": "39c07bbb73cd8f6bb6b524165331a8e77ac83e525fa3a7b98679b85da72b1baf", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$Struct.class": "d5419e1c703334cddd9758edc991b09f7df5fdedf3be909bb293935cc9bde5c4", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$Trait.class": "920af16e69228446b80e1e0dae0823bd425d71366f9ae3b08fd32b1a94cc8a12", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$TypeBody.class": "542ff0818e8ab78fee93336896d6c54116e342e266c60a087f0b156481ced6b7", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$TypeDeclaration.class": "33f427b41410e78e7d01cff88283288f6018430bbfd89e4a29672fa87d7c8aa5", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry$TypeRef.class": "e76c4c220acf7da1e379325f3aea393ae3de490ed4d5975e0c399651f6f0ae9f", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistry.class": "5e6859c8afcfe75ac0493fcfc514f48e0b1a08db4713f1d02c08249e61694ac9", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistryInstruction$Kind.class": "54644fe0887a8cc529db1b40af2e762db43b22b0b7cc3433b367a5356d641f42", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/models/registry/IRRegistryInstruction.class": "0344919b94443de97a3db8c72ade8abe7cfa7f3cdb60b9aa65c3c987f7af02c7", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendCallHierarchyItem.class": "acb05cf7e4f5231e86637416868353327b405c882b6bce5378e4e962d7e04e85", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendCallSite.class": "3628dbdaf4edcb0b1bdea2207080dacf96c59dfcd55b52e572bf137f9f6123cf", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendCodeAction.class": "5576799d8f9038feff5c4fc9b91b5aa01314bfa9e7edbc0bc546f02565ffd658", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendCompletionCandidate.class": "d551afd6dc1124312721c04f85e376dfe8a011bcd8bddc98e2ea0e02e45b9c42", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendDefinitionLocation.class": "799064b5ede62193741da996d655ed7ebb50f01a05c22cea6bcb29ef45c17c7a", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendDocumentLink.class": "ee9b2cd5edefae0b487d2ebf73bf4507325c4a9178342cc7cb6c908b412afaa5", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendDocumentRequest.class": "2fae1f9d0811bf2075b8dd281a6489057d54c65f24e69772761f88cdc0a0e871", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendDocumentSymbol.class": "f0968a1f807837e747cc2a3e128384d3cc5a272d883f31762405ea0585d87f21", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendDocumentation.class": "dff75c6b7235c7176d228f4c2b0ba59dc1143f7441fda8623ae93d45e6f7a1fc", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendDocumentationFormat.class": "8dd0a2e873161e51e8dd1fd75c2ee1216f0a069be70fe2df04a3c2c364254306", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendEditorialContext.class": "d2f2a69c22d809238288f16e025e8b4b46a1e31f3228a559c24b4efd01240d6a", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendFoldingRange.class": "0c279312332dd32784cbee8c4a8423578f21b00713da176ab85663140026023d", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendHover.class": "797b47ac2482c8d3f06baa81a1c488a36d7cd312649f55be32d8d31f8692d73e", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendLanguageService.class": "7b0ac75725191b0345422f7d397fa054096ac7271919798a39618de0d1768099", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendPhaseService.class": "52b18b0675a1a1cbde373226e3aa52ca1900549428e05d315dab71d9db31cc4f", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendProvider.class": "08c530a3480da82c6547097c8cc4903ab8cf73457364cb0cf293b336ebca6166", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendReferenceProvider$Kind.class": "9a3138f74ba86b9807bbe3cf5d74e210f9a2c34779eedeeded6ab7cf20ec1369", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendReferenceProvider$Reference.class": "c1441a69f01ae4799de0aafe580c5150805eefc66e01d994bad60b47c6991727", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendReferenceProvider.class": "01113c6c730a452bc644e2401d908bd8a9459179d5be1ccee8e9a56c383e46a8", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendRenameEdit.class": "32bdcfb7e294faf17bea0f1e47f0377eb6ac4d4dfb521ef5f15b8b8e2c6f2930", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendRenameResult$Status.class": "f14a927ac728810dae13f4104c1f5cb2e085ef60f10d8286ab63ba3ec74e7213", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendRenameResult.class": "5758f0132997e21146817a66ed1ef0b6bfd0524931ef3513c58f128a45621991", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendSelectionRange.class": "9314957a386be7ec749948462b371c5d910e939f484a566d074b38901d173029", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendSignature.class": "c6927ccfad2cccd1351bfe830076e0916230723c5c11711544b8758c7a03086b", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendSignatureHelp.class": "2ed380273b8237c28ac2b7597c75f5f7b981e0a79440a7d65321464c3adaeb99", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendSourceDocument$OriginSpan.class": "913eb034b0fca2a4ed8a1536e37b0f0f9254f8b1e0001ac44154f9afc9bf33ed", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendSourceDocument.class": "118ec8073670ea8e09853a0be8573fe69144bafcda761caddeaa48db44c3d9df", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendSymbolKind.class": "39e5e96812a1da02961d2bb0b8b84f63a9a7707c733aa6b495b7c9366abd6cc6", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendWorkspaceRequest.class": "80f69f3dea0997d308658e293c8a55a16c4cce51a56df4182dd3eedb7944d478", + "prometeu-compiler/prometeu-frontend-api/build/classes/java/main/p/studio/compiler/services/FrontendWorkspaceSymbol.class": "a408a44ff77619c5f43acdb38781319ed6be8b998361ba064f03c157b715bbc7", + "prometeu-compiler/prometeu-frontend-registry/build/classes/java/main/p/studio/compiler/FrontendRegistryService.class": "9f6ed4703450a582d980bf587d2ae34fcb9cee364e08b6d82e924e3b8f80aa60", + "prometeu-infra/build/classes/java/main/p/studio/AppMode.class": "62af398f7edb77d493027480afa61b672e91d0cb2d301fb46c40d1013db6c71e", + "prometeu-infra/build/classes/java/main/p/studio/utilities/PConstants.class": "e7a98ae30db82a5a9cca96a925bd7a2dfe2af6ac705f5d532f22bbbf79e9a219", + "prometeu-infra/build/classes/java/main/p/studio/utilities/events/EventBusPublisher.class": "e05b46df4b54efc96e37ecdefd166058c79c1ca0015eaa75cb378c1eabaca39d", + "prometeu-infra/build/classes/java/main/p/studio/utilities/events/EventSubscription.class": "882b89d7523554bf38b5770cafaaf8a327a60e77f6bc98bcf405777e9e03285e", + "prometeu-infra/build/classes/java/main/p/studio/utilities/events/SimpleEvent.class": "22f5f772b686b16529c928796cac27ed90424bd77c76e4ac225651bb47da5727", + "prometeu-infra/build/classes/java/main/p/studio/utilities/events/TypedEventBus.class": "b8bc78a992b80695c3ab62ba8919fc999323720a8aaa2c6283fef75d44cc67f6", + "prometeu-infra/build/classes/java/main/p/studio/utilities/logs/LogAggregator.class": "9cdc94eadb73032ee6a11e2aeb430b5d3484e2eb8938f742fbaa26d83c348e65", + "prometeu-infra/build/classes/java/main/p/studio/utilities/logs/LogAggregatorImpl$1.class": "bb802f191541de62cb6d5e35ba61b87026821b484b83fa07fe80e799cf9ea80c", + "prometeu-infra/build/classes/java/main/p/studio/utilities/logs/LogAggregatorImpl.class": "879f0c940dfddd5373c6af6a8abdedd4f245c86caa2cca570a94343053b2d9be", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/DependencyGraphAnaliser$Analysis.class": "06ec9fe626bdf11e2132357c2cf56eb489fd182f19aa19e8a6ca2fe2377f0b58", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/DependencyGraphAnaliser.class": "9b131a3c58cf9ff0eec517c655e03269b6bae287dd58198449ba3708bf334887", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/MutableList$1.class": "c4a4000cffa99073a4cca8ef3ad9c278b0a6130367f3ff38ac37b8dbb67d7a95", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/MutableList.class": "e123a4ae27b4da07d7753455a3de187ff88f08761c63018bc8d99be09d067bca", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/ReadOnlyCollection$1.class": "086e2c89840d673aec43fee1b7e537d50ee17ab1ece8afc71f5c32e8d17450ad", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/ReadOnlyCollection.class": "58d84d5689f20332dd4dbf334e7d6f025240e1cda322ec37bd4e37447681fd34", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/ReadOnlyList$1.class": "56fbcf31a381d822cd8d001d62b6f39433149f779e773a146eda93e4ae84d96f", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/ReadOnlyList.class": "6e79fd6c46b0901997b3e6135fc4c1baf6e3072b4245fc6dc8a8f9c5b9bbc73f", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/ReadOnlySet$1.class": "99fa34edf138677e788b4c52c5c9359f66397786ec89237302778e1d54e8fd04", + "prometeu-infra/build/classes/java/main/p/studio/utilities/structures/ReadOnlySet.class": "fd908b2edf2f860434103455cd9caddd700a2b2491ec8846ad3e1e805033971f" + }, + "classpathOrder": [ + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-infra/build/classes/java/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-animation/build/classes/java/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-compiler-core/build/classes/java/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-frontend-api/build/classes/java/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/resources/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-frontend-registry/build/classes/java/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-deps/build/classes/java/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/resources/main", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/antlr4-runtime-4.11.1.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/asm-9.7.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/asm-commons-9.7.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/asm-tree-9.7.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/checker-qual-3.21.2.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/commons-collections4-4.4.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/commons-io-2.20.0.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/commons-lang3-3.18.0.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/error_prone_annotations-2.50.0.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/flowless-0.7.2.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/gson-2.15.0.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/jackson-annotations-2.18.2.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/jackson-core-2.18.2.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/jackson-databind-2.18.2.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/javafx-base-23.0.2-mac-aarch64.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/javafx-controls-23.0.2-mac-aarch64.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/javafx-fxml-23.0.2-mac-aarch64.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/javafx-graphics-23.0.2-mac-aarch64.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/micrometer-commons-1.15.12.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/micrometer-observation-1.15.12.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/org.eclipse.lsp4j-1.0.0.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/org.eclipse.lsp4j.jsonrpc-1.0.0.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/org.jacoco.core-0.8.12.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-animation.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-app.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-compiler-core.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-deps.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-api.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-registry.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-infra.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-lsp-api.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-lsp-v1.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-packer-api.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-packer-v1.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-studio-api.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-studio-core.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-studio-ui-javafx.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/reactfx-2.0-M5.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/richtextfx-0.11.2.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/slf4j-api-2.0.17.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/slf4j-simple-2.0.7.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/spring-aop-6.2.19.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/spring-beans-6.2.19.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/spring-boot-3.5.16.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/spring-context-6.2.19.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/spring-core-6.2.19.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/spring-expression-6.2.19.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/spring-jcl-6.2.19.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/tika-core-3.2.2.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/tomlj-1.1.1.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/undofx-2.1.1.jar", + "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/wellbehavedfx-0.3.3.jar" + ], + "dependencyJarSha256": { + "prometeu-app/build/install/prometeu-app/lib/antlr4-runtime-4.11.1.jar": "e06c6553c1ccc14d36052ec4b0fc6f13b808cf957b5b1dc3f61bf401996ada59", + "prometeu-app/build/install/prometeu-app/lib/asm-9.7.jar": "adf46d5e34940bdf148ecdd26a9ee8eea94496a72034ff7141066b3eea5c4e9d", + "prometeu-app/build/install/prometeu-app/lib/asm-commons-9.7.jar": "389bc247958e049fc9a0408d398c92c6d370c18035120395d4cba1d9d9304b7a", + "prometeu-app/build/install/prometeu-app/lib/asm-tree-9.7.jar": "62f4b3bc436045c1acb5c3ba2d8ec556ec3369093d7f5d06c747eb04b56d52b1", + "prometeu-app/build/install/prometeu-app/lib/checker-qual-3.21.2.jar": "7e8554c902b9b839e61396cfe3a64c84ecabfb8eb652c410bfd8e4f5c1a8ece8", + "prometeu-app/build/install/prometeu-app/lib/commons-collections4-4.4.jar": "1df8b9430b5c8ed143d7815e403e33ef5371b2400aadbe9bda0883762e0846d1", + "prometeu-app/build/install/prometeu-app/lib/commons-io-2.20.0.jar": "df90bba0fe3cb586b7f164e78fe8f8f4da3f2dd5c27fa645f888100ccc25dd72", + "prometeu-app/build/install/prometeu-app/lib/commons-lang3-3.18.0.jar": "4eeeae8d20c078abb64b015ec158add383ac581571cddc45c68f0c9ae0230720", + "prometeu-app/build/install/prometeu-app/lib/error_prone_annotations-2.50.0.jar": "4667724877f1d37a689202da191e23efa7657c62eef93ccdac406eccfe5cdd0a", + "prometeu-app/build/install/prometeu-app/lib/flowless-0.7.2.jar": "56cadfc2e493f1de601998580b1ed6256fc158ef8c5a3379e4a45dc06724cf0f", + "prometeu-app/build/install/prometeu-app/lib/gson-2.15.0.jar": "96d3dd843dc2911de01cdabcd50064cb9e860353102a0a78c96fd833d396fc7d", + "prometeu-app/build/install/prometeu-app/lib/jackson-annotations-2.18.2.jar": "581bd61000ef7648943f781ca05689e56d03f6052748365a8e2b3a9b5d3fa32f", + "prometeu-app/build/install/prometeu-app/lib/jackson-core-2.18.2.jar": "d8054ae7c0d1c2d2f55d28e46026ebe5892881f3fab5f439233184381c3b4a1f", + "prometeu-app/build/install/prometeu-app/lib/jackson-databind-2.18.2.jar": "4b364e6850dc89172fcf1d4dd26b8ff5488eda44ff4657e22dd265203dd5ab3c", + "prometeu-app/build/install/prometeu-app/lib/javafx-base-23.0.2-mac-aarch64.jar": "1e0b22c5a79239df71f7658379d896acc6f37411ce78d1235d6c3839defdfbeb", + "prometeu-app/build/install/prometeu-app/lib/javafx-controls-23.0.2-mac-aarch64.jar": "39d923ab76f456784f189ff022a5437994726c79f40680540060a16cb259631f", + "prometeu-app/build/install/prometeu-app/lib/javafx-fxml-23.0.2-mac-aarch64.jar": "7f3c4c8e18dffa10aad345b931cf69e3d009a761c4beecf3aa9fbf4d6bb3dd88", + "prometeu-app/build/install/prometeu-app/lib/javafx-graphics-23.0.2-mac-aarch64.jar": "774f9d4980980730573e5b56f335203507522b7961953d8ed9a7a32b064c201e", + "prometeu-app/build/install/prometeu-app/lib/micrometer-commons-1.15.12.jar": "4b779cf7acb0534bb1f8e964f25200037ecb3944368f859a630fa637d6d5d7c0", + "prometeu-app/build/install/prometeu-app/lib/micrometer-observation-1.15.12.jar": "54483e68ed44af1bb0c36d1df2235d36f233e459d52f5a3be3e69813827a6300", + "prometeu-app/build/install/prometeu-app/lib/org.eclipse.lsp4j-1.0.0.jar": "ccd78893facc6bfcc359d56cba05d3d5b85eb41e4c40d4b4215ca45db5f416d9", + "prometeu-app/build/install/prometeu-app/lib/org.eclipse.lsp4j.jsonrpc-1.0.0.jar": "9647feb0524bf763c878e12ab878a684102b81cccb3f77feecbec709d54f9bbb", + "prometeu-app/build/install/prometeu-app/lib/org.jacoco.core-0.8.12.jar": "fca26db37c0c5fbd5dc4985237eb82866df9799d5082af899475a73f91f5b035", + "prometeu-app/build/install/prometeu-app/lib/prometeu-animation.jar": "14e8fa35594dc87d57ecb02774e8d59d01708b2f557707da4cb194b384fd6ba3", + "prometeu-app/build/install/prometeu-app/lib/prometeu-app.jar": "3f24abc05c248944a90d6a330579228cd204c17da440a1c7665a0a4eff07695d", + "prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar": "4d6230233da485576a083a0bf0e9ed1915ade6efcd780eb01e2fd7023c85e644", + "prometeu-app/build/install/prometeu-app/lib/prometeu-compiler-core.jar": "8a118a2f83fc1a52eed3688131e85e9a4d887100e6e2174668abd279864562d0", + "prometeu-app/build/install/prometeu-app/lib/prometeu-deps.jar": "83a4f709e35b92f5a559f5cdc177853c1eb836d38d88740959b0162c4233ccb4", + "prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-api.jar": "04f721e4afee0a9cdb4c86e3293b5bbe02aee6d903e4a529ed26c01df19d2167", + "prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar": "811c28b6cff04514dfd6350fc5be655c28e971403badb66eec9a9deea639c877", + "prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-registry.jar": "5335baaa8d105a9f7ad7968d66edbd104afc1da2b206795adb5f12259a104a86", + "prometeu-app/build/install/prometeu-app/lib/prometeu-infra.jar": "f13e51efc3c570f615bdae452ba1f309bf1c517f2a2b59d53c8bd2bc27b997a4", + "prometeu-app/build/install/prometeu-app/lib/prometeu-lsp-api.jar": "bc0785c9adb3ad70caf7aaccd8159a118742c01f20d3a08a8c0282cae731a972", + "prometeu-app/build/install/prometeu-app/lib/prometeu-lsp-v1.jar": "6725d4fea80249fd3e56996556b9175fbf9df5c1982f2a6c9376b0ef320a30ab", + "prometeu-app/build/install/prometeu-app/lib/prometeu-packer-api.jar": "f211af9711e0327b8df71df195ebb1932df62cd5e19c7cc84b376b8a25a40d66", + "prometeu-app/build/install/prometeu-app/lib/prometeu-packer-v1.jar": "32b6fb041012109cf9274578e9f7595458a2c796b60ce3f3925f5578992cba34", + "prometeu-app/build/install/prometeu-app/lib/prometeu-studio-api.jar": "ffea2fa8249e3f68ea6a24d5302f5f3c70bbbe0c61961f1aaa8607ee8d739eca", + "prometeu-app/build/install/prometeu-app/lib/prometeu-studio-core.jar": "32fe84d2e640ba30e8dc802b50651b95cc9cc50e9719ef2c92b93c6d092996c9", + "prometeu-app/build/install/prometeu-app/lib/prometeu-studio-ui-javafx.jar": "46f8374f8bdf84f429a469d4db2ff36940396178d3951a646c88ec661131e966", + "prometeu-app/build/install/prometeu-app/lib/reactfx-2.0-M5.jar": "bb1fc209cd9c057b17a48033d3794f937ba7a566b3c08b2db8887772769fdd67", + "prometeu-app/build/install/prometeu-app/lib/richtextfx-0.11.2.jar": "8de62d75fcf9b85b2fbe9e8e35efc66408c8c5d0b59fa6dc07fb8b481b282421", + "prometeu-app/build/install/prometeu-app/lib/slf4j-api-2.0.17.jar": "7b751d952061954d5abfed7181c1f645d336091b679891591d63329c622eb832", + "prometeu-app/build/install/prometeu-app/lib/slf4j-simple-2.0.7.jar": "50eae3f1cc9a78a970970518e005d3f43d5cd3262d234f47ebdf3ca3f8bc01a7", + "prometeu-app/build/install/prometeu-app/lib/spring-aop-6.2.19.jar": "a11b93539d80b02caf76171db2da96df39abebbfef49a2fadd6dda0779f2e20b", + "prometeu-app/build/install/prometeu-app/lib/spring-beans-6.2.19.jar": "846dc8f30a639a36eb551ee99a30469be4d11bd285ca9daf164d98321571b404", + "prometeu-app/build/install/prometeu-app/lib/spring-boot-3.5.16.jar": "2d5b16632402b840b0425ed52610071890bf8cb24c6c49af343bbde574123265", + "prometeu-app/build/install/prometeu-app/lib/spring-context-6.2.19.jar": "ead4b645f94a7f665f00093eaafde634e97b34524294de653b51e43e0b3fc4a4", + "prometeu-app/build/install/prometeu-app/lib/spring-core-6.2.19.jar": "52146689e71a911c92bac26677d73c692512a739893a57710cc233591756bff6", + "prometeu-app/build/install/prometeu-app/lib/spring-expression-6.2.19.jar": "d710a44417d890353895b341a722d7d08199e2b7da52f0a11c0e92571e1d6e19", + "prometeu-app/build/install/prometeu-app/lib/spring-jcl-6.2.19.jar": "9994478bcea1423b8892d4eb0db942c94da0090167c3c684050c1eaef04491d0", + "prometeu-app/build/install/prometeu-app/lib/tika-core-3.2.2.jar": "a34ba35d675f5a9733e3b60d5782edd8636a5c7785ac5e1c44125d025d57ad1f", + "prometeu-app/build/install/prometeu-app/lib/tomlj-1.1.1.jar": "383b7c66966c42ee4913ec977a7b6573631866bddc5318ec4a6215b688dd0d6c", + "prometeu-app/build/install/prometeu-app/lib/undofx-2.1.1.jar": "db9708c58a8e2db457fbd67f0515e4a95955ca0b0b8f4ea7a3dcbbfcbd19d2d7", + "prometeu-app/build/install/prometeu-app/lib/wellbehavedfx-0.3.3.jar": "e291005a8e3233b036450d126cbcd270d5b452397719949519c33c8ba09e257c" + }, + "limitations": [ + "checkout class directories precede cached distribution dependency JARs", + "not an installed compiler or runtime distribution qualification", + "no runtime execution and no live Studio/MCP/LSP session", + "historical Zelda BAD_RET/Scene not reproduced or claimed fixed" + ] +} diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/run.py b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/run.py new file mode 100644 index 00000000..7da29c5e --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/run.py @@ -0,0 +1,92 @@ +#!/usr/bin/env python3 +"""Qualify checkout compiler diagnostics; explicit output, no baseline/runtime writes.""" +import argparse +import hashlib +import json +import platform +import subprocess +import tempfile +from pathlib import Path + + +def digest(path): + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def command(args, cwd): + # This workstation's Python may run under Rosetta; git's Xcode loader is native. + if platform.system() == "Darwin" and platform.machine() == "x86_64": + args = ["/usr/bin/arch", "-arm64", *map(str, args)] + return subprocess.check_output(list(map(str, args)), cwd=cwd, text=True) + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--root", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + root = args.root.resolve() + output = args.output.resolve() + baseline = root / "discussion/workflow/agendas/AGD-0113-evidence" + if output == baseline or baseline in output.parents: + raise SystemExit("output must not overwrite the frozen baseline") + output.mkdir(parents=True, exist_ok=True) + corpus = baseline / "cases.json" + assert digest(corpus) == "0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87" + modules = ["prometeu-infra", "prometeu-animation", *["prometeu-compiler/" + name for name in ( + "prometeu-compiler-core", "prometeu-frontend-api", "frontends/prometeu-frontend-pbs", + "prometeu-frontend-registry", "prometeu-deps", "prometeu-build-pipeline")]] + paths = [root / module / "build" / suffix for module in modules + for suffix in ("classes/java/main", "resources/main")] + paths = [path for path in paths if path.exists()] + distribution = root / "prometeu-app/build/install/prometeu-app" + jars = sorted((distribution / "lib").glob("*.jar")) + java = distribution / "runtime/bin/java" + javac = distribution / "runtime/bin/javac" + source = Path(__file__).with_name("CompilerDiagnosticProbe.java") + with tempfile.TemporaryDirectory(prefix="pln167-diagnostics-") as temporary: + scratch = Path(temporary) + classes = scratch / "classes" + classes.mkdir() + cp = ":".join(map(str, [*paths, *jars])) + command([javac, "-cp", cp, "-d", classes, source], root) + command([java, "-cp", str(classes) + ":" + cp, + "p.studio.compiler.backend.irvm.CompilerDiagnosticProbe", corpus, + scratch / "projects", output / "observations.json"], root) + report = json.loads((output / "observations.json").read_text()) + cases = {item["case"]: item for item in report["cases"]} + assert cases["ret-source"]["diagnostic"]["parameters"] == {"expectedHeight": 1, "actualHeight": 0} + assert cases["join-source"]["diagnostic"]["parameters"] == {"existingHeight": 0, "incomingHeight": 1} + assert cases["shifted-pass-output"]["diagnostic"]["verification"]["pc"] == 0 + assert cases["shifted-pass-output"]["diagnostic"]["verification"]["passName"] == "ControlledRetMismatch" + assert cases["generated-no-anchor"]["diagnostic"]["attribution"]["absenceReason"] == "generated-without-anchor" + assert cases["no-plan"]["diagnostic"]["attribution"]["absenceReason"] == "no-emission-plan" + assert cases["F1-direct"]["observed"] == "program-rejection" + assert cases["F1-direct"]["hasDiagnosticPayload"] + assert cases["F1-local"]["observed"] == "compiled" + changed = command(["/usr/bin/git", "diff", "--name-only"], root).splitlines() + added = command(["/usr/bin/git", "ls-files", "--others", "--exclude-standard", "prometeu-compiler"], root).splitlines() + selected = sorted(set(path for path in [*changed, *added] + if path.startswith(("prometeu-compiler/", "docs/specs/compiler/")) and (root / path).is_file())) + class_files = sorted(path for directory in paths if directory.name == "main" + for path in directory.rglob("*.class")) + provenance = { + "schemaVersion": 1, "revision": command(["/usr/bin/git", "rev-parse", "HEAD"], root).strip(), + "worktree": command(["/usr/bin/git", "status", "--short"], root).splitlines(), + "javaVersion": command([java, "--version"], root), + "corpusSha256": digest(corpus), "probeSha256": digest(source), + "sourceSha256": {path: digest(root / path) for path in selected}, + "classSha256": {str(path.relative_to(root)): digest(path) for path in class_files}, + "classpathOrder": list(map(str, [*paths, *jars])), + "dependencyJarSha256": {str(path.relative_to(root)): digest(path) for path in jars}, + "limitations": ["checkout class directories precede cached distribution dependency JARs", + "not an installed compiler or runtime distribution qualification", + "no runtime execution and no live Studio/MCP/LSP session", + "historical Zelda BAD_RET/Scene not reproduced or claimed fixed"], + } + (output / "provenance.json").write_text(json.dumps(provenance, indent=2) + "\n") + print(f"Qualified {len(cases)} structured observations; corpus unchanged.") + + +if __name__ == "__main__": + main() diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml new file mode 100644 index 00000000..657f45ad --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.backend.bytecode.BytecodePreloadVerifierServiceTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml new file mode 100644 index 00000000..5b481974 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.backend.irvm.IRVMAttributionTest.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml new file mode 100644 index 00000000..467cb125 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.integration.PbsFacadeDiagnosticTest.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml new file mode 100644 index 00000000..15937ad9 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.integration.SyntheticFrontendPipelineTest.xml @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.source.diagnostics.StructuredDiagnosticTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.source.diagnostics.StructuredDiagnosticTest.xml new file mode 100644 index 00000000..f0c8455e --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.source.diagnostics.StructuredDiagnosticTest.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml new file mode 100644 index 00000000..8e34e281 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.CompilerFailurePayloadTest.xml @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml new file mode 100644 index 00000000..9131c8a7 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.FrontendDiagnosticProjectionTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml new file mode 100644 index 00000000..4c40d0be --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.LowerToIRVMPipelineStageTest.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml new file mode 100644 index 00000000..432a9a12 --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.VerifyBytecodePipelineStageTest.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml new file mode 100644 index 00000000..9626815a --- /dev/null +++ b/discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/test-results/TEST-p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStageTest.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/LSN-0105-explained-diagnostics-from-producers-to-studio.md b/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/LSN-0105-explained-diagnostics-from-producers-to-studio.md new file mode 100644 index 00000000..8e572320 --- /dev/null +++ b/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/LSN-0105-explained-diagnostics-from-producers-to-studio.md @@ -0,0 +1,102 @@ +--- +id: LSN-0105 +ticket: studio-ai-first-build-language-results +title: Explained Diagnostics from Producers to Studio +created: 2026-11-10 +tags: [studio, compiler, pbs, diagnostics, lsp, mcp, integration] +--- + +## Context and ownership + +**Owner:** studio. Compiler and compiler/pbs own detector facts and explanations; the app translates them, Core aggregates them, and MCP/JavaFX publish the same neutral result. This lesson consolidates accepted DEC-0090 and completed PLN-0168 from DSC-0113 (formerly AGD-0115). The preceding common compiler attribution work is [LSN-0104](../DSC-0112-compiler-verifier-source-diagnostics/LSN-0104-faithful-compiler-attribution-and-structured-failures.md). + +The original problem was information loss. A producer could retain source and verification context while the Studio gateway exposed only strings, a build operation appeared successful because its callable returned, or a language-query failure looked like an empty diagnostic list. AI consumers needed the observed evidence and the meaning of each result without reconstructing language semantics from logs. + +The user accepted the decision, requested a plan and authorized implementation. Every requirement was implemented; no PBS product fix was pulled forward. No runtime files were written and no commits were created. The existing dirty worktree and unrelated LSP-discovery/VS Code work were preserved. + +## Final result and evidence + +The required compiler/PBS/LSP/API/Core/UI/app regression, installed knowledge and real JavaFX desktop gate passed: **869 recorded tests, 856 passed, 13 skipped, zero failures/errors**. Exact suites/skips, commands, source/report/artifact hashes and evidence limits are in [qualification](evidence/qualification.json), [provenance](evidence/provenance.json) and the [evidence guide](evidence/README.md). + +[The authenticated MCP/project-LSP report](evidence/frozen-corpus.json) preserves the frozen original corpus SHA-256 `0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87`. It tests unchanged PBS/barrel sources, actual consumed-source revisions and UI/MCP projection parity. Existing cartridge app_id adoption is identified separately from the frozen sources. F1-local passes compiler-build/pack-validation/pack/manifest and its generated artifacts are hashed. A separate valid empty file returns an evaluated empty analysis through authenticated MCP and the real LSP. + +| Original case | Observed mechanism retained | +| --- | --- | +| F1-direct | Call resolution records data.value, Probe receiver, declared int result and the actual bool resolution constraint. | +| F1-two-calls | Both failed call events remain separate issues with their recorded constraints. | +| F1-service-this | The service receiver/owner and declared result remain available separately from the actual lookup constraint. | +| F3-function | Applied symbol, UNKNOWN callable classification, argument type and empty candidate set. | +| F3-global | Assignment symbol, unresolved binding and source scope. | +| F3-service | Structured-overload lookup failure and a separate frontend stack-shape failure; the latter is internal-failure. | +| F4-same-dependency | RoomData receiver/type and the exact consulted owner/key/signature, with unavailable module/dependency facts explicit. | +| F4-same-direct | The corresponding direct-call failure retains the same observed lookup evidence and its own source identity. | + +These observations explain current rejection. In particular, the bool constraint is not a new language rule or proof that the author wrote an invalid comparison. The later PBS correction plan remains separate. + +## One immutable issue vocabulary + +The canonical issue contains issueId; producer(component/owner/languageId); original code/codeOrigin/templateId/templateParameters/checkId; severity/phase/stageId/failureKind; message; facts; explanation; semanticContext; origin/related; suggestedChecks; and limitations. Immutable JSON-compatible values cross compiler/app/Core boundaries; Studio API/Core import no compiler AST/PBS/LSP4j objects. Compatibility constructors preserve existing call sites. + +Explanation is a deterministic owner catalogue with id/summary/rule/availability. Semantic context has overall availability and per-fact {value,availability,reason}. An observed null is available. A fact not captured by the detector is not-recorded, rather than an invented null observation. Declared types, expression types and actual resolution constraints remain distinct. + +The backend check IDs are compiler.verify.ret-stack-height, compiler.verify.join-stack-height and compiler.verify.resource-limit. Frontend checks are pbs.lowering.call-resolution, pbs.lowering.structured-overload, pbs.flow.call-target, pbs.flow.assignment-target and pbs.lowering.stack-shape. Check identity is selected at the detector without parsing a message. Original codes remain unchanged, including cases where distinct checks share a code. + +DiagnosticContext updates, BuildingIssue conversions, generic specialization wrappers and IRBackend/function/emission/optimization copies preserve enrichment. Common backend metadata remains language-neutral. Studio does not resolve another symbol to generate an explanation. Suggested checks describe investigations, not source edits or causal claims. + +## Keep evaluation, execution and coverage independent + +ShipperPrepareResult preserves its legacy fields and adds issues/summary/context. The app gateway captures successful compiler warnings and structured failures; Core receives a neutral CompilerBuildFailure. Packer adaptation retains category/severity/blocking/evidencePath and asset identity. An adapter fallback is explicitly PACKER_; assetId never becomes bankId. + +OperationState.SUCCEEDED records mechanical completion, while summary.validationStatus determines passed/rejected/failed/incomplete/not-evaluated/cancelled evaluation at document/project/build scope. Approval requires all four build stages passed, including both packer SUCCESS status and canPack(). A failed packer result with empty assets cannot approve a build. Stages not reached remain not-run; a usable buildId requires a successful current task build. + +Counts come from complete producer data and are nullable when unknown. The shared public detail view admits at most 1024 whole issues and 1 MiB UTF-8 JSON. At a boundary it reports LIMIT_EXCEEDED, partial coverage, budgets and original counts; no field is silently cut. Producer evaluation remains independent of the detail sample. Legacy-only diagnostic data is explicitly limited rather than advertised as a complete zero-issue analysis. + +Cancellation remains CANCELLED in Shipper and the executor. Known partial diagnostics/stages survive. Final tracked results and the canonical session result publish after actual termination, including a late cooperative return. A cancelled result cannot publish an approved buildId. Results never grant manual control implicitly. + +## Associate positions with the bytes actually consumed + +SourceHandle records SHA-256 when its provider returns bytes; diagnostic access does not reread the live file. Snapshots qualify local FileId with project/path/analysis identity and detect mixed reads. Captured text is available only for valid UTF-8. A UTF-16 range is projected only from the matching captured content at valid byte boundaries. Mixed revisions, missing content and missing origins preserve their limitation without a guessed zero range. + +UTF-8 source spans, UTF-16 ranges and IRVM function-byte PCs are separate coordinates. A function declaration is related context when an instruction has no source attribution. Generated/detection/context roles do not establish a cause. [Controlled backend evidence](evidence/controlled-backend.json) uses a test-only registered frontend and the real backend/gateway/Shipper/authenticated MCP to demonstrate RET, join and missing instruction origin. It does not claim historical Zelda reproduction or run the backend inside a language query. + +Context retains applicable project/task/operation/client request/query/analysis/build identity, saved primary-document digest and consumed input revisions. Known language/SDK/target/profile values are recorded. Compiler-source coverage is not whole pack/assets coverage; configuration values without manifest-byte identity remain explicitly limited. External sources keep the existing admitted, task-owned read-only snapshot/revision contract. + +## Retain and query the same LSP analysis + +The real server negotiates experimental prometeuDiagnosticAnalysis v1 with method prometeu/documentAnalysis and diagnosticDataVersion=1. Standard Diagnostic.data.prometeu carries version, analysisId, issueId and the same canonical issue. Under the detail budget it retains identity plus explicit omission. Standard diagnostics require a real matching range; locationless/project issues remain in the complementary envelope. + +The request accepts textDocument(uri/version) and contentSha256. The server retains the didOpen/didChange result and returns its analysisId/document/issues/summary/inputs/configuration; requesting details does not trigger a second analysis. URI/version/digest mismatch is -32020/ANALYSIS_REVISION_MISMATCH, unavailable retained analysis is -32021/ANALYSIS_UNAVAILABLE, and analysis exceptions are errors. Connection version=1 is not a global disk revision. + +studio_language_query keeps operation/result/limitations and adds analysis/context. A server without the extension retains standard behavior but reports ANALYSIS_DETAILS_UNAVAILABLE and not-evaluated rich coverage. An empty standard array cannot establish a valid project or successful evaluation. + +## Bound the response without releasing live resources + +Language queries use a 10000 ms admission-relative execution budget and 2000 ms cleanup response window. Pending requests, socket/listening and owned executors are cancellable. shutdownNow only requests termination. When a child ignores interruption, the caller returns the primary failure with workerTerminated=false while the existing managed worker remains alive and admission remains busy until the child actually stops. + +The seven neutral codes distinguish timeout, cancellation, server unavailable, protocol failure, internal failure, cleanup failure and revision mismatch. details preserve applicable identity, method/component, budgets, actual termination and cleanup. runtimeError remains native-runtime-only. First failure wins; late failures do not replace it. Existing authority/read-only/unsupported/parameter codes remain valid. + +Task cleanup callbacks remain registered after a failed return, so an explicit retry cannot forget an unreleased resource and restore manual access early. Successful cleanup removes those callbacks. Existing deduplication, revocation and cross-project/task isolation remain in the existing session/task controller. + +## Human projection and navigation + +DEV and the existing build surface use the same bounded public view as MCP. The shared pane shows readable summary/counts/stages and expandable check, facts, semantics, origins, related context and suggested checks. It does not classify log text or run another analysis. + +Navigation reads only an admitted project source, verifies the digest before selecting the recorded range, and opens a read-only viewer. A changed file is labelled stale without presenting the old position as current. Missing/mixed revisions remain explicit. Unadmitted diagnostic origins do not gain filesystem access; existing external/generated source navigation keeps its read-only policy. + +The [desktop image](evidence/diagnostic-desktop.png) was captured from the actual shared JavaFX component and visually inspected. DevDesktopTest expands facts and verifies the real read-only source window/symbol selection. DiagnosticNavigationTest covers Unicode and changed-revision behavior. This is separate from MCP/model parity and does not claim a whole-product usability review. + +## Pitfalls + +- Treating callable completion as product approval, or canPack() alone as packer success. +- Calling an empty or bounded diagnostic sample a complete valid analysis. +- Reconstructing a resolution constraint from a message or promoting an observed constraint into a language rule. +- Losing context while rebuilding a generic diagnostic, reindexing common functions or optimizing emission plans. +- Reusing a FileId or source range with a different analysis/digest, or rereading live bytes to invent a build revision. +- Treating cancellation acknowledgement or shutdownNow as worker termination; forgetting failed cleanup on retry. +- Claiming visual inspection from projection assertions, or historical failure reproduction from controlled invalid IR. + +## Normative references and next handoff + +Long-lived operational rules are consolidated in [Studio 9](../../../docs/specs/studio/9.%20Studio%20Core%20and%20Adapter%20Architecture%20Specification.md), [Studio 10](../../../docs/specs/studio/10.%20DEV%20and%20Automation%20Specification.md), [Studio 11](../../../docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md), [Compiler 19](../../../docs/specs/compiler/19.%20Verification%20and%20Safety%20Checks%20Specification.md), [Compiler 22](../../../docs/specs/compiler/22.%20Backend%20Spec-to-Test%20Conformance%20Matrix.md) and [PBS 12](../../../docs/specs/compiler-languages/pbs/12.%20Diagnostics%20Specification.md). The schema/examples remain in [studio-tools-v1.json](../../../prometeu-app/src/main/resources/mcp/studio-tools-v1.json). + +DEC-0090 and PLN-0168 are completed control artifacts, consolidated here and housekept via the discussion CLI. [AGD-0106](../../workflow/agendas/AGD-0106-compiler-production-reliability-and-source-diagnostics.md) receives this integrated evidence alongside LSN-0104. The user accepted the submitted integrated evidence on 2026-11-10 and released the PLN-0166 gate. Its complete eight-case correction and final 168/108 matrix are consolidated in [LSN-0106](../DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md). This later result preserves the historical first-delivery reports here unchanged. The historical Zelda BAD_RET/Scene reports remain not reproduced. diff --git a/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/README.md b/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/README.md new file mode 100644 index 00000000..c03860e1 --- /dev/null +++ b/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/README.md @@ -0,0 +1,37 @@ +# Studio explained diagnostics qualification + +Owner: studio, DSC-0113. Accepted authority: DEC-0090, executed as PLN-0168 on 2026-11-09/10. + +## Result and evidence + +The required gate passed with **869 recorded tests: 856 passed, 13 skipped, zero failures/errors**. `qualification.json` lists all 175 suites, timestamps, XML hashes and the exact skipped tests. Skips remain explicit baseline limitations. `qualified.log` records the successful Gradle command, including installed knowledge and real JavaFX desktop tests. + +- `frozen-corpus.json`: authenticated loopback HTTP MCP, production compiler/packer and the actual project LSP. All eight original rejected PBS cases retain their rejection and observed explanations/context; F1-local passes compiler/pack/manifest. Its separate empty-file control returns a successful, evaluated empty analysis. Sources/barrels are asserted unchanged. Cartridge app_id adoption is the existing auxiliary harness configuration. Each success artifact is hashed before temporary-project cleanup. +- `controlled-backend.json`: test-only registered frontend emits invalid common IR; real backend, app gateway, Shipper and authenticated MCP retain RET/join/no-instruction-origin diagnostics, phase, heights, function-byte PC and explanation. This is not a historical Zelda reproduction and is not forced through language analysis. +- `diagnostic-desktop.png`: actual JavaFX shared diagnostic component, controlled issue, expanded facts. The image was visually inspected. The desktop test also opens the real read-only source viewer and verifies the selected symbol. Projection parity is independently asserted against MCP; this image is not a whole-product usability review. +- `provenance.json`: corpus and artifact/report hashes, tested worktree hashes, platform, commands and Git identity. The repository was already dirty; source hashes do not imply authorship or a new commit. + +## Requirement-to-proof mapping + +| Accepted requirement | Executable proof | +| --- | --- | +| Neutral immutable issues; known null and whole-issue limits | DiagnosticPayloadTest; StructuredShipperTest; GenericDiagnosticContextTest. | +| Eight PBS rejects and five frontend detector families | StructuredDiagnosticsIntegrationTest and frozen-corpus.json. | +| RET/join heights, provenance and explanations | IRVMAttributionTest; authenticated controlled build test in McpTaskToolsTest; controlled-backend.json. | +| Resource category/actual/limit and explanation | BytecodePreloadVerifierServiceTest actual guard. | +| Locationless/generated origins, truthful byte/UTF-16 coordinates | IRVMAttributionTest; ConsumedSourceProjectionTest; no-origin authenticated build fixture; DiagnosticAnalysisProtocolTest. | +| Source revisions, Unicode, reused FileIds and external snapshots | ConsumedSourceProjectionTest; DiagnosticNavigationTest; AutomationLspQueriesTest external/dependency and saved-change regressions. | +| Same retained LSP identity, standard data, mismatch/unavailable and fallback | StructuredDiagnosticsIntegrationTest; DiagnosticAnalysisProtocolTest; LanguageFailureContractTest. | +| All seven failure codes, 10+2 s budgets, child termination/late errors | LanguageFailureContractTest; TaskLanguageQueriesTest. Controlled tests shorten the same injectable budget to make deadlines deterministic. | +| Packer fidelity, failed status plus empty assets, cancellation | StructuredShipperTest. No bank ID is invented from asset ID. | +| Build cancellation/final publication, authority, dedup and retries | McpTaskToolsTest; DefaultAutomationSessionTest; ExecutorOperationExecutorTest. | +| Existing UI/MCP canonical parity, read-only/current/stale navigation | StructuredDiagnosticsIntegrationTest; DiagnosticNavigationTest; DevDesktopTest, with separate visual inspection. | +| Installed references/compatibility | Full required Gradle gate, installedKnowledgeTest and MCP catalogue/schema regressions. | + +## Limits and coordination + +Compiler input digests represent actual consumed source bytes. Pack/assets and configuration-byte revisions remain partial; known configuration values are retained. External source access still uses admitted, task-owned read-only snapshots. No persistent filesystem snapshot, guest execution, runtime write or runtime commit was performed. + +The historical Zelda BAD_RET and Unsupported PBS runtime type: Scene remain not reproduced. The diagnostic delivery deliberately preserves all eight PBS product failures. The evidence is submitted to AGD-0106; explicit acceptance there is still required to release PLN-0166. Local completion of this discussion is not that acceptance. + +Subsequent handoff (2026-11-10): the user accepted this evidence and released PLN-0166. The completed PBS corrections and their separate post-fix reports are in [LSN-0106](../../DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md). The preceding statements describe the first delivery at submission; its structured reports remain unchanged. diff --git a/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/controlled-backend.json b/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/controlled-backend.json new file mode 100644 index 00000000..ba0d4762 --- /dev/null +++ b/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/controlled-backend.json @@ -0,0 +1,731 @@ +[ { + "operationId" : "8cca9f65-905d-4a66-a70c-2f479a94e363", + "clientRequestId" : "ret-fixture", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "FAILED", + "buildId" : null, + "manifestPath" : null, + "emittedArtifacts" : [ ], + "diagnostics" : [ "[BUILD]: lower to irvm validation failed: ret stack height mismatch. expected=0 actual=1" ], + "issues" : [ { + "issueId" : "2cde6899-b5a3-440b-8855-4967ae3049d3:0", + "producer" : { + "component" : "compiler-backend", + "owner" : "compiler", + "languageId" : null + }, + "code" : "MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT", + "codeOrigin" : "producer", + "templateId" : null, + "templateParameters" : { }, + "checkId" : "compiler.verify.ret-stack-height", + "severity" : "ERROR", + "phase" : "BACKEND_LOWER_TO_IRVM", + "stageId" : "BACKEND_LOWER_TO_IRVM", + "failureKind" : "internal-failure", + "message" : "[BUILD]: lower to irvm validation failed: ret stack height mismatch. expected=0 actual=1", + "facts" : { + "expectedHeight" : 0, + "actualHeight" : 1 + }, + "explanation" : { + "id" : "compiler.verify.ret-stack-height", + "summary" : "The stack at RET must match the function's declared result slot count.", + "rule" : "The stack at RET must match the function's declared result slot count.", + "availability" : "available" + }, + "semanticContext" : { + "availability" : "not-applicable", + "facts" : { } + }, + "origin" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "fileId" : 0, + "span" : { + "start" : 0, + "end" : 1, + "unit" : "utf8-byte" + }, + "range" : { + "start" : { + "line" : 0, + "character" : 0 + }, + "end" : { + "line" : 0, + "character" : 1 + }, + "unit" : "utf16" + }, + "revision" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "source" : { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "relativePath" : "src/probe.synth", + "originScope" : "project", + "sha256" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "revisionAvailability" : "available", + "readOnly" : false + }, + "availability" : "available", + "attribution" : { + "originKind" : "source", + "locationKind" : "instruction", + "role" : "detection", + "absenceReason" : null + }, + "verification" : { + "functionIndex" : 1, + "pc" : 6, + "functionName" : "frame", + "moduleName" : "synth:main", + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "validationPoint" : "lowering-output", + "passName" : null, + "stageId" : "BACKEND_LOWER_TO_IRVM" + } + }, + "related" : [ { + "relation" : "function", + "role" : "context", + "message" : "Enclosing function", + "origin" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "fileId" : 0, + "span" : { + "start" : 0, + "end" : 1, + "unit" : "utf8-byte" + }, + "range" : { + "start" : { + "line" : 0, + "character" : 0 + }, + "end" : { + "line" : 0, + "character" : 1 + }, + "unit" : "utf16" + }, + "revision" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "source" : { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "relativePath" : "src/probe.synth", + "originScope" : "project", + "sha256" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "revisionAvailability" : "available", + "readOnly" : false + }, + "availability" : "available" + } + } ], + "suggestedChecks" : [ { + "id" : "compiler.verify.ret-stack-height.inspect-context", + "description" : "Inspect the produced IR and its recorded origin at the detection point; the location does not establish cause.", + "evidenceFields" : [ "facts", "origin", "related" ] + } ], + "limitations" : [ ] + } ], + "summary" : { + "scope" : "build", + "validationStatus" : "failed", + "counts" : { + "errors" : 1, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "failed" + }, { + "stageId" : "pack-validation", + "status" : "not-run" + }, { + "stageId" : "pack", + "status" : "not-run" + }, { + "stageId" : "manifest", + "status" : "not-run" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723", + "analysisId" : "2cde6899-b5a3-440b-8855-4967ae3049d3", + "taskId" : "8f855992-fec1-4b1c-b57a-2e7b6f525e5e", + "operationId" : "8cca9f65-905d-4a66-a70c-2f479a94e363", + "clientRequestId" : "ret-fixture", + "buildId" : null, + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "relativePath" : "src/probe.synth", + "originScope" : "project", + "sha256" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "controlled-ir", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T09:41:05.945198Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ controlled ] source loading...", + "timestamp" : "2026-11-10T09:41:05.945242Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src ]", + "timestamp" : "2026-11-10T09:41:05.945259Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T09:41:05.946308Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T09:41:05.946756Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T09:41:05.946796Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[ERR] [BACKEND_LOWER_TO_IRVM] (MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT) [BUILD]: lower to irvm validation failed: ret stack height mismatch. expected=0 actual=1 [file=0:0-1] [fn=1] [pc=6]", + "timestamp" : "2026-11-10T09:41:05.948730Z" + }, { + "source" : "BUILD", + "severity" : "ERROR", + "message" : "issues found on pipeline stage: LowerToIRVMPipelineStage", + "timestamp" : "2026-11-10T09:41:05.949344Z" + } ] + } +}, { + "operationId" : "af635575-37fb-4308-bab5-ebbe92c3e6e6", + "clientRequestId" : "join-fixture", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "FAILED", + "buildId" : null, + "manifestPath" : null, + "emittedArtifacts" : [ ], + "diagnostics" : [ "[BUILD]: lower to irvm validation failed: stack height mismatch at join. existing=0 new=1" ], + "issues" : [ { + "issueId" : "05bbd2a7-c8a4-40f0-b5f0-32b5dbbddb11:0", + "producer" : { + "component" : "compiler-backend", + "owner" : "compiler", + "languageId" : null + }, + "code" : "MARSHAL_VERIFY_PRECHECK_STACK_MISMATCH_JOIN", + "codeOrigin" : "producer", + "templateId" : null, + "templateParameters" : { }, + "checkId" : "compiler.verify.join-stack-height", + "severity" : "ERROR", + "phase" : "BACKEND_LOWER_TO_IRVM", + "stageId" : "BACKEND_LOWER_TO_IRVM", + "failureKind" : "internal-failure", + "message" : "[BUILD]: lower to irvm validation failed: stack height mismatch at join. existing=0 new=1", + "facts" : { + "incomingHeight" : 1, + "existingHeight" : 0 + }, + "explanation" : { + "id" : "compiler.verify.join-stack-height", + "summary" : "Incoming control-flow paths must agree on stack height at the join destination.", + "rule" : "Incoming control-flow paths must agree on stack height at the join destination.", + "availability" : "available" + }, + "semanticContext" : { + "availability" : "not-applicable", + "facts" : { } + }, + "origin" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "fileId" : 0, + "span" : { + "start" : 0, + "end" : 1, + "unit" : "utf8-byte" + }, + "range" : { + "start" : { + "line" : 0, + "character" : 0 + }, + "end" : { + "line" : 0, + "character" : 1 + }, + "unit" : "utf16" + }, + "revision" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "source" : { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "relativePath" : "src/probe.synth", + "originScope" : "project", + "sha256" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "revisionAvailability" : "available", + "readOnly" : false + }, + "availability" : "available", + "attribution" : { + "originKind" : "source", + "locationKind" : "instruction", + "role" : "detection", + "absenceReason" : null + }, + "verification" : { + "functionIndex" : 1, + "pc" : 18, + "functionName" : "frame", + "moduleName" : "synth:main", + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "validationPoint" : "lowering-output", + "passName" : null, + "stageId" : "BACKEND_LOWER_TO_IRVM" + } + }, + "related" : [ { + "relation" : "function", + "role" : "context", + "message" : "Enclosing function", + "origin" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "fileId" : 0, + "span" : { + "start" : 0, + "end" : 1, + "unit" : "utf8-byte" + }, + "range" : { + "start" : { + "line" : 0, + "character" : 0 + }, + "end" : { + "line" : 0, + "character" : 1 + }, + "unit" : "utf16" + }, + "revision" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "source" : { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "relativePath" : "src/probe.synth", + "originScope" : "project", + "sha256" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "revisionAvailability" : "available", + "readOnly" : false + }, + "availability" : "available" + } + } ], + "suggestedChecks" : [ { + "id" : "compiler.verify.join-stack-height.inspect-context", + "description" : "Inspect the produced IR and its recorded origin at the detection point; the location does not establish cause.", + "evidenceFields" : [ "facts", "origin", "related" ] + } ], + "limitations" : [ ] + } ], + "summary" : { + "scope" : "build", + "validationStatus" : "failed", + "counts" : { + "errors" : 1, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "failed" + }, { + "stageId" : "pack-validation", + "status" : "not-run" + }, { + "stageId" : "pack", + "status" : "not-run" + }, { + "stageId" : "manifest", + "status" : "not-run" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723", + "analysisId" : "05bbd2a7-c8a4-40f0-b5f0-32b5dbbddb11", + "taskId" : "8f855992-fec1-4b1c-b57a-2e7b6f525e5e", + "operationId" : "af635575-37fb-4308-bab5-ebbe92c3e6e6", + "clientRequestId" : "join-fixture", + "buildId" : null, + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "relativePath" : "src/probe.synth", + "originScope" : "project", + "sha256" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "controlled-ir", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T09:41:05.957237Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ controlled ] source loading...", + "timestamp" : "2026-11-10T09:41:05.957257Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src ]", + "timestamp" : "2026-11-10T09:41:05.957272Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T09:41:05.957900Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T09:41:05.958360Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T09:41:05.958389Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[ERR] [BACKEND_LOWER_TO_IRVM] (MARSHAL_VERIFY_PRECHECK_STACK_MISMATCH_JOIN) [BUILD]: lower to irvm validation failed: stack height mismatch at join. existing=0 new=1 [file=0:0-1] [fn=1] [pc=18]", + "timestamp" : "2026-11-10T09:41:05.958593Z" + }, { + "source" : "BUILD", + "severity" : "ERROR", + "message" : "issues found on pipeline stage: LowerToIRVMPipelineStage", + "timestamp" : "2026-11-10T09:41:05.958726Z" + } ] + } +}, { + "operationId" : "c44c1b92-c264-486a-acab-752bd8a880f7", + "clientRequestId" : "ret-no-origin-fixture", + "state" : "SUCCEEDED", + "workerTerminated" : true, + "progress" : { + "requestedFrames" : null, + "completedFrames" : null + }, + "failure" : null, + "result" : { + "kind" : "build", + "status" : "FAILED", + "buildId" : null, + "manifestPath" : null, + "emittedArtifacts" : [ ], + "diagnostics" : [ "[BUILD]: lower to irvm validation failed: ret stack height mismatch. expected=0 actual=1" ], + "issues" : [ { + "issueId" : "bb9dd6ad-16dc-4b73-89dd-34607390d22d:0", + "producer" : { + "component" : "compiler-backend", + "owner" : "compiler", + "languageId" : null + }, + "code" : "MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT", + "codeOrigin" : "producer", + "templateId" : null, + "templateParameters" : { }, + "checkId" : "compiler.verify.ret-stack-height", + "severity" : "ERROR", + "phase" : "BACKEND_LOWER_TO_IRVM", + "stageId" : "BACKEND_LOWER_TO_IRVM", + "failureKind" : "internal-failure", + "message" : "[BUILD]: lower to irvm validation failed: ret stack height mismatch. expected=0 actual=1", + "facts" : { + "expectedHeight" : 0, + "actualHeight" : 1 + }, + "explanation" : { + "id" : "compiler.verify.ret-stack-height", + "summary" : "The stack at RET must match the function's declared result slot count.", + "rule" : "The stack at RET must match the function's declared result slot count.", + "availability" : "available" + }, + "semanticContext" : { + "availability" : "not-applicable", + "facts" : { } + }, + "origin" : { + "uri" : null, + "fileId" : null, + "span" : null, + "range" : null, + "revision" : null, + "availability" : "unavailable", + "attribution" : { + "originKind" : "unknown", + "locationKind" : "none", + "role" : "detection", + "absenceReason" : "no-source-span" + }, + "verification" : { + "functionIndex" : 1, + "pc" : 6, + "functionName" : "frame", + "moduleName" : "synth:main", + "pcSpace" : "irvm-function", + "pcUnit" : "byte", + "validationPoint" : "lowering-output", + "passName" : null, + "stageId" : "BACKEND_LOWER_TO_IRVM" + } + }, + "related" : [ { + "relation" : "function", + "role" : "context", + "message" : "Enclosing function", + "origin" : { + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "fileId" : 0, + "span" : { + "start" : 0, + "end" : 1, + "unit" : "utf8-byte" + }, + "range" : { + "start" : { + "line" : 0, + "character" : 0 + }, + "end" : { + "line" : 0, + "character" : 1 + }, + "unit" : "utf16" + }, + "revision" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "source" : { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "relativePath" : "src/probe.synth", + "originScope" : "project", + "sha256" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "revisionAvailability" : "available", + "readOnly" : false + }, + "availability" : "available" + } + } ], + "suggestedChecks" : [ { + "id" : "compiler.verify.ret-stack-height.inspect-context", + "description" : "Inspect the produced IR and its recorded origin at the detection point; the location does not establish cause.", + "evidenceFields" : [ "facts", "origin", "related" ] + } ], + "limitations" : [ ] + } ], + "summary" : { + "scope" : "build", + "validationStatus" : "failed", + "counts" : { + "errors" : 1, + "warnings" : 0, + "infos" : 0 + }, + "stages" : [ { + "stageId" : "compiler-build", + "status" : "failed" + }, { + "stageId" : "pack-validation", + "status" : "not-run" + }, { + "stageId" : "pack", + "status" : "not-run" + }, { + "stageId" : "manifest", + "status" : "not-run" + } ], + "coverage" : { + "details" : "complete", + "revisions" : "partial", + "limitations" : [ ] + } + }, + "context" : { + "projectRoot" : "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723", + "analysisId" : "bb9dd6ad-16dc-4b73-89dd-34607390d22d", + "taskId" : "8f855992-fec1-4b1c-b57a-2e7b6f525e5e", + "operationId" : "c44c1b92-c264-486a-acab-752bd8a880f7", + "clientRequestId" : "ret-no-origin-fixture", + "buildId" : null, + "queryId" : null, + "document" : null, + "inputs" : [ { + "fileId" : 0, + "projectId" : 0, + "inputKind" : "source", + "observationScope" : "compiler", + "uri" : "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src/probe.synth", + "relativePath" : "src/probe.synth", + "originScope" : "project", + "sha256" : "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881", + "revisionAvailability" : "available", + "readOnly" : false + } ], + "inputCoverage" : "compiler-inputs", + "configuration" : { + "languageId" : "controlled-ir", + "sdkVersion" : 1, + "target" : "Game", + "vmProfile" : "core-v1", + "revisionAvailability" : "not-recorded" + }, + "coverage" : "partial", + "limitations" : [ { + "code" : "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message" : "Compiler source revisions do not identify all pack/assets inputs" + }, { + "code" : "CONFIGURATION_REVISION_NOT_RECORDED", + "message" : "Configuration values are recorded without a manifest-byte revision" + } ] + }, + "logs" : [ { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] [DEPS]: dependency completed successfully", + "timestamp" : "2026-11-10T09:41:05.970134Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Project [ controlled ] source loading...", + "timestamp" : "2026-11-10T09:41:05.970152Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2954729410594281723/src ]", + "timestamp" : "2026-11-10T09:41:05.970162Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Frontend phase completed successfully!", + "timestamp" : "2026-11-10T09:41:05.970790Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[DEBUG] Common lifecycle assembly completed successfully!", + "timestamp" : "2026-11-10T09:41:05.971183Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[INFO] builder pipeline stage group completed successfully", + "timestamp" : "2026-11-10T09:41:05.971241Z" + }, { + "source" : "BUILD", + "severity" : "INFO", + "message" : "[ERR] [BACKEND_LOWER_TO_IRVM] (MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT) [BUILD]: lower to irvm validation failed: ret stack height mismatch. expected=0 actual=1 [fn=1] [pc=6]", + "timestamp" : "2026-11-10T09:41:05.971438Z" + }, { + "source" : "BUILD", + "severity" : "ERROR", + "message" : "issues found on pipeline stage: LowerToIRVMPipelineStage", + "timestamp" : "2026-11-10T09:41:05.971564Z" + } ] + } +} ] \ No newline at end of file diff --git a/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/diagnostic-desktop.png b/discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/diagnostic-desktop.png new file mode 100644 index 0000000000000000000000000000000000000000..764db5ceb946d726fdba7fdfa2c1c856fe577aa3 GIT binary patch literal 32880 zcmd43XIN8Pw>FFgL=ekXM5Dk~thfb%1du8qO{pTH(o_UO2}PO&0Tn?70Xw}Jq)3wv zL5PBgij>d-gd!j{6p_$Lc*hEs=Q;25e%CqI`Sa}```UZ4vesO4%{j(B?)x6=zMhUc z4;PAyjg5^*Q{&_rHnz1WHnuf)I62_RCcZPhY-~5#G*2p>y>2$zxi0LiVf)PFtZb?V z2d^so$!#1bx2bLT%4xMWAX-VBQ$y{=zWe2y_bcA~7VT1d?1QrviPmm6cCo~xS;3J1 z5HV;uzhxqU_RWRp-O@4JHrTYhNLpT0TmyGvW7FHtjAPc3mKlz$|Gjx8fz0|3w$B@a zk+HxTR)J`gTF7pj+UVm?3iKX(&5lQuc`rs9BL!ZWK)Ic zgG?s7gR@g1#5gc#>C21e-xy+a~Ah2_6+>KRO7$W5LpCat@4SF29@QSC*F?Ni&m~R`Qt1$mQTG6+w>t%CHn;j+d<+J^ zQhgtSgEC7lS8z1u*%(ZHk*I66=*YJ-dem3{oq@4yX^k`dIM9v_m#_{Q?k4$;OnrUl zryVLFe6_jdYOpMFA?LlwRKsb}w(^DX&JyU zqxidniFI+_GZBnMy{#ww=N6`EV+Bjyr|pk-4jTz6QO>Fsh3Lk)X$k+xHC@NwXrL=^ z8O6(V#T>ZC-_{!<;r@Wx{Q|XCW+3suOizSE5^BRUVMFnQI?;#D5tRH}8g&(8Y&YBs zR5R+ZBOY<}7E*g~tQ0?eDk}4eu19#M%k*V}Qsrg%iG9MW7kU93`E5f*so8VokG7*~ zwoo$%()6Y$iWcLhO?-;FVKS&m>P6|9xe9jlTcjIW>Ez7K!)`=*;n^w+*%;uRmVzB?d)juJ&Ek$z!y~9A-5j z#E#Rmh@e$jS|>W5q!VL%wJiPksL)vx;F%>M#+=trA|t!LGl&;)6xyf zv=0So^TKC439EYswHBMDwhXmaSXy=x-DWzun_n5`*3qqnAI6*~?2+>sj9Xqx#{KO* z+v#D|`~JSw%xIexeTZx|)}BA}=&z$&OS*cT1LCGRgQ?c7*pGS9YDb!~%t;?7=SiXV z6eS*EjPDXINWi6DV~y{{QT$wRfL2vX9D`J8Pdc3}{WHu6XOQDPgo+}FwDc>Zt=Sec z$6bQ$ou=sdzS(MiTt|6Lm?`WY6d5_TxFh3dO-4e9M=s{`^TuYYRlG7x8_m-)-+w;Z zV!issp&J&|XRr096=}sjoyD_-$tCSIk(krQEy-3PT~YCj591?MD4w24Ss8PlMWdcf zeXa!=J>Dt2+@%i>cHXDR%GG{%ao)v)H&NE!uzW;wy3FtU>?2qHrp=SfI@7bMxPa=) zOm#S+%_pqPB$NkvBV2|T2}*UNw3t=Gug=<+&a~UP$ChR4vL__boY(ROAmexG3ZI*8Y*%hP zZlQYLVF!ZJV|c8Fe~B}tUv)y)rMxu|!+-m@MOK%1(EY90ddU_$<^rm%ps~khv}r#g_x2MUF|LWeSy438bT_OLD7T%LizV9(5MGH z`q(sA-jODXhsd!ovyqWGJ)0C}N950HQawjvZY~k~psan~A;=x!6h>+UG8(HT})??oaB~)FY&)q4T-y25eMvmSLyrs4R zKMqNt0r$W^CnEj>@W7&3f4eEJLRiK6uctdvtjA-E|5A@-9bvN!_-|bbFieP`qQgc( z1^XCzFG*Za1JPq5c9>e2b=+;_DMRksHw~A8FA;hDpL1^rxLhw4erysVA7&|h+oVn? z&Q}(>*Y}idHt09Z1sX&hnIs>^LX!Jf`#^t~xum?;4BBJ7L(^C+&%RAO_tLxDdBbHe z2@wT2YUG-A8(ZtzDX=6PpC75aCO=@3sV>8*&P{c{N5l*RP+&}%y8>i&kvBLn@vjb&90-Z zrX{1U8HE;AA$zO7399>X@O%juv#_^#&p!d-+%nde>FK2aKRum60mw8}u}LvpEf^JH z9p~NhB|@SqHcQQEC^t~Oume`TR<2de=;V#bN=#!)dlK((}OiZj2hx}$MhVvoB7f&wcy!q-LGqjY|vkVG9xSGW!C@ZU^pUK(B3A+~3|@m2^5xWMH5s%AH=( zz0CB;y*_!xrSAhzF2Fs5d|Sg36Tlv$vVZ598eLDllx~>zysgNYQ0%*0c610Gs9cSe zZO`6aP0a+4=tg+EvFLi*l%@0QcTaXt$+E|A5W(506qK0XpEaB7nC-BleXTIfNX&YkJu!xJUOx!lOt zh<2I%=Q1uni_GkuNllK;8SDv}Uz(pfZW?M|JulvQYtt?s;UArHyiEN1gs8CL@Mg|? z7}QeVhEP?i3t>%8j0)VO1}1E*4qhS)zA)POy&5JcN1s$rh{(;FmEu(kkMwkhP<4`M ziQO5b=w&Hd%ar=*JCvGb`N{$%Rycaw_jj_I-#D7K(c$H(XZFtHw5HT2rU(9c!$Kub zNZ-r3-QV8|ECwuZX^$QnbfdLI6n6ViyLgs|2%!yJ4(dW%=tU=`J8Qi9pBV*eQAxg} z&Sal+*+T)trva=5KKRGUgODGM;$ynI4w?`Sc8J-T7n}TfM&=}K3uobt(Qr5Z)9u*r zf?gUj>o9B4BdUsacW!!VzVIE*?#?n!Dk8~xjAxI1c%S*ir!bq;rnR^!D@r!>U*1Vnb(?_W#pWD^W5Z>u4$=Nm?DlthaXMu+_nnDWQz>w%ccu}sdH0#k6UvPeo&B49Ne&Uc%<(0cy1dTs zJ7QYh8uD7Z?UNXHDcXz8*ziQ$)djD05an(vKWV|%Q)W{28ui>6=~p^R_vw4sRsp2o zJ|s_!@1fyE%%+mGBCa6SAEjAh3QvwL2~zN0aP=~hZ^7zKotR+LOL#SmdXafso7$jv z16QYrEnRX%s)V+9W&H};^v3lb4}_)N9z-UWbPB15+im39?Cs5xfWNY zIM8bnn%JLnSckC3{R?W<3%(<^%XklE0G9^A9Lv%SM!@1{_l@`mJrD=~5kFJGT4{=; z-lcKZag;ouZ3Sy2Bqb;Qd^NQeP}$z6#LICU5yWaafKn67Xl?9csXSd=~IwQPhH7oMpU?_XU2- zr6R2dfv0B2*qM1w$JME`vwXFuFG}4%BHS4>?c{TaLVJ{FVq+<5B|o#-%-DQXCg7CI z#t0u$#I{)vKB_|!?rMonB_pcFwKK4Ug%l3$+i#2BM*KeRrmD9kbYB0f41y%yR;Uv8 ztnu!*R4oxQ{rAKFTcGiOW0r`sgr0YP>js)q4F(3|d<(X&+~Qh-*=;=6$kCx(92#5x zNJ#yQBZ*-J@In+x;A}UeQ^Mk7Z{xXB)hZz0ei0=tT>%VX?a*De0)ZZGo&KxIK+kbc zGxnk4@{$DZ^2+b*n+%*7{&3GwMdmTciECMh4{e{`)_~$6Ei+4so%>dpofFw9$*{WW zt9O;NuZ$^2Uw03bCVWyRCGJ0g*7+s_4LkJGV)wG7QI=Uv5Fn5Ci8i{;MQKOK#{+=w zcT%_q=S9rkU;!)Joy#)A`EDE>B*tjb-S~U5W$$hh)RB`q?lSN|zMwLQkJ|6j>2Q5_ zLaPs?7MyR{wf<9&`rT?HeR|6M^JqPyX`V6zPQGPRgLPE5iectL_SjH|PPDZC)p@PK zEw$DCkyrnUwR85F-Bbao>&wGEDh){oKe@%2gdK6Ts*ScGx(;6nRg6Bk5HmeQ7Q*;` z|N3qKC<~iv>P^{})SnX&D`zv(l3{m1D_rlYCvQ9g zy^gjo(I$a~35TCV!g`R*?-cZz+XE9d*;f^HF!p-6eOu0cT&%JA^2l{SB_>yyfU2z2 z9_;uzLur6CJONDMlwPT+7j=g>ER72W@a&Ro?c+>dnW!j5-?F3Q6~mSK+o_uw8L%p= zkUh^F3z+JMoH$TA+m*ZQdpd4fD%*2vAg>=;KHoy|TmVWJXD6t8kKISDcPyQLZUX@c zrA=9KiqSIjo;EbryVEF9V=(#ZiW9ub`%`pJ08RxOT|_rK+Xx_~TFbqG*f~BXBp17{ z`^Hr8{P&7YL0a5}V_swVlrQh^Z#9T>^Dx!kvV7fwT64gLv`~swB>H95MM>gvD4N~Q zsLZqv6`!9SsXDNACxyY}h6FPsXReBQxiFWFk^p4KDNPgw`1B zIqvlJ?R(FKV$CN9tYDICsL}FX1vag(FY7FFQnY(ftC@LP)a~-+30Hh!C8;I}%D8@1 zkbHzIX?s6IbEUP^Ko!xTP!=C>7bU7mv)y(}&G>5MU}Ja4_z9Xh?+ujc*E$ax%^a5n zpxXU{lsOD=>`wLF#rrj~?xW$jef|{8fkw%W3Fh2n-@sIzVj)3?E+r3yXp^`@Y;886 zn;8?jtXoz5qn*T!?PaKg4y7DCs8*6DBTd<)f|0Lix(=h+wA(=9ZMS;Sa-!P}&Fad6 z&SYJ|k~d6A1dT6hoU(6gb^DkX+-tH`3L?U|YC*1boxq}3Gw0vhjoldn#~X4`5iist zd|I;Yff$1cXvs`gckYm!E_`XRVK%}w1X)&ry7K;cY89O&9=M*TCy%5ZbD(6JK04s1 zU`HIdOS}4_+yZKUD@de=g;5=E*txeSK5v%gIJ=>!q&M4BINq(wL}*7j!{*!DC%OtY zcduAe)r%bdl21wqxT$z_xZ~_-+V=*+YE(;R$@d<~l~wh^Dj@J5d7U5c)(IwN(9AdS zhY6h4yS%-Ydzwb6qmQ;VGM5TTjGBKg<{j!Qn9j<~sx_^O@0p04K=CktWKZ4W4+!+R&{&p@`tl*q{$DvQY{U4+g-q{$+Nd#)}+lnejbD~t}OQPm62iu z4|xb0OS%$+!jLnNJAdt2MKRvVc#PZlH=QA%)@s>mj$Tloo)U8Th zj-{703CRI5r;RfRxHj1^G_vsa1?nSy_k1wj9OUeVQr{4R7(iFm*@!~GEX(YXX9-0ZPn1#LtFgq7r#>s zCR6wB>xk_`)^wsvVF~_XFghv-dX*c-rd$(X32wQrHc->p$bln)4 z=I!I{&jU}^G)~R-Fi#E=l+V?$dAB&zA_J%`3z_72x3hAu;+vKby1dJICM+~Yee^s% zmV-B#nb$fYGE+ja*q?c?Su8L_Kh$rOT39EUZL;O4t=TX+7!(GoC$qa2A{maH6=(Q0 z)11`BOqZqiEk8`G}AA+PMzH`Wa+dZxQsuZaK!%cKx#z1^_W{2rX#6# zVmLXjfFO{At4h8-2f0TpYW%7#=f0RI-Nh)h&EumV%ljp8Qc?DchI=w*#jz!*z)V_y zR$7%#)1`XsUC2T0+aIc_st$+M4Gp5&y)f3VQ1=i@Hn(okq_HuAo zBKhkK?DC#TWS@TwW~GlPDaZC+3BLAw|%C$6H~2lL)ZkZ7(M;~h56jYJDXfttL>qWX;O%0j+acd^L>R}Dw)j) ztW{F!!aOh;OtfT7X9c*$P1e>vY{!a5w z<`6<8n=hS77}gDCj9(#n$zLP%Vj5*^AEf9t^W&woRpzG!RtG0KdsKDG1#fT;y^EE{ z87tCiNeXE_{m%_6RJw0(q53w+6pQdtVLx&+3e#8C5mPeIMO%3d$A;Gvdi8a-PqAzL z)b8_6(FAFyU>my|>6a!1cyj)YzX@6z0`AxP(Rr`EoQr&{°1) zl<}77EcJr1SMiOe7C04;SB(B?!!X;qIhq}H!HBSB$#Quz)VEc(-WI)YtZtd=1VnyA z?jn9ZZv5iiD*mmpX%G&#Do+II?aA;SdbFVwZBU)6(PHZ5F^=MW5%6$eIHY9!y`6k1 zr+(h@sG5n(3o&TG*~O~W4~2KS>0E@+SC0FJ z*H%XDc?rC3i*N42L>~aUnOtVb^y~|gF{75g?2Cp8l`kX2VS1H)b%_F~ckxpm!5qG@ zJvm`cesla9`lL4`f6SbBV+wr9GI~_tBN{_^OQ2YzZaiI`4ZR zaB@gdfYV#MGAQDB`pF6RdO6H_`uPC6j+A&q7gdNHwAwPe1ODupC<&qi(IBg5LB@x& z;og{{4ZnHAwQO98i$TSS!I$b*IY*<0W$sW9)nX>+0TAFuEE7=t30Ak&m{?;?I1p?T z_hQxy;n{ZX;`#T9DRHmq>O8WI*mtyt{^LZ|%e|WZXQf5eL}!A?B^%58^{eC_y$|Xq`|j0CaH8RHOj6zV3((AOg;0-oeQC*j@Mub!mCE!OShf zJ#?+dwOimVoET@lg`q8+j7_djbp^fY`cJ#=Zx-1Ee`7mQ#;Qb$Zp>dBFc) zQS8Ev%seZbGK?u_)6Ugw*eSjbll7C#K0HBMF1zsNy7S1CM4g-k#W`->#@*osp?7WC zaxAUh-DbCGtUi@VrMR`1dU>?d^@>VODAmoiF|uP5V$px@+u`X?QRFK&dGgqP_VOXo zDr92gdxf8JM}rn=sLsYQ8ni9CwIYsAJ=xXo-I?{5v_r+dEa{~Bx(qI2K>N!`bJ`f)X%U~72t;_n zcl-MITRSDJ9(aELddu`&BP=6pr0%n&Wa1D!2z9&Zx9jC&!`Gj*Gztkj`2M8fg>&S| z1mOj5n-Zc3tXN&%ADXnqsU?@mppjNLvRktlK>mEqMNJt6bLWDHVaGkx?$82Yg9r0y z6M`y9V??)3O!2k;KqUKr0kH45ytqTk!Q?}C8mY52KLjUAEgnK01#zCKWA-mZdOGXP zuoWMgQme=?F8tzBCvOd0kmaCu__22&NecBtNv7IT_mZp!?6dK=)RZ$~$#rqQ%;Mr3 z^Eqv~)}j1L*-%$az2B zdq<5bzaf|Tg;B^;p zqd145_W7!<4t2aU+0zPhU)MB3N#gZ}sBqC8u(fJI>g^(UK?A*&K{L^LWkL>F>Ci&CGV&!#1n179w|^q&7Ul~2@E(#~ak z;WNK+c|wkoqF>=U()4Nj(a2=k*N$%{)dEY>M!o@0dpDLQlFlVGd!aIgtL?n=%e`l) zdd^9GKMG^eXXU~eBekzdAzbKAUInMGCmxNZZTU`b)aBdxGM;a(!0~JEndw(tL5fcG z1WErjVe1lZk?Im>L5l%b$ytPMe=EGh5*P{9u3OFvbQ>=%CPx2Oy0U@|BN3LAZJe*E zt7&H^Gm){6-@J%nQn+)`_~T3RL;BE3`w}K`ur}tjY#bu^lL)QuPcq%?y`U1%kmKV| zjudr>MTrBKov&CG!iuZc3=e=cmPv_y~~M?X-;u8*f-y5-;77o z*xfZNn}JaILUknJ)c4$=lhtR&^O6qoo+}us07(EveC!pMKg_=xF|E z%L(so{$UaiYT}`#a|!wz z7LL2KV#&iaaT|1z)$M=>w4HA92L)<_4yUR4q4=Q)x%x<50zWevF>`dga2b92p700P zgVL$5KU^UoISp5!9bN@)|9+w3a?;ZU5Vo85%aH#%8OOo`an>z%WM-*DP^;#JpSu* z!#$agID`Z9zq~vhHY!F$7F=s_Q6IU4>k4K6o6Ky+Raph|Osdv`@jV6ud)&jUXWHX& z0c|V2l-EuVm6176t25N+$ba9~wwiPFTW z?}Z*i^?Qszj@;_7p&VQMo+hqB+$G@E^tTPee(>=a zaqjWV6W1G>SEvsdNB1!pb5{m;QynxYs?`CF7F0Ld`vL2Av&_NA_o=!?+Q_XwCVl;> zqJJg-??v~Qw&;#BZ>q_g>*VO;E+3*5yjKMMZJf;uujUOG?=o)g+wXwJszYqal~wd* z${}N5J9G^BBVTfxUay)T5rrU_LWj8FOG=oaFgXX z7}QD8dqtp@3rTx22^_%M|e&xcomku4zq4Td^#fMl<`t9FWnefvck2H%7S zjYv?r8wq&3y{_APHpZqQ@qQ{KcqAT=_VF-f>J%2!J7?1` zE&3mmqIv~kGH|X21T`Lnf0Y2?jf&+A-HD9lW}p_v*K8NhLEYFq(Yt!LV&6NWrAQL2_m^FcZ!XKYk76l?2Fi#Il9qj?6nt0M@KtM8kF+oIO>>sHVq=<7RywtjlN}?_l3{H0O&av>#*?&>rA|6{ z(jX;W@Axk-WXt-VTX)1krryHS^CJOC!DRLxSAB~U6Bb=a;nA1xY_5H$AJ!A_Ur{H{HjTIO>0(i!ifa^npldOUzbZfnbYC@i3iygA_tv}GD5&8tRwhuQ2oSmwJ`DI(mQuGzm#E#jwzHS=g#%!VwsfbV;=~CS{ z8UZ{V&c~GoT?VJ_Og0zDi(|G;eg)G@Q+3Jw60CdkM%XgnNTNdcWv#lEcM51=!K>%K z&9Cd+&f4l`5X-c|<}zx*W0-ahW9~Em5+|?^gF?SjBK(!71En`od)S8_r;H7k^4R{J zqW_{Ull&U2s8b8HEUIHnecukyDR_QP<~#kGEE$Wm3WLhSS$)nJ61fPef| zS+PYDMgJ1egDXbe^~jV`x`|G0dLPV4bITeyLq?l>7ZtNc4`T z^~VCgTmCF^dktzP%ACcJzZH?=tubIkvT~p3TG8~lp8iX~gz%9gdS~Uf{@U_4UyE)w z=>2J_I&ts6<*ho^j4kqBEGWJ{`2x}T7&@#p!=|@mC4vjita*%#f*(BGwc|@*)L`9h zCH|U6Td6?U98M=VyZhK%$5Q2`dWNHP#Jo zt|q|ckst(R>1o-`tb=-!E77(N+fnL80n&({b$HtjJaC8f&Lbq zmE02XU!!{pZ2l;4A4h?+&nnRqq@@i4a;@Oq62sv$e~VNr!@8RE^9k_B-vjb`;d%+B z`5oNmFEKmO+Ee9j%Al=CVQia@A(EwNDgAK-Y;BvC^a#dMyIocU2(rn~<$acl=3!UW zAn6Dm%^I--gLr3fl>s7J6rz)&Z5rM;ffMo#s1;Tf0X#N~?8p;;bxw*z)}wqmNkDYC6Ga|A&$y7Agp)KWa(br~C0PS*>jO9vYqI5Pk=;}a zyGeB!90~T>u_r|zo-e-k(gu>@t55N97Z?)f z9hhCEUM!P$N&rwGZ8nkSQ0Pi{{F57sS0z*(Mru`X zxkcu=u||G9dgYBzs6fbUKK4;fMZ|r)!-m_3To<`rgiqqqTed}UbujYWz6^D(J5j(- zFZU7%n+PxAo_M>guQ4N;%q>$3h>Z|k1NOO!EtZaN6 zA&_B$y?|MpC{5E`W-@Su%MjFO*h8QPBd@V4gx?Nnmw+33L;FNF?rO?ACosP*HhhHV ziXaozsarPS3r=c>cyxJIjdqn%GjrX?E>f|2VFx-^j0&Mgn#VnHXmI0wDH|1&d$nLEkiB}EUo&-z-BB>96;*rO*R@Q+y#ea z;?b2DTieQ7kYI5>en*XkGuUpHzd-g#7m5eJt{kxA=%JOs@iQC)u&T2k;$I2I@vl=@ zP|KVr)moCyaf~n+7QGv^+l>TH^X)4a6;@z{i3V(aE(%_r zM2W}5ir0eu)SoyO00Ry`YFrQw0g?5HH&?%GH~$rS{fIjkL~0;LA$&=@FYCG|F6(9Z zPLCKGFAiFs^mBi~rvmy`RY!?O9g}6KWkaGMX7|~}!IuE-l(FjV&eAJM$L<2; z-aT)^&tOpB!pwcde3vFyV$Y#tD3h-v%PTS8udH1;uWy+-yRyOJ-_EVXvL|Y5_T1U5 z%!&MqOVo!UIKzGgi~f0lbI(4Dr3EAjeaj$!r-08A*wl!hk@jxx`d`01Q`<{fhA@7> zF*pE;Do8ZsJ#sFbM#=h5XNf|hwL*f$Fa(d|&}lIbQh&KBYYfQ0eqT;BIH22ix%0tJ zi4R)9T$SZN{yngM#g(!CfVUyL6M>3g1^cUZ@2_XkI38@ieAoL{_}wn-9Q4A}fXzk= zoR~F$7R%dyoyB=Ld6I_A&{X{{o{Ls<-+NMLC4S!{@yh$G<%+TsUsN2?CS^C;zCh~% z60Jk*|NeCWjmmp}ZUelRHDZ+kz5VL0jlWLeOx^M49-k4Xk6Nez?tpIW?*A~_H)vGe z7w{39xI zqxPSE9uAQ>;{WkB9D_MjL$$G;Fw^qUzhA<`Yuibz@&``GcaTVysT|?Av-St4jTZ8Q#j|rfX#w0 zb1H6cBV&k)f#h$k6Dt=nO`Kc&^1Q+1NTJSkgzkdfR>E_4mTVr&wRlP z%q#NP0H8Y#{6v=>y58)p{d`=JIY)>9cLq{Zwv~DnUMR)q7rW8UJ+cHFvTd?C5WgQ? z6@>?;Gfg3YFF|sDZZOGT?a}ScO1Mb#TBrrIGr8y85`^q+8hr0O6I@sA0q>#u z7#+HsIJdZAYpj8D)-yFzY$rr!#6!U1RbfBf4chW+y6^v7N*_@?5I`hh67q%E=viv3 z}KbW2l2UVcinoleEju(4n;rvteO&!japTzq-h| zZ&YT%s45$L=hTmSYg86p2%FK4OLLP}O)2_FQ{KSh1gWs0pFQXE$A-iTPFT+*?>(w66 z^(4NpnbQv{f_Ak#FQ(?_`a;Jhu}q-Nag8UdQfC$S~GnQs$uyKe`v+GumGU3+G z4X&Zt#|q;Ek1#0l{`P!3#GT{*kre33+bcX23LO^Qvxg0mTFZ^eK8DxrzTJG@24se} zloIUoUiktBs9JnBXzaIJYJAvjeh7iz2;GK@;%b;xa53w`gb%kA>`s;gmw+QERokG; z!JamT-JlwJGG$ed6e=%PU|5e{bQiVSR%2-PYwcmlEws9&4!DS9R9f7T`_ zQJV^du-k5;xFDjS<8J)8fAj+;P$`&AzV|DaEic9PAMDzjM?O!FuLaIieLFpNwW^Td zSuBm8JA2G--lUrxuLef{HTF-Gwb!T%{pBhTMf?*b!dCjnJ0%MEWWS_E@b_9i#M71H zrm-iTQ9Nz`_e3Ripi!>Y<{nGaKa_FigiUk-4iAbs`x~ws!5j4al)Asfli7t6^J4`B z^$1GZYkB8ww+*#6nbc#~uy!1Z2en7crePn#H+h-ZUPp{nWhF{9nzUi7F62AciLOq` zjc8qh;Kf3R7z3y}p12Nf+m-tDg}P3jZ}9lXr?1KJE|j1nzKdgpmo$IHh(zp4o_HDs z{D49H7H(TEt!Qbn>5Xf6XTdUx2GKF!zo^SUey>@mcuHz~*!~fDZg|tVRavvBA=+-k z6g#hl0gh5*rS9>~5ExKAwy1k8WFbCV8LVkW@_;|skJGb?&Kkfwyy_=VShvcMBCPrqiHm!ob0h~<~9<5B+)pV!6AWyN>oMM$l6R%Iyro(Y8Xq;EM7 zf+EFH>@UdMA~Jb?rRm<4K&Vx0hu(Gy{o^up^v)O``v8dDCegp_)en7D!a;h?4)FfE zNC*9zJk6EN4!L%d7`~?$VdLEzxOWInA6gAFRqhmO_v_3(nk$Jy<@e_1+_Q6KcSB3n zuR$n_e_*|h|B%naA%xW%NsgGVS~#$F)=@Pyvl3GGsMk(cg@ubc-V&-s50Va+W+`>= zO~^`fHFw(?G(%wQKiYSuot9zIVsusEbJ&Hyey+$*jw=gNE=R2bj423{_XX;kF;eAx zd)3_th}uzG59%O@I3PDijaC~gPfdqDaHJqfH!E!~TiZ|v8F7pbNqSqvxO&Zf1kFH0 zQzQWJfLw$5$tuAyCJ;$mYfs6BJ~ng2$Rpee=`Vxscw~E(WTNj1efuLkQ zEe(xFxnQqaoB+gKp(>#HD|fr>86QOAA82h>&`ddV1A%nvyXW+uC^a_UyVnmb^;tL# z#GDqg@1ANUX~qLeIHz;%o=@rcv_0ZhUv@MCPgqh57Uq92g1@5IHupdC019#q^oEYb zcrnsSW{FR-O1=Z1C5|khYV66IGthsv(M!rKba%?!xm6j;Hy~XjCA1Z-CBv#E{ertJ zG(r@Db2E8vs%b~PGgeUMIe-lceY}$@xrWaBEE_kJS;jREq;lIM_T>c%$zCZIYTe;E zq~)w`61Z}AK>&w^i}jukP&n@f@lg_m@DJ*GMJ|-S?Spl3y0W2QoJ=-#R74$5P#1H} zU=+D5%n!zmSu<+aZP;;XHaXzelRYf|m&BKlzSkXU(V1?9E542IC~}?=DPrcTymrGXETjbtZZUIIyr@n&!?Tf3 zUQ*2R^ETPr@8oYMaD>c=K?iyl<;2fNW*7K_arYXkFx{%mmPb^Pq*utEKmM6ky2c@; zEb_1Rut@F~SG-1=Qr%1MZ#~#9J4>|4!VN!K#XBclK0S0IY0PHdoq@E&2_Ae%!54Bs z?@?C3hqt%ZjLp!?-?xg{>=G_tgdVjh!S)Z(PX~>T^xT<*7v1v!sO#gV3s}G3fw$&z;=?XLv29m_H(_dWh zn1W5{F!AMxEgFlyt;T%_AFbpuYv@FC@JSkDz&kCtX+(I-vrO?!;iPb`=3U+;X|Ex7 zppXY6*C7cz-7d5egK|wLE@tU(2tjQ{Gy>794{*kVAkRK;JdPDanZ^%gb7KBBAt=#` zZkr3qH?iqSD3eZm2o#^BQapAV|-sEHz{GdNQ_b3GDKUSKrX|USq+-1 z|JDOquP2V^^`w<7p`7E@RG=gn%}&#gw`fRNeKc*geB(^sQQjZI^yc05c>FhI!UhD5 zMzP}`oCxK9A2JM>&t0%Rz^6rnD>%R@6m!)MJ;c908%Mk0c0)#YOhtPuW)oW1-xnfE zF7VTPH9Z8Fhy2ge-NM^RYHoAn3htln9Tv`6uL zJg+#7$mzFDD~Vjj+LV&Dbmpqk!V~QIWl9MUs%K1BUsU%e1$xL|+(L~l3pmq#DWMMa zEdGjFD0)brE7-lh0F6?ns7#!>hf}Gx^|j?J^2D2;6ba_wH*T1Oeyln?-<^Ww{w8TM zVFv&`O=#gPd)}b93A6t33rp7xwncMfjV;0L^@T=7WFg`}kLRy)>F}GMEQe7r2kx~0 zG?X{E$t*sJ5&c!AAN6Y3d1r*f-6*E!HmP;O_~}FMe)L!4oHJLOQ0ogI_6)76G0@M* zvT2g@?j+Qz3mxf@8OOgbNZ7Iobv*vIxi%MO%gO4rA&SM0p3{8OXVkSRhXNA&47Mr{ z-WcyVzBtYve6xOjWO55eie9!3b2{&V*BvDuF7KA={S4e7&=#k~+(z5YcLclEPwNv@ z%(GJ+>0i^1{v=frzprHLBohqEgdWQ-U;FU1SX#*_F(?bf0Q_GEY`h|q=6fvI7DjbX zx2xHciVxUOZMUba7qhP2y}08}S+4=%c+=O9`+Gd!KgJ#BCqy1=Lv8=P`VRhFeU^j- z=?f&E(xYz~j;e%x`q1~X5m*A!Rgt$5;zQccKzW5Jf;69fCOP&hWNRxYooBmE3Z zz}SFU00SMQQb+{=WGA=v*54R7dIj0AE@XFb7K%(Hxq)5GpuT&f(yzR=?aa@NOjq-J zp?&~@nl%E!{y&Hpgok>t`*=f$)9Wm{$5wo4!gu-Kp8sd$ z17;N5lu}4z6A8xl2TShhKen<4fI-u9Q8LG+T2&x4%zq%9Kkm6CrY**gydcdi`# zQvz;&EVeT4|G-k#WBI9bWW4RZ->r@9;+G{2qs=a8$dWkT3(C{V68rGrBuci$_CNkRe_lgwi1fIAO z3C3=L4XnSz{r>zFMAVQE;HanpXXXm)e(R^;8UXch#J{SBAbJHrMEUs*iue<$h?AsH z%@152AkwTz5r}6b4dI5hQbC3}ey40;?TMn^FNi9w%t9>Vgq|ESb| z+;_P8_cakcb;Zr$WK^6ScijnXEPYN06X+7n=49K+s3+7gGMNRdKp zrJgfw)?)?MHIbIdQrP;pT?xL>6mRdG#Zd*0j2aM%>=n~qyHm~bZJ*(8Bktul@aY-k zBTlI}gp$-rGcL@8PgIe-n-YNhNXF2bWm(S4s>Of-L2y9SbH?;?WmR?gVpK18F$Z$usi!4sDK(RfZNZTrTuR zawAQF5R@g|%>YNHmqtKG|_EuUNG`s zFm^1pW~IbZ9~oo~ zw0Yj$$S)2UF^A_iR2q?BXo-NJofH$71s=d8V2a&MF{=?@4U**sc?Yjwp{NqJyPD={ zLE-rYs5psCK>?OM>+2)|5!wQvC~pNT(J^gt@CM}_@aqO)aGyz4a<7qU0cv}DR#chq zGV`p#37$2GkTcwz7G}x>J>t~Sv@LAHpF0Pk#*G3qaq`&d!Nih9;{y9^s@|jVfmA0- zr!OO2e=Yc1PSpUd6}(D*bwa@HBdwN@U97;7K5+kF>>+Xa#3?e7c^t|-O32sxx?%y{ z1~>A&%~O9h?Hk|UtxLuE53)AnOLlQT|U&-0EmESOxfp=o!$##-Kw z!bO-fO8&)>oC@;d@h_I3^;ah&OMSJgdbhVbVF!H*zHTxq#Ev&nB5aDqj~tf$Yfndj zz^!^yU&ik317I?}0r*=7Y8mt!5NA%Gw9Bt4f^x!ZNTUKkVy=nP; z`P52i`Q`a&^$Q%@hqph$!!awaf!X02CT}9bhfh4w-SL$R>VDbTo@>INJs?6Zq^nhs zfGcjYh7V$GybEeCD6?P%%5SWL@ABc(_jY^$D&Y&rdp5pceJS*Q|E{Ld8N16i9xHDu zD5YDWMIUF6S-!VLs3F8Kc%%IG7gfR?8f&F=C!S$J_+=cY^pVB0X)pQ~sNGB}!HhZh zM#Y)NieJM;cC~QqbgLg%`#xLr5bfynV=dZpYU*{$lk-%BDNI$c)DOp6;F~p;UEC2`} zIm;uKem_r~%m3|l3HW*5VUP+-H(UX?$;vrzQ`c<mJ<$5PlT8zMC@LPkgfbSNL)zV$AANzH`KYs=IBZGo!LF)In6@I!yB~h^N ztUc0dARJA6P()MgQs&U5E_Y2l`d^x*a;Ac8IrA z9#208tvDJ{MvwnbdsiCPU2z5CySyLskW3R|8QZ5Ua97FcGjofPm}?%z1)N+wbbk_iL{C!VG_x^`3=dd{^fLElG;1}*+-RZt3frfsOX$a__)I6 z0{mBtUDPluLh`Jy`4Ja?wD8DFB+;U|10Y&aQS<*g5WdVxQSApObyfs%PKLuC%A_wHK_OB0rCo4Kn$#b3Y*twWosA7iT!k|D2Ij$ zi?%m<9z|S;->r+6hR8-mmS1{u}^pd$VT6;~*-jyA&7nP2Yh&hm*UJNoV< zn$z${^P~GPAu_uOG6PZx8eS-R-1#vt{}s&Df=XWNJeYww4DmAwpxJLaGH)@5rS?{W z)+@V#OW65l`Bl=PpY~jQ;!C>oqiUuQjqAC)^X`SV+sW%8(_ps2ddo>9hW>W{M5-Md zOiNbcG!|AA47ESG(2i&-&G3d&*=3KeC8@zP|7bSbS%zOOtI37NY{)aJ8fmtst7)FZ z8YI5}4z)!(IdaCKr6f4dd(oZEgV5e{`?q5Gll8$9orz~MU_@7sXZjO<6%}fX6F&NEWwn%@4-bviHCpK#H*z%)ynrey&!4bp9mmgev?P^Hn z)rNM%fMCg>0^PCrpt5D@jey!I5*Nbc-N_ZUwkM&)Ohum+31d*7PWDto6-SxAbMF3q zl)2Gp!eX9C5HN)UNz@R!X2j=EWniTD=D3LvO-=WcRY84(udR%+nu3u8;%=J~@0+FJ zKeFG)!{pfqd@WAw3mxCWcMQ!10%GieVg&`%VxkC7*-#4h;CCoxtA>KwYEaAF94#i^=QivO zx!ip{#OFC0;8w8>-DJd8GTB@iOUE5~06=Ls9xx4(|8tN1@jIax&K~)$@=E#bG{Q2E zxP$8jDM|1}tB6=)M4S|@pG{TJTg2sfZtgGnuX)*_6GM}}FRd29p^u4As561;ANIe2 zFUx%QNUvV%M^WE9QzORd`^=Se@|Xs0cscg@kLh-q;=5B@pl78V_gB-x-na?VcX z&wr0wNrE{KIr=X78Txxmf;z0=ZxxN|R4Hzl(^%dnS9EA}rY4P0<_QUR4=5mn8qe?_ z0EwdVr%Btm5$a1_>I`313oZz2aWNN4nTNpI6JhvC8j|7RV^%kqIpJ{=)IMFMRJ59Y zo=(Mq-qPIhRtr?|!T_bE+m4rAtaL98UGC^D@ zFGe^2@hWb3j6}+CDR4wj5oz%qbs9G{rca8#qAh^>dD+c5#7!iNBZ|K{wzh|dxkzSv z85B7e9Xqt~$>`9`sY9=SQ!42mj(8WPVzB~cvvX11>Esrf0YeUEM;UaqP42Dn!3TAm z@P9H-{SwUetADYyxp$oi=B#*tYD!K}Sr6}Y==lzy$1Z>o zJ`@9(db9SIr_sk>+Utfr^ifZH2L)1DH-J}AgjGJpqMy&24?Q1(#?3YWKAO$F^>04%A%>Ci^ zwV%?huN|Cwk`mbTYj|1Dz5CVBv*>ks0%qR9O_YsAt2wSnboJltToxLvgp1J$bW&0h z4a1xNyehas&U*~eX`l;Ula{K6d<^5xQc+m59_eL@SwT30gkB^jJ=kuWLIZ_Pc|6&3 z-)kw8qt!gcd0a(Vfc#DA{dX|(So)S)xirD7zmO`WBn!>QJEDw84_OG+Ns--M?|1fO z+AG_sY9`q)7c7b!%}=rQ41$DwZ?|*afwyzAq1e%P89oB1t=SKL%b$(4zZ5pwblbu| z=b5tEn+YwrF(1xx7*AA9h|$h%3N8U#kZr$~XxaV(7l03ODi06a4I$rGNwH@CIV?_4 zdtx-O&DPTidU~bWGyU+4BL>lYWsMN!u1m~OVnZ;KncCb!F z45KcEy*`gS6HeHh7?ewfHmKW1Gti7*^Qpc(4~TFcK;CFmP-j$pq@XR3HqC%#OLy$U z)m=Si_VZjup_)5@3L3@yfFE=Uf}L7e!nHpb|Etfwr=tl|F`+68sOs*4ohC34ymx{G z-t2f>A$Hi1oeNv@?I0%YmlqelAL&0$p|?FMfxW21`i_t0bNav8ZvVD;iQxQcv<1-a z-f}qi(CL})`!9Hg|M8BUyi{P`!X>Xut4z>d)gR~Cu7hT_x17Wc8&i9b z2i=)QkQe*iwo$A=4tZKt=0Zp$wh%*XKmp*B_rm?OP=5FRk<3d}Es|KoMvl=-?P$})uS{WpKC zfR0&drlC9dk0r7(s)y{p(_HV<>I5mEpCQ|4esnSX4ZP;8Q|0%6)kd0{>EdDB9s;b$ z1waM)!}3c2rqDUU^r|LhufR7}2`-3IERYijn}F!WRk4(8L!vf(EOjf}$r5>5mOQWj z>y$VXQU;|sKioOg=LQno){M%c;j1~#l+=scPcc?#LY&+&0s9}VodvimaK9vy1pHek z@FsNON$|fA%mC*uM^9mOjGTcFfWVu!l>ky+)2xsA0&PGWH&O>c<{@by` zfx{JYDwn=7C`^S?gIvdDul8Ej1Aff|&$on};2R5x^UF|J=G)N?twlL~xm<%zwaqDfbU6-_%}Y?C!+|IEiN?2GxYhYS*4?Ul$691(^CV6 zfR=Zo)V6%RB}j1|w^IUF!s+))O`ldkQ$>vS!CSd3@cC9VOd=qMXVBi_x;$naFm2K4 zuZ~4Cs$ev)%ly}VPetBlvGxlDh7yqdvm!(+v#;E{xN<7y*{C^JuBFYNySfub(r3yI z2h^J0?t`y&B1aA}B&aQ`DYIn~#D~Oh3`?>h(~)+4Af08=EY^nF+Mh-nsjS=g_< z(q>?d9teYt`611RZodtP8;IwR@yIF<=!xw0Sd734yBL0=pfj_fB+LSA{$rL5rm$1y z5>0ItZHphnj3tIG<4GD}<>rtZPu%B}L(pv4hvl0E1xGV*PR86!81TO#^=z=R-q$3q zFl&mK%Blkeucy#Lez2zK3X|wcZ=-c)MM!(IyD@@H#*c=j55xN(MqJzNa9V@-%iy$% z#rQsHyMm&)n3Qw#qJkXkoR1ZC2zS$sj!m@}hAb(g59UBiVB2vWL6G0>P0=yn<7xZC zZhHZ#smNaI}>uUP`9GM|)FN|7jW9{(LBq+=!`oxunvwBOP9*PS#>Xgq9pUMpq3r>tcWQ*0HPF(o@NBIQKwYd;Re5KmMOONf*<(#H+Qoa%m z;QO`p0@*@Mv59R)Z+=9pHHN-`eQjY)?v;yardfp+5mPOEMjste#9Mou04yG|6v`RJ z0QV1jei$vq(gY#GnGEMe1!e3Jul{p|;7kthWb$v9Mof))XThFMwVXxz^7q7zWJRCi zSRN*;AZ`L9@KzIzlrO`tG7-kDJB(xA=!W#={8GOuJISx%kU*pjPJ@SPu%3dSTyUOW zi}s$*EsoB74nE`vr9nHdWzq?M@jutIVqC%CjOHBM5QD<8^6%8a_Cqs4a|yLX{B|Zs z$DIO?6hJ2Nwdj~WfG8uht2q|=tTk%qQzzOL z+P-1h?@kg{4qbHIaF>zfR@_xXhn>sg%L3p70}|UW*$mg*oBsyjr5pbZMs7q-*(B9m z%vPfXD^?5ZXD~S(H_sT{OC!`8cHx=DTKzC&e6k*lKdogFx8L4`Nv)#FfnFOfrI@9V z6|1Nn`16aqEIvGpIHJX})26-IK4K#FB!`Z544*dD5{whERK-5w_A`(gIJ7UUfX5Ss z2(_Wb|9z1`Eu#OKul5a!1+79?Jw;k^7nscvt>bu2fwzhnU_t+>@%tgI^VYNuT^T$& zm|M7m(0+?234OiA_%f7vhn;DNDU?fpoElZ`RT!X9GgqT+)E5}hkq*kOXR)4`i}v}6 zzOk@A^mPyG@{)aIRw-RA3zu~w1Kx`}He|&;LdR3MI3I6NF@8paA!qLCM!evAWtH~q zk8>$Pt>XE#zfi*fwIlI}GU#q%a#jiYBl)u*@sObjrprg+)%e2ibm3bFV9XNA5)Hy$ z8VZ{q6J>ry->s}3bvw~ z#7)U;&2!GD75+9JWza$aeZwEEZhU6T;h^^pK^-|9l#xYAT=Xra)MlPkLL)0ugpSLw)#sJST?>Yds^{upd=Eu?5eHQu~CLhPD zi9|)QyfqQi5&}2kJ{VKJLlWuG^P&9JZAgQf+$Fn})?4X{zx2vt^>+Fm;>x5}BngU7k zR}f$D9)R*!&Bq7rLy!PkEdrGm=kx*D)kiTUyG3cb9q?neq|-3s2Ve+WO(lcRxDN{2 zHypk0=ZFx;#(IE0ZkgrNlS42oubu|u&qGbSu27Lu!(Fia+BPtMhW zvOH}sF}Go6)=#llnPwLC+*|7>VDH&4IM3YSX!@%;fQ1qIRU*|6q$WyF_mdXjY6p|U z24E8T9)rj4FXV#IG6eW30YL#+!i{p>$KYC*L9={2ys;xvt{MogOSu;Ww2U0WSrqv% z!;z5Z14x>2IV0PZ2#V4CnK%=A02qi;tYQ?Iyz|1Sg*R4nFW|rp9jqr|`e&@e^u6+9 z%@o|X@g<>x*yRbxujhpcd`>|~KlWTqmRR^Le+KZBxWBjyhl(GYz$|(P_!%KXFP8V} zEUYmt1#lzR3%y3JnT3MWn)>b(+r%eR;0!A2SAuK$8MvzxG+Quj$ip9OTTi}f&%fxH z_6}qfeB&~F0Mnk3bR)U=yP{K!;{Kxh7K^YfYc^HItS_6K^3BasN+~!ThBXRjrz|>{LaRSujoeTE`p-_vd=$f)cPs!lKz#+zL0;no zp=-6LZ^M@1`dA##(6unz;Ec5t%Gc)S$MOb&fh$S0(+FKhaV2#|4X!(MLzs2YMde=_ zl?Jt=ZAB+ItL1&wlc;FA(}?(VkYc*C`ml|5*vD7TuD^yvDi?GS^FeqR10TR=$6t0~ z(Y9!8X3wf?o8o})^4dP}-Fu(-F1(1ak+&O6SoT`(&Wb(itM`zy;Ul19`gL@}K+?zN zV9Lp&0FDm*P4Pm3#>JqQddm*PO?>O#2K<7O4;XMm!P5?rds_$mZ~_K_tA@qlw;THz zT0XeZYe_uJ2|?Vt+7*y&zsp5oouyHbsyMw7T=zaNEOL0hv^2ummewb{y#>GKLhSe` ztd$X6i!$t2OZ&Gmga9pv8&jy|UKnuL zh8%jiTQSqlL3IM4zT(8}RbCDAFuoy7&=!ZCUOODX3RZt7E`C^W$hTq9lu@3q z&)uM%ddn^ykqJ!?K=eu$`y-+39uFfYg5W4$2dns}ASv);j^9Us_A@0`BUAw;4nnc$ zPfC1cF7Y42)4FZ{C*cXGEGnNz-OpU8YO97_vl9qlxeDbsuEIN+5Er!@k2 zCR9zI0D8&g8A-RL2e8LD7?)d^;I~ECoS$V3PZ2i{P6*UuB@`3r%cw1=A=Lo;>;CD4 zNRZvI;%uGBdfgJWhP9c8Tw6v*AY?`6>;qYLdLf!_d?EF5y0uK6$k5#7=>#qmm9irN zlYA0g`4kFqRV&keS*3^Q@tXShm7rd-2SL5mvv%cn6@9)j2*ePC?_b10eoDN%a+Mac zD8w=*AD3Q_AK6o7^c{+IxchcGnn<)n0zhVeq3|r?bC=W4Zn%fGiw7Xs)o}6QbE15j z-|E?`=K_-l!jM|F`W*^Ao=^?%0lrNiYVoz5@&Q4w4VR4jgP5k$6z;MJ9`r8Kkt>{x zkf4eS2T@W-C*UQqGc5+MnJa;iu?k6b(okS*38>tR)}nwx2oIHi_ZIz?d&xZ*zy_lH4hs~VIe&LX&6EeyM25o*3mTe-JwIjI7Mzk;{+wKZ^xh-}&EG76i}Qvy?$(>efQB$*%b#Vvujv8HH@5McS`) zADo6pccqLoM=@BvQ9cTR6nW6U3PHN820?~Wa7OArhu^0jHMuIY(7mG@IxydO3$XD| zx-n4`3X7u>H-f-FayF)Md9A6yD$k(I5JF1|z?=s+gkvlr+oC2PyA6JQU}t%H%VU-0 znI77+`dr534F-d`fGDO)el0IGDDwjS;~sq@yJMq#cT@u>MF9~yo#z}XHmXvnkh7(4 z4498fpBig5yKP<+3;nj;CAF>QIgWP0h<>gi0{HTOPKY^@-v$l8)u{DxQ(D?Yt%;+# z0dd?U-l;*<8Y7d=WV?#(Hb7NLgHt!!K5H}({q zgA4iDQND(sI}8sSDG^ElrH%W8mCy8`*Y)e{=3ak~mkntuHzg&)Q=1YEJ-i$9M7ZJ* zHoWw~zXR%%dB;R_bYqWkyk^+{%_}&C5X=BgQc%t)rcxl@c zIbxyD855t9^Lon|aoLz&820a+7z3ZlcRluMlMb0|8;4@9kCu38ndQx=St(OT1%GpD z?mj2R&qx!PB63KuV!Nna$+lZd-3@nTZMaOUx5d>QgMSMDA`7_+J1=*xg_jnX{ZZw;Gg{(#J`J#^=gaH z+BvXs5hHN&dXk#MpD&PDU}e6x;zQ*lSvC>J1!30Rrt*pv>PB7a+3rt}x$>XmK|O^e zsyo}?bDlili&l8rYH>}C@aD82vFX}}WLw&*|%j$-Z zL(lbmb#n-KNCLoJ;zBGXutFsN@M6+KUphML_=CTF{GT$6 z|MnVRzVyH3XTPl8r$qIah4``%e=lA5Vi8{~;)_N6V^z Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED +> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE +> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE +> Task :buildSrc:compilePluginsBlocks UP-TO-DATE +> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE +> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE + +> Task :buildSrc:compileKotlin UP-TO-DATE +Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target + +> Task :buildSrc:compileJava NO-SOURCE +> Task :buildSrc:compileGroovy NO-SOURCE +> Task :buildSrc:pluginDescriptors UP-TO-DATE +> Task :buildSrc:processResources UP-TO-DATE +> Task :buildSrc:classes UP-TO-DATE +> Task :buildSrc:jar UP-TO-DATE +> Task :prometeu-infra:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE +> Task :prometeu-infra:processResources NO-SOURCE +> Task :prometeu-infra:classes UP-TO-DATE +> Task :prometeu-infra:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:compileTestJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:processTestResources NO-SOURCE +> Task :prometeu-compiler:prometeu-compiler-core:testClasses UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:test UP-TO-DATE +> Task :prometeu-compiler:prometeu-compiler-core:jacocoTestReport UP-TO-DATE +> Task :prometeu-animation:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE +> Task :prometeu-animation:processResources NO-SOURCE +> Task :prometeu-animation:classes UP-TO-DATE +> Task :prometeu-animation:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:compileTestJava UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:processTestResources UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:testClasses UP-TO-DATE +> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE +> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE +> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:test UP-TO-DATE +> Task :prometeu-compiler:prometeu-build-pipeline:jacocoTestReport UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileTestJava UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processTestResources UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:testClasses UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:test UP-TO-DATE +> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jacocoTestReport UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE +> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE +> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:compileTestJava UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:processTestResources NO-SOURCE +> Task :prometeu-lsp:prometeu-lsp-v1:testClasses UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:test UP-TO-DATE +> Task :prometeu-lsp:prometeu-lsp-v1:jacocoTestReport UP-TO-DATE +> Task :prometeu-studio-api:compileJava +> Task :prometeu-studio-api:processResources NO-SOURCE +> Task :prometeu-studio-api:classes +> Task :prometeu-studio-api:jar +> Task :prometeu-studio-api:compileTestJava +> Task :prometeu-studio-api:processTestResources NO-SOURCE +> Task :prometeu-studio-api:testClasses +> Task :prometeu-studio-api:test +> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE +> Task :prometeu-studio-core:compileJava UP-TO-DATE +> Task :prometeu-studio-core:processResources NO-SOURCE +> Task :prometeu-studio-core:classes UP-TO-DATE +> Task :prometeu-studio-core:jar UP-TO-DATE +> Task :prometeu-studio-core:compileTestJava UP-TO-DATE +> Task :prometeu-studio-core:processTestResources NO-SOURCE +> Task :prometeu-studio-core:testClasses UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE +> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE +> Task :prometeu-studio-api:jacocoTestReport +> Task :prometeu-studio-core:test +> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE +> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE +> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE +> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE +> Task :prometeu-studio-ui-javafx:compileTestJava UP-TO-DATE +> Task :prometeu-studio-ui-javafx:processTestResources NO-SOURCE +> Task :prometeu-studio-ui-javafx:testClasses UP-TO-DATE +> Task :prometeu-studio-core:jacocoTestReport +> Task :prometeu-studio-ui-javafx:test +> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE +> Task :prometeu-app:compileJava UP-TO-DATE +> Task :prometeu-app:processResources UP-TO-DATE +> Task :prometeu-app:classes UP-TO-DATE +> Task :prometeu-app:jar UP-TO-DATE +> Task :prometeu-app:compileTestJava UP-TO-DATE +> Task :prometeu-app:processTestResources UP-TO-DATE +> Task :prometeu-app:testClasses UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE +> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE +> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE +> Task :prometeu-studio-ui-javafx:jacocoTestReport +> Task :prometeu-app:test +> Task :prometeu-app:assembleStudioRuntime UP-TO-DATE +> Task :prometeu-app:startScripts +> Task :prometeu-app:jacocoTestReport +> Task :prometeu-app:installDist +> Task :prometeu-app:installedKnowledgeTest +> Task :prometeu-app:devDesktopTest + +BUILD SUCCESSFUL in 43s +78 actionable tasks: 15 executed, 63 up-to-date diff --git a/docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md b/docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md index f914e6fb..3b437af9 100644 --- a/docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md +++ b/docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md @@ -347,3 +347,24 @@ fuel exhaustion across slices and direct/transitive FRAME_SYNC are required; sync fixtures use synthetic common IR because PBS exposes no sync construct. Record revisions, platform/configuration, commands, scenarios, oracles and results. Existing runtime tests alone are not producer integration evidence. + +## Deterministic explanations and observed semantic context + +PBS diagnostics retain their original code/message/template and add a detector-specific checkId, owner explanation and immutable semanticContext. This instrumentation MUST NOT change resolution, visibility, typing, lowering acceptance or source language rules. An observed resolution constraint is evidence about the implementation's lookup, not a declaration that the language requires that constraint. + +| Check | Observed context | +| --- | --- | +| pbs.lowering.call-resolution | Requested call, receiver/type, argument count, declared candidates, enclosing return type and actual expected-type constraint. | +| pbs.lowering.structured-overload | Structured call, actual owner lookup key, parameter/return lookup types and observed lookup result. | +| pbs.flow.call-target | Applied symbol/construction, callable classification, argument/constraint, candidates and scope. | +| pbs.flow.assignment-target | Assignment symbol/construction, binding classification and scope. | +| pbs.lowering.stack-shape | Executable function, declared result slots, instruction count and recorded stack-check condition; known internal failure remains distinct from unsupported source construction. | + +Each semantic fact has {value,availability,reason}. Known null differs from not-recorded/unavailable/not-applicable. Keep declaredTypes, expressionTypes and resolutionConstraints distinct. Unknown module/dependency/expression information is marked not-recorded; source identity is available separately in the origin/input map. Related declarations/candidates are included only when actually recorded. Generic-instantiation diagnostic reconstruction MUST preserve the complete context and reported phase. + +The unchanged frozen cases F1-direct/F1-two-calls/F1-service-this, F3-function/F3-global/F3-service and F4-same-dependency/F4-same-direct qualify these mechanisms through real LSP analysis and Studio build/MCP. F3-service demonstrates that the shared unsupported-lowering code can represent distinct structured-overload and stack-shape checks. The original rejected observations are retained in the Studio diagnostic lesson. Following the production corrections, those eight valid sources MUST compile without their former false rejection; invalid file-private access remains a source rejection. Existing detector IDs, source attribution and operation-failure semantics remain unchanged. + + +## Production correction regressions + +The compiler must no longer emit the received false call-resolution, peer-binding or nominal-owner rejections for the eight valid production cases. Negative visibility controls still return structured source errors, independently from loader/infrastructure/guest failures. Diagnostics remain producer-owned; a compiler correctness fix does not weaken source attribution or reinterpret callable completion as approval. PbsFacadeDiagnosticTest uses the unchanged F3-file-private negative fixture, and StructuredDiagnosticsIntegrationTest now verifies the corrected positive corpus plus that negative control. The earlier rejection evidence remains immutable. diff --git a/docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md b/docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md index 703cd26d..b0e430a4 100644 --- a/docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md +++ b/docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md @@ -298,3 +298,13 @@ Its requirements apply in addition to this chapter; pause/resume remain independ Emit an existing typed return group: Int32 status 0 for success or canonical nominal error case index 1..N, followed by the complete plain payload group. Unit result has only status. Error payloads use admitted typed defaults, including nullable references, without constructing payload objects. Preserve typed reference/builtin/Fn/trait groups across signatures, Registry, direct/contract calls, branches and discard. Propagation fills the enclosing inactive payload and returns immediately; handle recovers locally or remaps outward. The common backend consumes neutral typed IR with no PBS branches. See [Core Sprite and Animation](27.%20Core%20Sprite%20and%20Animation%20Specification.md) for the complete API, ranges, state table and conformance obligations. + +## Production binding preservation + +Comparison lowering MUST scope expected types to the operands rather than leaking the enclosing bool result expectation into nested calls. Type inference does not execute an operand; emission evaluates each receiver and explicit argument once in the existing order. Legitimate contextual overload selection remains available at the owning expression boundary. + +The module assembly supplies admitted sibling declaration/signature identities. Lowering references ordinary sibling functions and service methods/accessors in their defining module. Global accesses resolve to the defining file's single storage slot; they MUST NOT allocate or initialize another global in each caller. Services retain one canonical singleton/accessor at their definition. Internal symbolic global bindings MUST be fully resolved within PBS before publishing common IR; the common instruction contract, ABI and backend remain unchanged. + +Runtime owner lookup and imported callable selection MUST preserve canonical declaration origin, rather than flattening private types into a name-only owner map. Synthesized receiver parameter types retain the defining source scope. Callable shape matching is qualified by the known owner declaration so distinct private owners with identical method spelling cannot replace or ambiguate one another. Aliases remain source-facing names for their original declaration. + +Conformance includes F1-direct/two-calls/service-this, F3-function/global/service and F4-same-dependency/direct with their original files/names/imports. All original F1/F2/F3/F4/F5 controls, file-private rejection and deliberate guest fault remain mandatory. An investigation-only unoptimized probe omits OptimizeIRVMPipelineStage and emits original IRVM; this is not a public compiler optimization option. See [Static Semantics](4.%20Static%20Semantics%20Specification.md) and [Diagnostics](12.%20Diagnostics%20Specification.md). diff --git a/docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md b/docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md index 0b315b33..8d4c43ee 100644 --- a/docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md +++ b/docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md @@ -873,3 +873,13 @@ Its requirements apply in addition to this chapter; pause/resume remain independ Factory-only admission uses trusted canonical declaration origin, never visible spelling or slot count. Reject external positional/named construction and forged metadata; omit prohibited constructors from completion/signature help and expose public factories. Result error identity is nominal through imports and aliases; a result-effect function cannot be converted to plain Fn. See [Core Sprite and Animation](27.%20Core%20Sprite%20and%20Animation%20Specification.md) for the complete API, ranges, state table and conformance obligations. + +## Production expression and module conformance + +Expected result types constrain the expression node that owns the expectation. A returned bool comparison MUST NOT force an int-returning operand call to return bool. Operand inference/resolution MUST retain its own type and use the opposite operand's known type when contextual disambiguation is required. This does not remove legitimate expected-return overload selection. Receiver/argument evaluation count and order remain those of [Dynamic Semantics](9.%20Dynamic%20Semantics%20Specification.md). + +Sibling-file callable/global/service surfaces MUST use declaration/signature-level admission from mod.barrel. Both mod and pub entries admit same-module access; omission leaves the declaration file-private. Publishing one overload MUST NOT publish every overload sharing its name. Caller-visible names and definition-scoped private dependencies are different surfaces. The existing [syntax visibility contract](3.%20Core%20Syntax%20Specification.md) and [resolution contract](5.%20Manifest%2C%20Stdlib%2C%20and%20SDK%20Resolution%20Specification.md) remain authoritative. + +Nominal receiver/method binding MUST retain the originating declaration and lexical scope, including aliases and synthesized receiver types. A private homonym introduced through a dependency cannot replace a local declaration or create an ambiguous executable target merely by sharing spelling. Transient IDs and PBX byte equality across builds are not nominal-identity requirements. + +Conformance: PbsProductionLoweringRegressionTest and PbsNominalOwnerRegressionTest cover the frozen 28-case corpus, contextual overloads, privacy by signature, shared storage/singletons and order-sensitive effects. The maintained source-to-guest matrix is tools/pbs-production-corpus/run.py. diff --git a/docs/specs/compiler/15. Bytecode and PBX Mapping Specification.md b/docs/specs/compiler/15. Bytecode and PBX Mapping Specification.md index b9a2b97e..b3567705 100644 --- a/docs/specs/compiler/15. Bytecode and PBX Mapping Specification.md +++ b/docs/specs/compiler/15. Bytecode and PBX Mapping Specification.md @@ -148,6 +148,26 @@ For v1 backend/runtime diagnostics and conformance support, emitted artifacts mu This minimum does not require one universal source-map format. +### 7.1 Compilation attribution before artifact emission + +Compiler failures before PBX emission MUST use attribution from the program being +checked. The IRVM function plan associates each instruction with its emission +operation and optional source origin. Lowering and optimization MUST preserve +that association, including recorded generated provenance, when expanding, +removing or rewriting instructions. + +An IRVM verification PC is a zero-based byte offset within a function in the +checked program. It MUST be identified as `pcSpace=irvm-function`, `pcUnit=byte`, +and accompanied by the reporting stage and validation point. It is not an emitted +PBX offset or executed runtime PC. A validation after an optimization pass uses +that pass's output, including its remapped instruction boundaries and origins. + +These in-memory diagnostics do not change PBX serialization or the minimum debug +hooks above. A missing instruction origin MUST remain explicit; neither a nearby +instruction nor a function's first line supplies an exact fallback. The complete +diagnostic and public-failure contract is defined in +[Compiler 19, sections 12–13](19.%20Verification%20and%20Safety%20Checks%20Specification.md). + ## 8. Deterministic Emitter Rejection Emitter-side rejection must be deterministic for malformed or inconsistent artifact candidates, including at minimum: diff --git a/docs/specs/compiler/19. Verification and Safety Checks Specification.md b/docs/specs/compiler/19. Verification and Safety Checks Specification.md index 3ca75d8b..d6917fef 100644 --- a/docs/specs/compiler/19. Verification and Safety Checks Specification.md +++ b/docs/specs/compiler/19. Verification and Safety Checks Specification.md @@ -171,7 +171,7 @@ PBS MUST keep its current `E_PARSE_*`, `E_SEM_*`, `E_LINK_*`, and `E_HOST_*` cod This specification MUST NOT rewrite diagnostic messages or renumber existing codes. -Common code MUST copy origin/span when the declaration, instruction, or metadata carries one. A missing origin MUST be a structural error. Implementations MUST NOT invent a span. +Common code MUST copy origin/span when the declaration, instruction, or metadata carries one. An origin required by a common handoff contract MUST remain a structural obligation; missing that required origin is a structural error. Diagnostic enrichment itself MUST NOT invent a span or change the underlying acceptance rules. Source-free inputs and failures without available source remain diagnosable through the explicit absence states in section 12. The same fact MAY exist on both sides. PBS explains the language rule; the common layer rejects an invalid handoff even when the frontend has no PBS markers. The two errors MUST keep distinct identities. Example: `E_SEM_MISSING_PROJECT_FRAME` and a missing frame root on an executable `IRLifecycleDeclaration`. @@ -217,6 +217,124 @@ This specification MUST NOT be read as authorizing: Platform validators MUST NOT depend on types from the PBS frontend module (`prometeu-frontend-pbs`). The package `p.studio.compiler.pbs` is not the complete boundary; facades shipped by that module remain PBS-owned. Platform validators MUST NOT discover roles from `__pbs.` prefixes. +## 12. Structured Verification Attribution + +### 12.1 Capture and coordinates + +IRVM validation failures MUST retain their existing code, function index and PC. +While the checked function and coherent emission plan are available, the validator +MUST capture the corresponding operation's attribution and known function/module +identity. The reporting stage MUST preserve that context, including when lowering +fails before assigning its result to the pipeline context. + +Coordinates MUST identify `pcSpace=irvm-function` and `pcUnit=byte`, with PC measured +from zero within the function using instruction encoded sizes. Lookup MUST match +an exact instruction boundary in the checked program. Source attribution MUST NOT +be reconstructed from a different program, a later PBX image or a nearest span. + +The technical `stageId` is separate from a frontend diagnostic's semantic phase. +Validation identifies `lowering-output`, `optimization-input` or +`optimization-pass-output`; the latter includes the pass name. A pass name records +where detection occurred and does not establish causality. The optimizer MUST +preserve operation and function attribution when rewriting or deleting instructions. + +### 12.2 Provenance, precision and absence + +Attribution uses independent, explicit fields: + +| Field | Values and meaning | +| --- | --- | +| `originKind` | `source`, `generated` or `unknown`, based on producer evidence. | +| `locationKind` | `instruction`, `function` or `none`; a function span supplies context only. | +| `role` | `detection` or `context`; generated source anchors and related locations are context. | +| `span` | Real FileId and half-open interval when available, preserving existing Span conventions. | +| `absenceReason` | `no-emission-plan`, `no-source-span`, `generated-without-anchor` or `unknown` when no span is available. | + +Missing source MUST NOT imply generated provenance. A known generated instruction +may have a real source anchor or no anchor. Missing primary source MUST remain +visible even if an enclosing function or other related location is known. Real +offset zero is valid; an invented zero/first line is not a fallback. No unmeasured +confidence percentage is part of the contract. + +Module-only validation and programs without emission plans MUST retain their +original rejection and known coordinates with `no-emission-plan`. This absence is +diagnostic information, not permission to weaken a required handoff invariant. +Frontend diagnostics keep their original source spans without being assigned an +IRVM instruction or execution PC. + +### 12.3 Detection and technical evidence + +`MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT` MUST expose `expectedHeight` and +`actualHeight` as structured parameters from the check. Its origin identifies the +RET at which the mismatch was detected. + +`MARSHAL_VERIFY_PRECHECK_STACK_MISMATCH_JOIN` MUST expose `existingHeight` and +`incomingHeight`. Its primary PC/span identifies the join destination. It MUST NOT +be presented as proof that this destination caused the conflict. + +Related locations MUST retain their span, contextual role and recorded relation, +such as declaration, callee, predecessor or enclosing function. They MUST NOT +invent a relationship from names or physical proximity. Full causal CFG or call +chain reconstruction is not required by this contract. + +### 12.4 Shared models and classification + +BuildingIssue and Diagnostic MUST preserve code, severity, original phase, +message, available function/module identity, source and verification context, +related locations, templates/placeholders and structured parameters through their +projections. The shared value types MUST remain independent of Studio and transport +DTOs. A backend phase absent from a frontend enum MUST remain observable through +its technical stage context. + +Diagnostic exposes the original reported phase separately from its semantic +DiagnosticPhase classification. A backend phase without a corresponding enum +member MUST round-trip unchanged through `getReportedPhase()` and BuildingIssue; +the semantic classification may remain `unknown`. + +Failure classification distinguishes `program-rejection`, `internal-failure`, +`verification-limit`, `infrastructure-failure` and `unknown`. Classification MUST +come from the detecting mechanism. An invalid IR invariant produced by the +compiler is an internal failure even when it has a user's source anchor. Source +semantic rejection remains program rejection. An unclassified technical exception +MUST NOT be relabeled by parsing its message or observing a span. + +The existing preload work/scratch guards MUST report `verification-limit` with +structured `resource`, `actual` and `limit` values, preserving their budgets and +rejection codes. Artifact-write IOException MUST report `infrastructure-failure` +with its known `outputPath`. These categories come from the detecting guards and +I/O boundary; they do not redefine artifact admission or error-code ownership. + +Throwable/stack trace may remain available locally, but MUST NOT replace the +structured payload or be serialized indiscriminately. Compiler diagnostics do not +occupy the native runtime error field. + +## 13. Public Pipeline Failure Contract + +The existing `analyze`, `compile` and `build` entrypoints and result contracts remain +the common facade. Analysis may complete with program diagnostics. Compile/build +MUST reject error diagnostics through BuildException while preserving accumulated +issues, including earlier warnings, the failed stage and known source identities. +The legacy exception constructors remain available; absence of their structured +payload MUST be distinguishable from a complete empty analysis. + +Successful results retain their analysis snapshot and its file table. Failures MUST +retain an immutable snapshot of compilation-local FileId to known project/path +identity, resolvable after the original stage/context ends. Another compilation's +reused FileId MUST NOT replace that identity. Snapshotting identity MUST NOT reread +live source or treat size/mtime as a content revision. Document/build version and +operation correlation belong to the Studio consumer contract. + +Stage outcomes MUST be coherent with structured data: error issues reject that +stage, technical exceptions fail the operation, and stages not executed are not +approved. Logging MUST agree; completion of one stage group is not final build +approval. Frontend diagnostic adaptation MUST precede a frontend success claim. + +These obligations MUST be qualified with controlled RET/join failures, missing +and generated origins, shifted-PC transformations, reused FileIds, a synthetic +frontend and real reduced PBS sources. Controlled failures qualify diagnostics; +they do not prove reproduction or correction of a historical production defect. +Compiler evidence alone does not qualify Studio/MCP integration or runtime safety. + ## Guest hook verification boundary @@ -228,3 +346,15 @@ optimization MUST preserve hook metadata and externally entered bodies/callees. Regression tests MUST inspect production PBX from source and execute it through the production runtime. Source errors, common emission errors, loader failures and executed traps retain distinct diagnostics; preserve the runtime envelope. + +## Explained detector context and consumed-source identity + +Verification diagnostics MUST identify the detector separately from the existing error code. Required checks are compiler.verify.ret-stack-height (expectedHeight/actualHeight), compiler.verify.join-stack-height (existingHeight/incomingHeight and join destination context), and compiler.verify.resource-limit (resource/actual/limit). Keep original codes and budgets unchanged. Choose check identity at the detector; never parse a human message to identify a mechanism. + +DiagnosticContext carries immutable producer/check/explanation/semantic enrichment. All stage/attribution/parameter/failure conversions, BuildingIssue and generic wrappers MUST preserve it. Common executable function metadata and emission/optimization copies retain language-neutral semantic facts; the backend MUST NOT import PBS AST or redo frontend resolution to explain a failure. Explanation describes the verified rule and observed failure, without claiming a source cause. + +SourceHandle records SHA-256 of bytes actually returned by its provider. Reading diagnostic context MUST NOT reread the live source. SourceReference snapshots retain compilation-local FileId/project/path and observed revision/mixed-read status. If input revisions mix, preserve that limitation and do not assert a UTF-16 range derived from one captured revision as the exact detection revision. Convert UTF-8 span offsets only at valid codepoint boundaries using captured matching content. + +CompilerDiagnosticProjection provides a neutral immutable issue vocabulary for app and LSP adapters, including stable analysis-local issue identity, original templates/parameters, facts, deterministic explanation, semantic availability, origins, related context and suggested checks. Captured input coverage does not claim a whole-filesystem snapshot or pack/assets/configuration-byte revisions. Studio API/Core consume translated values without compiler dependencies. + +Conformance: IRVMAttributionTest verifies RET/join identity, heights, qualified function-byte PC, origins and conversions; BytecodePreloadVerifierServiceTest uses the actual resource guard; StructuredDiagnosticsIntegrationTest and McpTaskToolsTest prove frontend and backend propagation through real services and authenticated MCP. The historical Zelda BAD_RET/Scene reports remain outside this reproduction claim. diff --git a/docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md b/docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md index 0149717a..fe63d2dd 100644 --- a/docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md +++ b/docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md @@ -5,6 +5,37 @@ The current typed Registry/PBX v0 contract is normative in Its complete typed function records, mandatory sections and verification rules replace the earlier slot-only artifact baseline. +## Structured Compiler Diagnostic Qualification + +These rows qualify Compiler 15 §7.1 and Compiler 19 §§12–13. They preserve the +original verifier rules and codes. Controlled RET/join failures qualify attribution, +not reproduction or correction of the historical Zelda reports. Local compiler +qualification does not release the separate Studio/MCP integration gate. + +| Obligation | Required behavior | Tests | Status | +| --- | --- | --- | --- | +| G19-12.1-RET | Exact checked-program attribution, qualified function-relative byte PC and structured expected/actual heights. | `IRVMAttributionTest#retMustRetainOriginCoordinatesAndStructuredHeights` | pass | +| G19-12.1-JOIN | Join destination and conflicting heights; detection does not claim cause. | `IRVMAttributionTest#joinMustPointAtDestinationAndRetainConflictingHeights` | pass | +| G19-12.1-LOWERING | Preserve context when lowering fails before assigning IRVM. | `LowerToIRVMPipelineStageTest#validationMustPreserveOriginBeforeIrvmIsAssigned` | pass | +| G19-12.1-PASS | Input and pass-output validation identify their actual programs and shifted PCs. | `IRVMAttributionTest#optimizationInputMustHaveItsOwnValidationPoint`; `IRVMAttributionTest#failingPassMustUseShiftedOutputAndSurvivingOrigin` | pass | +| G19-12.2-PROVENANCE | Generated anchors, generated absence and unknown origin remain distinguishable. | `IRVMAttributionTest#generatedAndMissingOriginsMustBeExplicit`; `StructuredDiagnosticTest#provenanceMustRemainIndependentFromAvailability` | pass | +| G19-12.2-CONTEXT | Function context does not replace missing primary source; real zero offsets survive. | `IRVMAttributionTest#functionContextMustNotReplaceMissingInstructionSpan`; `IRVMAttributionTest#retMustRetainOriginCoordinatesAndStructuredHeights` | pass | +| G19-12.2-NOPLAN | Module-only and no-plan failures retain known coordinates and explicit absence. | `IRVMAttributionTest#moduleOnlyValidationMustPreserveFailureWithoutInventingSource` | pass | +| G15-7.1-REMAP | Rewrites/removals preserve operation provenance and function context. | `IRVMAttributionTest#jumpRemappingMustRetainGeneratedOriginAndFunctionContext`; existing G21-7.5 preservation tests | pass | +| G19-12.4-PROJECTION | Preserve message/phase, related relationships, template parameters and classification without transport dependencies. | `StructuredDiagnosticTest#projectionMustPreservePhaseParametersRelatedAndLongSpan`; `FrontendDiagnosticProjectionTest#frontendProjectionMustRetainMessageRelatedAndParameters` | pass | +| G19-12.4-PHASE | Preserve a reported backend phase through the semantic diagnostic model without inventing an enum classification. | `StructuredDiagnosticTest#backendPhaseMustRoundTripWithoutInventingASemanticPhase` | pass | +| G19-12.4-LIMIT | Existing verifier guards supply typed limit category and structured values through the stage adapter. | `BytecodePreloadVerifierServiceTest#resourceGuardsMustKeepLimitCategoryAndValuesWithoutMessageParsing`; `VerifyBytecodePipelineStageTest#stageMustPreserveTypedVerificationLimit` | pass | +| G19-12.4-IO | An observed artifact-write I/O failure retains infrastructure category and output identity. | `WriteBytecodeArtifactPipelineStageTest#ioFailureMustBeInfrastructureWithStructuredOutputPath` | pass | +| G19-13-ANALYSIS | Rejected analysis returns issues, stops later stages and makes no false success claim. | `CompilerFailurePayloadTest#rejectedAnalysisMustReturnIssuesWithoutSuccessOrLaterStages` | pass | +| G19-13-FACADE | Compile/build fail-fast retains earlier warnings and technical failures are not empty analysis. | `CompilerFailurePayloadTest#failFastCompileAndBuildMustPreserveEarlierWarnings`; `CompilerFailurePayloadTest#technicalFailureMustNotBecomeAnEmptyAnalysis` | pass | +| G19-13-FILES | Immutable source snapshots remain distinct when FileIds are reused and contexts end; legacy payload absence is explicit. | `CompilerFailurePayloadTest#compileMustPreserveAnalysisDiagnosticsAndIndependentSourceIdentities`; `StructuredDiagnosticTest#failuresMustKeepIndependentFileIdsAfterTablesAreCleared` | pass | +| G19-13-SYNTH | Common invalid IR reaches the public facade with origin without PBS sources. | `SyntheticFrontendPipelineTest#invalidCommonIrMustReachFacadeWithSourceWithoutPbs` | pass | +| G19-13-PBS | Original reduced PBS rejection has structured source and truthful logs; its materialized control still compiles. | `PbsFacadeDiagnosticTest#realPbsRejectionMustKeepStructuredSourceAndNoFalseSuccess`; `PbsFacadeDiagnosticTest#materializedControlMustStillCompileThroughPublicFacade` | pass | + +Existing positive lowering, optimizer equivalence, emitter determinism and verifier +tests remain required controls. No new PBX format or runtime behavior is asserted +by these rows. + Status: Draft v1 (Traceability Baseline) Applies to: compiler/backend conformance traceability for canonical stage order and entrypoint-specific contracts @@ -161,3 +192,18 @@ frontend syntax and lowering remain consumer-owned. | Structured initialization and binding diagnostics | HeadlessProcessSessionTest; observed runtime JSON fixtures | pass | Preserves full payload through MCP, including null outer PC | | Published schema covers current runtime reasons | Actual LifecycleRole/NonFiniteValue payloads against runtime schema | partial | Runtime enum/schema mismatch recorded in AGD75; no payload rewriting | | PBS migration and integrated delivery | AGD75 and consumer tickets | partial | Existing PBS suite passing is not complete executable lowering evidence | + +## Explained diagnostic propagation qualification + +| Contract | Required executable proof | +| --- | --- | +| Backend check identity/explanation/qualified coordinates | IRVMAttributionTest; controlledInvalidCommonIrRetAndJoinSurviveTheRealBuildGatewayAndAuthenticatedMcp in McpTaskToolsTest. | +| Real resource guard, unchanged code/budget | BytecodePreloadVerifierServiceTest.resourceGuardsMustKeepLimitCategoryAndValuesWithoutMessageParsing. | +| Eight unchanged PBS production sources, successful/negative controls, actual revisions, UI/MCP parity | StructuredDiagnosticsIntegrationTest with frozen corpus SHA-256 0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87; authenticated MCP + production LSP/compiler/packer. | +| Retained analysis, version/digest mismatch and unavailable result | DiagnosticAnalysisProtocolTest; AutomationLspQueriesTest. | +| Failure codes and actual child termination/admission | LanguageFailureContractTest; TaskLanguageQueriesTest; existing task/revocation regressions. | +| Packer failed status/empty assets, payload preservation and cancellation | StructuredShipperTest. | +| Immutable values, known null, whole-issue count/UTF-8 detail budgets | DiagnosticPayloadTest. | +| Navigation revision and Unicode selection | DiagnosticNavigationTest; desktop evidence is recorded separately from projection tests. | + +Controlled invalid common IR and protocol faults are labelled fixtures. They do not reproduce historical Zelda failures or claim guest/runtime qualification. diff --git a/docs/specs/studio/10. DEV and Automation Specification.md b/docs/specs/studio/10. DEV and Automation Specification.md index 35df7ee0..f9ee5731 100644 --- a/docs/specs/studio/10. DEV and Automation Specification.md +++ b/docs/specs/studio/10. DEV and Automation Specification.md @@ -409,3 +409,19 @@ modifying approval policy. Revocation removes published access even before asynchronous worker/runtime cleanup finishes. New grants never restore old task IDs or receipts. Full integrated native-client acceptance belongs to PLN-0140; the prior HTTP acceptance alone is insufficient. + +## Explained build and language outcomes + +ShipperPrepareResult preserves status/logs/manifestPath/emittedArtifacts/diagnostics and adds issues/summary/context. Shipper remains an internal orchestration structure; this contract does not require direct public access. Existing automation tools and DEV snapshots expose its result. + +OperationState.SUCCEEDED means the callable completed mechanically. Build approval is independent: compiler-build, pack-validation, pack and manifest MUST all pass. Packer validation MUST have SUCCESS status and canPack=true. A failed validation with an empty asset list is still a rejection. A usable buildId is issued only for a successful current task build. Compiler warnings survive successful builds and pack failures. + +summary includes scope (document/project/build), validationStatus (passed/rejected/failed/incomplete/not-evaluated/cancelled), nullable errors/warnings/infos counts, stage states and coverage. Unknown counts are null, never invented zeroes. Stage states are not-run/running/passed/rejected/failed/cancelled. Producer/verification failures are distinct from program rejection; a bounded detail sample never determines approval. Detail coverage and input-revision coverage are independent. + +Cancellation is ShipperPreparationStatus.CANCELLED and validationStatus=cancelled. Preserve known partial issues/stages and do not issue a buildId. Cancel acknowledgement is independent of workerTerminated. Final tracked build results and the canonical session diagnostic view are published only after actual managed-worker termination. A cancelled worker's late return must not overwrite task revocation or turn into successful approval. Existing task admission, deduplication and explicit return authority remain unchanged. + +DEV and the existing build surface render the canonical public view: summary, counts, stages, code/check, explanation, and individually expandable facts, semantic context, related origins and suggested checks. They MUST NOT reclassify logs or invoke another compiler. Source navigation checks project admission and the current digest before selecting a range. Changed source is labelled stale; unavailable revisions do not guarantee a current range. The diagnostic viewer is read-only, and generated/external navigation retains its existing read-only authority. + +Language queries use a 10000 ms execution budget from admission (including queue/read/connect/initialize/analysis/query) plus a 2000 ms cleanup response window. Cancel pending requests and owned socket/listener/executors. shutdownNow is not evidence of termination. If a child remains alive, the caller may return the primary failure with workerTerminated=false, but the managed worker remains alive/busy until that child actually stops. Manual control and successor admission cannot be released early. Preserve the first failure and attach cleanup state rather than replacing it with a later failure. + +Conformance distinguishes model/projection tests, source-navigation tests and real JavaFX desktop inspection. Model tests alone do not establish visual inspection. The integrated corpus uses production compiler/packer/LSP and authenticated MCP; controlled invalid IR and stubborn-child/protocol fixtures are explicitly identified test injections. diff --git a/docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md b/docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md index 695ccb9a..2e66cdb0 100644 --- a/docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md +++ b/docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md @@ -266,7 +266,7 @@ IDs from another task or project cannot be used. Client sockets/listeners close on success, failure, timeout or cancellation; project-server shutdown closes its accepted sockets and executor. A lost client does not independently grant control. -The adapter bounds connect time to 2 seconds and the LSP exchange to 10 seconds; +The adapter bounds connect time to 2 seconds within the shared 10-second admission-relative execution budget, followed by a 2-second cleanup response window; Core bounds the request worker wait to 12 seconds. Documents are limited to 4 MiB of UTF-8 and task-local hierarchy state to 1024 items. These are adapter resource guards, unrelated to the runtime's deterministic frame/watchdog semantics. @@ -638,3 +638,35 @@ The coding client continues to own its configured stdio process and initial trus Glyph-bank animation authoring, generated-source navigation, strict task-scoped MCP tools and preview use the shared animation service and validation contract. UI/MCP preserve project authority, expected revisions, conflict/cancellation/revocation and document handoff. Persist only the canonical animation sidecar; keep generated PBS read-only and neutral services independent of JavaFX/transports. See the [complete animation contract](12.%20Animation%20Authoring%20Specification.md). + +## Explained diagnostics and same-analysis LSP extension + +The existing tools remain the entry points. studio_operation_get adds issues/summary/context to its build result; studio_language_query preserves operation/result/limitations and adds analysis/context. AutomationFailure adds neutral details. runtimeError remains reserved for native runtime data. Result fields and errors are declared in mcp/studio-tools-v1.json. + +Correlation uses the applicable projectRoot/taskId/operationId/clientRequestId/queryId/analysisId/buildId. queryId identifies the admitted synchronous language query; it does not imply a new persisted operation registry. source FileId remains compilation-local and is qualified by analysis/input identity. Context identifies actual observed source inputs with SHA-256, language/SDK/target/profile values and honest partial coverage. A per-connection version=1 is not a global disk revision. Configuration values without a captured manifest-byte revision and pack/assets inputs MUST remain explicitly limited. + +The LSP client advertises experimental.prometeuDiagnosticAnalysis={version:1}. A supporting real compiler-backed project server returns: + +```json +{"prometeuDiagnosticAnalysis":{"version":1,"method":"prometeu/documentAnalysis","diagnosticDataVersion":1}} +``` + +For each didOpen/didChange, the server retains one analysisId and its complete analysis result. Located standard diagnostics contain data.prometeu={version:1,analysisId,issueId,issue}. Under the shared detail budget, identity and an explicit omission limitation replace the omitted issue. Locationless/project issues remain in the complementary analysis envelope and MUST NOT be coerced into standard zero ranges. + +The request prometeu/documentAnalysis accepts {textDocument:{uri,version},contentSha256}. It returns {analysisId,document,issues,summary,inputs,configuration} from that retained analysis, without running a second backend/semantic analysis to produce details. document identifies the exact opened content. Current URI/version/digest mismatch returns JSON-RPC -32020 with reason ANALYSIS_REVISION_MISMATCH; unavailable retained analysis returns -32021 with ANALYSIS_UNAVAILABLE. Closing/disconnecting clears retained data. Analysis execution failure is an error, never successful empty diagnostics. + +When the capability is absent, preserve standard results, report ANALYSIS_DETAILS_UNAVAILABLE, and use limited/unavailable rich coverage with not-evaluated validation. This fallback does not qualify the enriched integration. Empty standard diagnostics alone cannot establish project/build validity. + +| Failure code | Mechanism | +| --- | --- | +| LANGUAGE_QUERY_TIMEOUT | Admission-relative execution deadline expired. | +| LANGUAGE_QUERY_CANCELLED | Query interrupted or cancelled. | +| LANGUAGE_SERVER_UNAVAILABLE | Project endpoint absent/unreachable. | +| LANGUAGE_QUERY_PROTOCOL_FAILURE | Unexpected JSON-RPC/protocol failure. | +| LANGUAGE_QUERY_INTERNAL_FAILURE | Analysis/query execution failed internally or advertised analysis is unavailable. | +| LANGUAGE_QUERY_CLEANUP_FAILED | Owned query resource cleanup failed. | +| LANGUAGE_QUERY_REVISION_MISMATCH | Analysis document identity differs from requested revision. | + +Details retain component, operation/method, queryId, applicable identity, executionBudgetMs, cleanupBudgetMs, workerTerminated and cleanup. Preserve existing authority, read-only, unsupported and parameter errors. The first failure wins; cleanup status is attached independently. The default budget is 10000+2000 ms as specified by Studio 10. This does not alter runtime deadlines. + +Conformance: StructuredDiagnosticsIntegrationTest exercises all eight unchanged PBS sources (now corrected positives), F1-local and the file-private negative control through authenticated HTTP MCP and the real project LSP; McpTaskToolsTest controlled invalid common IR exercises RET/join through the production backend/gateway/build tool. DiagnosticAnalysisProtocolTest checks retained identity/mismatch/unavailable; LanguageFailureContractTest checks real-socket controlled faults, fallback and delayed child termination. Existing task tests retain deduplication, cross-project isolation and revocation gates. diff --git a/docs/specs/studio/8. Project-Local Studio State Specification.md b/docs/specs/studio/8. Project-Local Studio State Specification.md index f504c5df..b84add5a 100644 --- a/docs/specs/studio/8. Project-Local Studio State Specification.md +++ b/docs/specs/studio/8. Project-Local Studio State Specification.md @@ -208,3 +208,26 @@ writes before retrying cleanup. Canceling that confirmation sends no consent. Neither task release, Stop, reclaim nor a timeout implicitly permits discard. Forced termination remains infrastructure failure with unknown publication outcome; it MUST NOT manufacture a durable save result. + + +## Project LSP endpoint discovery + +An open project's Studio LSP adapter MUST atomically publish `.studio/lsp.json` +after its loopback server starts. Schema version 1 contains `schemaVersion`, +`projectRoot` (canonical filesystem path), `sessionId` (fresh for each boot), +`processId`, `host` (`127.0.0.1`) and `port` (the actual OS-assigned port). +Publication failure MUST stop the newly started server. Shutdown MUST stop the +server and remove discovery only when its session identity still owns the file. +The file is transient, unversioned, carries no credential and MUST be independent +of automation grants. It does not change the public LSP configuration default. + +The VS Code extension MUST default to discovering this file for exactly one local +workspace project, validate schema/root/process/host/port, and initialize against +that canonical workspace. It MUST NOT silently select one of several roots or +fall back to a fixed port. Absent or dead-process discovery means waiting for +Studio; malformed metadata MUST be reported without connecting. File creation, +replacement or deletion and workspace/configuration changes MUST restart discovery. +Retries MUST use capped exponential backoff (2–30 seconds), reset after connection, +and stop at extension shutdown. Connection state MUST be visible without recurring +error popups. Explicit manual mode MAY use configured host/port for other hosts. +The server's project binding validation remains authoritative. diff --git a/docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md b/docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md index 73d4256b..bd248ca9 100644 --- a/docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md +++ b/docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md @@ -199,3 +199,25 @@ Filesystem publication MUST NOT run under a long-held authority monitor. Glyph-bank animation authoring, generated-source navigation, strict task-scoped MCP tools and preview use the shared animation service and validation contract. UI/MCP preserve project authority, expected revisions, conflict/cancellation/revocation and document handoff. Persist only the canonical animation sidecar; keep generated PBS read-only and neutral services independent of JavaFX/transports. See the [complete animation contract](12.%20Animation%20Authoring%20Specification.md). + +## Explained diagnostic values and producer boundaries + +StudioDiagnostic MUST carry the canonical logical issue through immutable JSON-compatible values. Studio API/Core MUST NOT depend on compiler AST/IR classes, PBS, LSP4j, transport objects or Throwable serialization. Existing code/severity/message constructors remain compatible. + +| Field group | Contract | +| --- | --- | +| Identity | issueId identifies one producer event within analysisId. The same event keeps its ID in standard LSP data, complementary analysis, MCP and UI. Repeated events remain distinct. | +| Producer and rule | producer has component, owner and languageId; code is the original producer code. codeOrigin marks producer versus studio-adapter. templateId/templateParameters remain separate from message. checkId identifies the detector independently of a shared code. | +| Classification | severity, phase, stageId and failureKind preserve the producer's classification. Detection phase MUST NOT become an inferred cause. | +| Explanation | explanation has id, summary, rule and availability. Text is deterministic and owner-maintained, never generated by an LLM at query time. Unknown checks report unavailable explanation. | +| Evidence | facts, semanticContext, origin, related, suggestedChecks and limitations retain observed values and their availability. Suggested checks are investigations, not automatic source edits. | + +semanticContext contains availability (available/partial/unavailable/not-applicable) and facts. Each fact is {value,availability,reason}, where availability is available/not-recorded/unavailable/not-applicable. An observed null is available; missing observations MUST NOT be represented as an observed null. Declared types, expression types and actual resolution constraints are separate concepts. + +Origins keep UTF-8 byte spans, UTF-16 ranges and qualified IRVM coordinates separate. Convert a span only using matching captured source bytes. Missing origins, generated code, mixed input revisions and unavailable source text MUST NOT produce a fabricated zero range. Function context belongs in related context when no instruction source is recorded. Detection and context are not causal attribution. + +The app compiler gateway translates complete warnings and BuildException payloads into neutral output or CompilerBuildFailure. Core MUST NOT catch compiler-domain exceptions directly. Packer adaptation preserves severity/category/blocking/evidencePath and asset identity; PACKER_ is explicitly an adapter code. Asset ID MUST NOT be interpreted as a bank ID. + +A shared public view contains issues, summary and context. Detail projection is limited to 1024 whole issues and 1 MiB of UTF-8 JSON issues. At a boundary, include a whole prefix, report partial detail coverage and LIMIT_EXCEEDED with budgets/total count, and retain full authoritative counts/evaluation separately. No issue field may be silently cut. UI and MCP consume this same view; underlying producer results remain complete. + +Conformance: DiagnosticPayloadTest, StructuredShipperTest, StructuredDiagnosticsIntegrationTest and the compiler attribution/conversion regressions. diff --git a/prometeu-app/src/main/java/p/studio/app/compiler/CompilerBuildGatewayAdapter.java b/prometeu-app/src/main/java/p/studio/app/compiler/CompilerBuildGatewayAdapter.java index 99aae6b1..95c5ad8a 100644 --- a/prometeu-app/src/main/java/p/studio/app/compiler/CompilerBuildGatewayAdapter.java +++ b/prometeu-app/src/main/java/p/studio/app/compiler/CompilerBuildGatewayAdapter.java @@ -8,7 +8,15 @@ import p.studio.core.shipper.CompilerBuildGateway; import p.studio.utilities.logs.LogAggregator; import java.util.LinkedHashSet; +import java.util.Map; +import java.util.UUID; import java.util.function.Consumer; +import p.studio.compiler.source.diagnostics.CompilerDiagnosticProjection; +import p.studio.compiler.source.diagnostics.SourceReference; +import p.studio.compiler.exceptions.BuildException; +import p.studio.api.diagnostic.StudioDiagnostic; +import p.studio.core.shipper.CompilerBuildFailure; +import p.studio.utilities.json.ImmutableJson; public final class CompilerBuildGatewayAdapter implements CompilerBuildGateway { private final p.animation.GlyphBankLayoutSource layouts; @@ -18,12 +26,41 @@ public final class CompilerBuildGatewayAdapter implements CompilerBuildGateway { public CompilerBuildOutput compile(ProjectReference project, Consumer logSink) { final var config = new BuilderPipelineConfig(false, project.rootPath().toString()); var context=BuilderPipelineContext.fromConfig(config);context.glyphBankLayoutSource=layouts; + var analysisId = UUID.randomUUID().toString(); + try { final var result = BuilderPipelineService.INSTANCE.build( context, LogAggregator.with(logSink)); final var capabilities = new LinkedHashSet<>( result.compileResult().analysisSnapshot().irBackend() .getReservedMetadata().requiredCapabilities().asList()); - return new CompilerBuildOutput(result.bytecodeArtifactPath(), capabilities.stream().toList()); + var sources = SourceReference.snapshot(result.compileResult().analysisSnapshot().fileTable()); + var root = context.rootProjectPathCanon == null ? project.rootPath() : context.rootProjectPathCanon; + var issues = CompilerDiagnosticProjection.issues(result.diagnostics(), sources, + CompilerDiagnosticProjection.capturedText(context.fileTable), root, analysisId).stream().map(StudioDiagnostic::fromMap).toList(); + return new CompilerBuildOutput(result.bytecodeArtifactPath(), capabilities.stream().toList(), issues, + inputContext(context, root, analysisId, sources)); + } catch (BuildException failure) { + var root = context.rootProjectPathCanon == null ? project.rootPath() : context.rootProjectPathCanon; + var issues = CompilerDiagnosticProjection.issues(failure.getDiagnostics(), failure.getSourceReferences(), + CompilerDiagnosticProjection.capturedText(context.fileTable), root, analysisId).stream().map(StudioDiagnostic::fromMap).toList(); + var inputs = new java.util.LinkedHashMap<>(inputContext(context, root, analysisId, failure.getSourceReferences())); + if (failure.getCause() != null) inputs.put("validationStatus", "failed"); + throw new CompilerBuildFailure(failure.getMessage(), issues, inputs, failure.hasDiagnosticPayload()); + } + } + + private Map inputContext(BuilderPipelineContext context, java.nio.file.Path root, String analysisId, + Map sources) { + var workspace = context.resolvedWorkspace; + return ImmutableJson.fields("projectRoot", root.toString(), "analysisId", analysisId, + "taskId", null, "operationId", null, "clientRequestId", null, "buildId", null, "queryId", null, "document", null, + "inputs", CompilerDiagnosticProjection.inputs(sources, root), "inputCoverage", "compiler-inputs", + "configuration", ImmutableJson.fields("languageId", workspace == null || workspace.frontendSpec() == null ? null : workspace.frontendSpec().getLanguageId(), + "sdkVersion", workspace == null ? null : workspace.stdlib(), "target", workspace == null ? null : workspace.target().name(), + "vmProfile", context.config.vmProfile(), "revisionAvailability", "not-recorded"), + "coverage", "partial", "limitations", java.util.List.of(ImmutableJson.fields("code", "PACK_INPUT_REVISIONS_NOT_CAPTURED", + "message", "Compiler source revisions do not identify all pack/assets inputs"), + ImmutableJson.fields("code", "CONFIGURATION_REVISION_NOT_RECORDED", "message", "Configuration values are recorded without a manifest-byte revision"))); } } diff --git a/prometeu-app/src/main/java/p/studio/app/lsp/AutomationLspQueries.java b/prometeu-app/src/main/java/p/studio/app/lsp/AutomationLspQueries.java index 48a55ba9..6e1d1344 100644 --- a/prometeu-app/src/main/java/p/studio/app/lsp/AutomationLspQueries.java +++ b/prometeu-app/src/main/java/p/studio/app/lsp/AutomationLspQueries.java @@ -9,6 +9,8 @@ import org.eclipse.lsp4j.services.*; import p.studio.api.automation.*; import p.studio.api.project.ProjectCatalog; import p.studio.core.language.LanguageQueryPort; +import p.studio.core.language.LanguageQueryExecution; +import p.studio.utilities.json.*; import p.studio.lsp.api.LspServerLifecycle; import p.studio.lsp.services.protocol.ExternalSourceLanguageServer; import org.eclipse.lsp4j.jsonrpc.Launcher; @@ -41,7 +43,7 @@ public final class AutomationLspQueries implements LanguageQueryPort { @Override public void endTask(TaskIdentity task) { items.remove(task); - final var state = externalTasks.remove(task); + final var state = externalTasks.get(task); if (state == null) return; final var workers = Executors.newCachedThreadPool(); try (var socket = new Socket()) { @@ -60,13 +62,15 @@ public final class AutomationLspQueries implements LanguageQueryPort { init.setInitializationOptions(Map.of("prometeuExternalConsumerId", state.consumer())); server.initialize(init).get(2, TimeUnit.SECONDS); server.releaseExternalSource(new ExternalSourceLanguageServer.Request(state.consumer(), null)).get(2, TimeUnit.SECONDS); + externalTasks.remove(task, state); } finally { listening.cancel(true); } } catch (Exception failure) { // A closed project host has already released its registry. Other cleanup // failures are surfaced instead of silently reporting a successful task end. if (lifecycle.endpoint(state.binding()).isPresent()) throw new IllegalStateException("Could not release task external sources", failure); - } finally { workers.shutdownNow(); } + externalTasks.remove(task, state); + } finally { new LanguageQueryExecution("endTask", 10_000, 2_000).finishWorkers(workers); } } private static class QuietClient implements LanguageClient { @@ -78,6 +82,24 @@ public final class AutomationLspQueries implements LanguageQueryPort { } @Override public Map query(TaskIdentity task, String operation, Map parameters) throws Exception { + return query(task, operation, parameters, new LanguageQueryExecution(operation, 10_000, 2_000)); + } + + @Override public Map query(TaskIdentity task, String operation, Map parameters, + LanguageQueryExecution execution) throws Exception { + try { + var result = performQuery(task, operation, parameters, execution); + if (execution.hasFailure()) throw execution.exception(AutomationFailure.Code.LANGUAGE_QUERY_CLEANUP_FAILED, "Language query cleanup failed", true); + return result; + } catch (IllegalArgumentException | ControlDeniedException failure) { throw failure; } + catch (Exception failure) { + recordFailure(execution, failure); + throw execution.exception(AutomationFailure.Code.LANGUAGE_QUERY_INTERNAL_FAILURE, "Language query failed", true); + } + } + + private Map performQuery(TaskIdentity task, String operation, Map parameters, + LanguageQueryExecution execution) throws Exception { if (!OPERATIONS.contains(operation)) throw failure(AutomationFailure.Code.UNSUPPORTED_CAPABILITY, "Unsupported language operation: " + operation); var context = knowledge.context(task.projectRoot()); var primary = context.languages().stream().filter(ProjectKnowledge.Language::primary).findFirst().orElseThrow(); @@ -85,7 +107,7 @@ public final class AutomationLspQueries implements LanguageQueryPort { throw failure(AutomationFailure.Code.UNSUPPORTED_LANGUAGE, "Project language has no available LSP"); var project = projects.openProject(context.projectRoot()); var binding = LspLifecycleAdapter.context(project); - var endpoint = lifecycle.endpoint(binding).orElseThrow(() -> failure(AutomationFailure.Code.INFRASTRUCTURE_FAILURE, "Project LSP is not running; reopen the project if its language changed")); + var endpoint = lifecycle.endpoint(binding).orElseThrow(() -> failure(AutomationFailure.Code.LANGUAGE_SERVER_UNAVAILABLE, "Project LSP is not running; reopen the project if its language changed")); var params = mapper.valueToTree(parameters); CallHierarchyItem item = null; String uri = null; @@ -116,11 +138,14 @@ public final class AutomationLspQueries implements LanguageQueryPort { } uri = document.toUri().toString(); } - long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(10); + long deadline = execution.deadlineNanos(); + if (System.nanoTime() >= deadline) throw new TimeoutException("Language query admission budget expired"); var workers = Executors.newCachedThreadPool(r -> { var thread = new Thread(r, "studio-automation-lsp"); thread.setDaemon(true); return thread; }); try (var socket = new Socket()) { - if (!InetAddress.getByName(endpoint.host()).isLoopbackAddress()) throw failure(AutomationFailure.Code.INFRASTRUCTURE_FAILURE, "Project LSP endpoint is not local"); - socket.connect(new InetSocketAddress(endpoint.host(), endpoint.port()), 2000); + execution.own(() -> { try { socket.close(); } catch (java.io.IOException ignored) {} }); + execution.own(workers::shutdownNow); + if (!InetAddress.getByName(endpoint.host()).isLoopbackAddress()) throw failure(AutomationFailure.Code.LANGUAGE_SERVER_UNAVAILABLE, "Project LSP endpoint is not local"); + socket.connect(new InetSocketAddress(endpoint.host(), endpoint.port()), (int)Math.max(1, Math.min(2000, TimeUnit.NANOSECONDS.toMillis(deadline - System.nanoTime())))); var diagnostics = new CompletableFuture>(); String expectedUri = uri; LanguageClient client = new LanguageClient() { @@ -137,6 +162,7 @@ public final class AutomationLspQueries implements LanguageQueryPort { .setRemoteInterface(ExternalSourceLanguageServer.class).setInput(socket.getInputStream()) .setOutput(socket.getOutputStream()).setExecutorService(workers).create(); var listening = launcher.startListening(); + execution.own(() -> listening.cancel(true)); final var server = launcher.getRemoteProxy(); final var acquired = new HashSet(); boolean succeeded = false; @@ -144,12 +170,14 @@ public final class AutomationLspQueries implements LanguageQueryPort { var initialize = new InitializeParams(); initialize.setRootUri(binding.projectRoot().toUri().toString()); initialize.setCapabilities(new ClientCapabilities()); - initialize.getCapabilities().setExperimental(Map.of("prometeuExternalSources", true)); + initialize.getCapabilities().setExperimental(Map.of("prometeuExternalSources", true, + "prometeuDiagnosticAnalysis", Map.of("version", 1))); final var previous = externalTasks.get(task); initialize.setInitializationOptions(previous == null ? Map.of("prometeuExternalPersistentConsumer", true) : Map.of("prometeuExternalConsumerId", previous.consumer(), "prometeuExternalPersistentConsumer", true)); - var capabilities = await(server.initialize(initialize), deadline).getCapabilities(); + execution.method("initialize"); + var capabilities = await(server.initialize(initialize), deadline, execution).getCapabilities(); final var experimental = gson.toJsonTree(capabilities.getExperimental()); if (experimental.isJsonObject() && experimental.getAsJsonObject().has("prometeuExternalConsumerId")) { final String consumer = experimental.getAsJsonObject().get("prometeuExternalConsumerId").getAsString(); @@ -158,52 +186,69 @@ public final class AutomationLspQueries implements LanguageQueryPort { server.initialized(new InitializedParams()); requireCapability(operation, capabilities); List currentDiagnostics = List.of(); + Map analysis = Map.of(); + var rich = experimental.isJsonObject() ? experimental.getAsJsonObject().get("prometeuDiagnosticAnalysis") : null; + boolean richAnalysis = rich != null && rich.isJsonObject() && rich.getAsJsonObject().has("version") + && rich.getAsJsonObject().get("version").getAsInt() == 1; + String digest = source == null ? null : sha256(source); if (document != null) { // Fresh client overlay contains exactly the saved UTF-8 file. Wait for analysis before querying. server.getTextDocumentService().didOpen(new DidOpenTextDocumentParams(new TextDocumentItem(uri, primary.id(), 1, source))); - currentDiagnostics = await(diagnostics, deadline); + if (richAnalysis) { + execution.method("prometeu/documentAnalysis"); + var retained = await(server.documentAnalysis(new ExternalSourceLanguageServer.DiagnosticAnalysisRequest( + new VersionedTextDocumentIdentifier(uri, 1), digest)), deadline, execution); + analysis = mapper.convertValue(mapper.readTree(gson.toJson(retained)), Map.class); + } + currentDiagnostics = await(diagnostics, deadline, execution); } + Map externalRevision = Map.of(); if (external) { final var request = new ExternalSourceLanguageServer.Request(externalTasks.get(task).consumer(), uri); - source = await(server.revalidateExternalSource(request), deadline).text(); + var content = await(server.revalidateExternalSource(request), deadline, execution); + source = content.text(); + externalRevision = mapper.convertValue(mapper.readTree(gson.toJson(content)), Map.class); + externalRevision = new LinkedHashMap<>(externalRevision); + externalRevision.remove("text"); if (source.getBytes(java.nio.charset.StandardCharsets.UTF_8).length > 4 * 1024 * 1024) throw failure(AutomationFailure.Code.LIMIT_EXCEEDED, "External source exceeds 4 MiB"); } + execution.method(operation); var text = server.getTextDocumentService(); var id = uri == null ? null : new TextDocumentIdentifier(uri); Object result = switch (operation) { case "readExternalSource" -> await(server.readExternalSource( - new ExternalSourceLanguageServer.Request(externalTasks.get(task).consumer(), uri)), deadline); + new ExternalSourceLanguageServer.Request(externalTasks.get(task).consumer(), uri)), deadline, execution); case "diagnostics" -> currentDiagnostics; - case "hover" -> await(text.hover(new HoverParams(id, position(params.path("position"), source))), deadline); - case "completion" -> await(text.completion(new CompletionParams(id, position(params.path("position"), source))), deadline); - case "signatureHelp" -> await(text.signatureHelp(new SignatureHelpParams(id, position(params.path("position"), source))), deadline); - case "definition" -> await(text.definition(new DefinitionParams(id, position(params.path("position"), source))), deadline); - case "references" -> await(text.references(new ReferenceParams(id, position(params.path("position"), source), new ReferenceContext(params.path("includeDeclaration").asBoolean(false)))), deadline); - case "documentSymbols" -> await(text.documentSymbol(new DocumentSymbolParams(id)), deadline); - case "workspaceSymbols" -> await(server.getWorkspaceService().symbol(new WorkspaceSymbolParams(params.path("query").asText(""))), deadline); - case "prepareRename" -> await(text.prepareRename(new PrepareRenameParams(id, position(params.path("position"), source))), deadline); + case "hover" -> await(text.hover(new HoverParams(id, position(params.path("position"), source))), deadline, execution); + case "completion" -> await(text.completion(new CompletionParams(id, position(params.path("position"), source))), deadline, execution); + case "signatureHelp" -> await(text.signatureHelp(new SignatureHelpParams(id, position(params.path("position"), source))), deadline, execution); + case "definition" -> await(text.definition(new DefinitionParams(id, position(params.path("position"), source))), deadline, execution); + case "references" -> await(text.references(new ReferenceParams(id, position(params.path("position"), source), new ReferenceContext(params.path("includeDeclaration").asBoolean(false)))), deadline, execution); + case "documentSymbols" -> await(text.documentSymbol(new DocumentSymbolParams(id)), deadline, execution); + case "workspaceSymbols" -> await(server.getWorkspaceService().symbol(new WorkspaceSymbolParams(params.path("query").asText(""))), deadline, execution); + case "prepareRename" -> await(text.prepareRename(new PrepareRenameParams(id, position(params.path("position"), source))), deadline, execution); case "rename" -> { String name = params.path("newName").asText(""); if (name.isBlank()) throw new IllegalArgumentException("newName is required"); - yield await(text.rename(new RenameParams(id, position(params.path("position"), source), name)), deadline); + yield await(text.rename(new RenameParams(id, position(params.path("position"), source), name)), deadline, execution); } - case "formatting" -> await(text.formatting(new DocumentFormattingParams(id, new FormattingOptions(4, true))), deadline); + case "formatting" -> await(text.formatting(new DocumentFormattingParams(id, new FormattingOptions(4, true))), deadline, execution); case "codeActions" -> await(text.codeAction(new CodeActionParams(id, range(params.path("range"), source), - new CodeActionContext(currentDiagnostics))), deadline); - case "documentLinks" -> await(text.documentLink(new DocumentLinkParams(id)), deadline); - case "foldingRanges" -> await(text.foldingRange(new FoldingRangeRequestParams(id)), deadline); + new CodeActionContext(currentDiagnostics))), deadline, execution); + case "documentLinks" -> await(text.documentLink(new DocumentLinkParams(id)), deadline, execution); + case "foldingRanges" -> await(text.foldingRange(new FoldingRangeRequestParams(id)), deadline, execution); case "selectionRanges" -> { if (!params.path("positions").isArray() || params.path("positions").isEmpty()) throw new IllegalArgumentException("positions are required"); var positions = new ArrayList(); for (var p : params.path("positions")) positions.add(position(p, source)); - yield await(text.selectionRange(new SelectionRangeParams(id, positions)), deadline); + yield await(text.selectionRange(new SelectionRangeParams(id, positions)), deadline, execution); } - case "prepareCallHierarchy" -> await(text.prepareCallHierarchy(new CallHierarchyPrepareParams(id, position(params.path("position"), source))), deadline); - case "incomingCalls" -> await(text.callHierarchyIncomingCalls(new CallHierarchyIncomingCallsParams(item)), deadline); - case "outgoingCalls" -> await(text.callHierarchyOutgoingCalls(new CallHierarchyOutgoingCallsParams(item)), deadline); - case "semanticTokens" -> await(text.semanticTokensFull(new SemanticTokensParams(id)), deadline); + case "prepareCallHierarchy" -> await(text.prepareCallHierarchy(new CallHierarchyPrepareParams(id, position(params.path("position"), source))), deadline, execution); + case "incomingCalls" -> await(text.callHierarchyIncomingCalls(new CallHierarchyIncomingCallsParams(item)), deadline, execution); + case "outgoingCalls" -> await(text.callHierarchyOutgoingCalls(new CallHierarchyOutgoingCallsParams(item)), deadline, execution); + case "semanticTokens" -> await(text.semanticTokensFull(new SemanticTokensParams(id)), deadline, execution); default -> throw new IllegalArgumentException("Unsupported operation"); }; var wire = mapper.readTree(gson.toJson(result)); @@ -215,7 +260,7 @@ public final class AutomationLspQueries implements LanguageQueryPort { acquired.removeAll(externalTasks.get(task).uris()); for (String externalUri : returned) { await(server.retainExternalSource(new ExternalSourceLanguageServer.Request( - externalTasks.get(task).consumer(), externalUri)), deadline); + externalTasks.get(task).consumer(), externalUri)), deadline, execution); externalTasks.get(task).uris().add(externalUri); } } @@ -229,9 +274,23 @@ public final class AutomationLspQueries implements LanguageQueryPort { if (operation.equals("prepareCallHierarchy") || operation.equals("incomingCalls") || operation.equals("outgoingCalls")) addItemIds(task, wire); var output = new LinkedHashMap(); output.put("operation", operation); output.put("result", mapper.convertValue(wire, Object.class)); + if (document != null && !richAnalysis) { + limitations.add("ANALYSIS_DETAILS_UNAVAILABLE"); + analysis = ImmutableJson.fields("analysisId", null, "issues", List.of(), "summary", + DiagnosticPayloads.legacySummary("document")); + } output.put("limitations", limitations); + output.put("analysis", analysis); + output.put("context", ImmutableJson.fields("projectRoot", context.projectRoot().toString(), + "taskId", task.value(), "clientRequestId", null, "buildId", null, "queryId", execution.queryId(), "analysisId", analysis.get("analysisId"), + "document", document == null ? null : ImmutableJson.fields("uri", uri, "version", 1, "sha256", digest), + "inputs", analysis.getOrDefault("inputs", List.of()), "externalRevision", externalRevision, + "inputCoverage", "partial", "configuration", analysis.getOrDefault("configuration", Map.of()))); succeeded = true; return Collections.unmodifiableMap(output); + } catch (Exception failure) { + recordFailure(execution, failure); + throw failure; } finally { if (!succeeded && !acquired.isEmpty() && externalTasks.containsKey(task)) { final var state = externalTasks.get(task); @@ -242,11 +301,39 @@ public final class AutomationLspQueries implements LanguageQueryPort { server.releaseExternalSource(new ExternalSourceLanguageServer.Request(state.consumer(), acquiredUri)) .get(500, TimeUnit.MILLISECONDS); } + } catch (Exception cleanupFailure) { + execution.record(AutomationFailure.Code.LANGUAGE_QUERY_CLEANUP_FAILED, "Could not release query external sources", Map.of()); } finally { if (interrupted) Thread.currentThread().interrupt(); } } listening.cancel(true); } - } finally { workers.shutdownNow(); } + } finally { execution.finishWorkers(workers); } + } + + private static String sha256(String text) throws java.security.NoSuchAlgorithmException { + return HexFormat.of().formatHex(java.security.MessageDigest.getInstance("SHA-256") + .digest(text.getBytes(java.nio.charset.StandardCharsets.UTF_8))); + } + + private static void recordFailure(LanguageQueryExecution execution, Exception failure) { + if (failure instanceof AutomationException domain) { execution.record(domain.failure()); return; } + if (failure instanceof IllegalArgumentException || failure instanceof ControlDeniedException) return; + var cause = failure instanceof ExecutionException && failure.getCause() != null ? failure.getCause() : failure; + AutomationFailure.Code code; + Map details = Map.of(); + if (cause instanceof TimeoutException || cause instanceof SocketTimeoutException) code = AutomationFailure.Code.LANGUAGE_QUERY_TIMEOUT; + else if (cause instanceof InterruptedException || cause instanceof CancellationException) code = AutomationFailure.Code.LANGUAGE_QUERY_CANCELLED; + else if (cause instanceof ConnectException || cause instanceof SocketException) code = AutomationFailure.Code.LANGUAGE_SERVER_UNAVAILABLE; + else if (cause instanceof org.eclipse.lsp4j.jsonrpc.ResponseErrorException response) { + int rpc = response.getResponseError().getCode(); + details = ImmutableJson.fields("protocolCode", rpc, "reason", rpc == -32020 ? "ANALYSIS_REVISION_MISMATCH" : rpc == -32021 ? "ANALYSIS_UNAVAILABLE" : null); + code = rpc == -32020 ? AutomationFailure.Code.LANGUAGE_QUERY_REVISION_MISMATCH + : rpc == -32021 || rpc == -32603 ? AutomationFailure.Code.LANGUAGE_QUERY_INTERNAL_FAILURE + : AutomationFailure.Code.LANGUAGE_QUERY_PROTOCOL_FAILURE; + } else if (cause instanceof org.eclipse.lsp4j.jsonrpc.JsonRpcException || cause instanceof com.google.gson.JsonParseException + || cause instanceof com.fasterxml.jackson.core.JsonProcessingException) code = AutomationFailure.Code.LANGUAGE_QUERY_PROTOCOL_FAILURE; + else code = AutomationFailure.Code.LANGUAGE_QUERY_INTERNAL_FAILURE; + execution.record(code, "Language query failed: " + code.name(), details); } private void rememberExternalUris(Set uris, com.fasterxml.jackson.databind.JsonNode node) { @@ -336,7 +423,8 @@ public final class AutomationLspQueries implements LanguageQueryPort { if (node.isContainerNode()) for (var child : node) validateEdits(context, child); } - private static T await(CompletableFuture future, long deadline) throws Exception { + private static T await(CompletableFuture future, long deadline, LanguageQueryExecution execution) throws Exception { + execution.own(() -> future.cancel(true)); try { return future.get(Math.max(1, deadline - System.nanoTime()), TimeUnit.NANOSECONDS); } catch (ExecutionException failure) { if (failure.getCause() instanceof org.eclipse.lsp4j.jsonrpc.ResponseErrorException response) { diff --git a/prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java b/prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java index 5065659f..8670a3d8 100644 --- a/prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java +++ b/prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java @@ -10,7 +10,9 @@ import java.util.Objects; public final class LspLifecycleAdapter implements LspLifecyclePort { private final LspServerLifecycle lifecycle; - private final java.util.Map bindings = new java.util.concurrent.ConcurrentHashMap<>(); + private record Binding(LspProjectContext context, String sessionId) {} + private final com.fasterxml.jackson.databind.ObjectMapper mapper = new com.fasterxml.jackson.databind.ObjectMapper(); + private final java.util.Map bindings = new java.util.concurrent.ConcurrentHashMap<>(); public LspLifecycleAdapter(LspServerLifecycle lifecycle) { this.lifecycle = Objects.requireNonNull(lifecycle, "lifecycle"); @@ -19,15 +21,41 @@ public final class LspLifecycleAdapter implements LspLifecyclePort { @Override public void boot(ProjectReference project) { var binding = context(project); + String sessionId = java.util.UUID.randomUUID().toString(); lifecycle.bootServer(LspServerConfiguration.builder().endpoint( new p.studio.lsp.messages.LspServerEndpoint("127.0.0.1", 0)).build(), binding); - bindings.put(project.rootPath().toAbsolutePath().normalize(), binding); + try { + var endpoint = lifecycle.endpoint(binding).orElseThrow(() -> new IllegalStateException("Project LSP endpoint unavailable")); + var directory = java.nio.file.Files.createDirectories(binding.projectRoot().resolve(".studio")); + var temporary = java.nio.file.Files.createTempFile(directory, "lsp-", ".tmp"); + try { + mapper.writeValue(temporary.toFile(), java.util.Map.of( + "schemaVersion", 1, "projectRoot", binding.projectRoot().toString(), + "sessionId", sessionId, "processId", ProcessHandle.current().pid(), + "host", endpoint.host(), "port", endpoint.port())); + java.nio.file.Files.move(temporary, directory.resolve("lsp.json"), + java.nio.file.StandardCopyOption.ATOMIC_MOVE, java.nio.file.StandardCopyOption.REPLACE_EXISTING); + } finally { java.nio.file.Files.deleteIfExists(temporary); } + bindings.put(project.rootPath().toAbsolutePath().normalize(), new Binding(binding, sessionId)); + } catch (Exception failure) { + lifecycle.shutdownServer(binding); + throw new IllegalStateException("Failed to publish project LSP endpoint", failure); + } } @Override public void shutdown(ProjectReference project) { var binding = bindings.remove(project.rootPath().toAbsolutePath().normalize()); - if (binding != null) lifecycle.shutdownServer(binding); + if (binding == null) return; + try { + var file = binding.context().projectRoot().resolve(".studio/lsp.json"); + if (java.nio.file.Files.exists(file) + && binding.sessionId().equals(mapper.readTree(file.toFile()).path("sessionId").asText())) { + java.nio.file.Files.deleteIfExists(file); + } + } catch (java.io.IOException failure) { + throw new IllegalStateException("Failed to remove project LSP discovery", failure); + } finally { lifecycle.shutdownServer(binding.context()); } } static LspProjectContext context(ProjectReference project) { diff --git a/prometeu-app/src/main/java/p/studio/app/mcp/McpTaskTools.java b/prometeu-app/src/main/java/p/studio/app/mcp/McpTaskTools.java index d9223887..949bd108 100644 --- a/prometeu-app/src/main/java/p/studio/app/mcp/McpTaskTools.java +++ b/prometeu-app/src/main/java/p/studio/app/mcp/McpTaskTools.java @@ -89,6 +89,7 @@ public final class McpTaskTools { result.put("manifestPath", build.manifestPath() == null ? null : build.manifestPath().toString()); result.set("emittedArtifacts", mapper.valueToTree(build.emittedArtifacts().stream().map(Path::toString).toList())); result.set("diagnostics", mapper.valueToTree(build.diagnostics())); + build.diagnosticView().forEach((key, item) -> result.set(key, mapper.valueToTree(item))); var logs = result.putArray("logs"); build.logs().forEach(log -> logs.addObject().put("source", log.source().name()).put("severity", log.severity().name()) .put("message", log.message()).put("timestamp", log.timestamp().toString())); diff --git a/prometeu-app/src/main/java/p/studio/app/operation/ExecutorOperationExecutor.java b/prometeu-app/src/main/java/p/studio/app/operation/ExecutorOperationExecutor.java index 65f3b5ef..36390e7d 100644 --- a/prometeu-app/src/main/java/p/studio/app/operation/ExecutorOperationExecutor.java +++ b/prometeu-app/src/main/java/p/studio/app/operation/ExecutorOperationExecutor.java @@ -56,7 +56,7 @@ public final class ExecutorOperationExecutor implements OperationExecutor { final FutureTask submitted = new FutureTask<>(() -> { try { final R result = operation.call(); - if (transitionTerminal(OperationState.SUCCEEDED, summary)) { + if (transitionTerminal(cancelledResult(result) ? OperationState.CANCELLED : OperationState.SUCCEEDED, summary)) { completion.complete(result); } } catch (Throwable failure) { @@ -84,6 +84,11 @@ public final class ExecutorOperationExecutor implements OperationExecutor { } } + private static boolean cancelledResult(Object result) { + return result instanceof p.studio.api.automation.AutomationOutcome outcome && outcome.kind() == p.studio.api.automation.AutomationOutcome.Kind.CANCELLED + || result instanceof p.studio.api.shipper.ShipperPrepareResult build && build.status() == p.studio.api.shipper.ShipperPreparationStatus.CANCELLED; + } + @Override public OperationId id() { return id; diff --git a/prometeu-app/src/main/resources/mcp/studio-tools-v1.json b/prometeu-app/src/main/resources/mcp/studio-tools-v1.json index 79fea4e9..8eb662ce 100644 --- a/prometeu-app/src/main/resources/mcp/studio-tools-v1.json +++ b/prometeu-app/src/main/resources/mcp/studio-tools-v1.json @@ -57,6 +57,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -169,6 +174,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -260,6 +270,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -351,6 +366,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -383,7 +403,7 @@ { "name": "studio_language_query", "authority": "task", - "description": "Query project LSP capabilities using saved project files or task-owned read-only external sources. readExternalSource reads an external URI returned by definition; hover and definition can continue inside it. Returns refactoring proposals, never applies edits.", + "description": "Query project LSP capabilities using saved project files or task-owned read-only external sources. readExternalSource reads an external URI returned by definition; hover and definition can continue inside it. Returns refactoring proposals, never applies edits. Adds analysis and context from the retained didOpen analysis negotiated with prometeuDiagnosticAnalysis v1. Includes saved-source SHA-256 and queryId. 10000 ms execution from admission plus 2000 ms cleanup; language failures use LANGUAGE_QUERY_* or LANGUAGE_SERVER_UNAVAILABLE. Capability fallback is limited with ANALYSIS_DETAILS_UNAVAILABLE. Never infer validity from an empty standard diagnostic array.", "inputSchema": { "type": "object", "properties": { @@ -530,7 +550,29 @@ "const": "ok" }, "value": { - "type": "object" + "type": "object", + "properties": { + "analysis": { + "type": "object", + "properties": { + "issues": { + "type": "array", + "description": "Canonical immutable issues, at most 1024 whole issues and 1 MiB UTF-8 JSON. Explicit LIMIT_EXCEEDED with original counts when partial.", + "items": { + "type": "object", + "description": "issueId, producer, original code/codeOrigin, templateId/templateParameters, checkId, severity, phase/stageId/failureKind, message, facts, explanation, semanticContext, origin, related, suggestedChecks, limitations." + } + }, + "summary": { + "type": "object", + "description": "scope=document|project|build; validationStatus=passed|rejected|failed|incomplete|not-evaluated|cancelled; nullable counts, stages and independent detail/revision coverage." + } + } + }, + "context": { + "type": "object" + } + } } }, "required": [ @@ -558,6 +600,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -592,9 +639,110 @@ } }, "exampleValue": { - "operation": "definition", + "operation": "diagnostics", "result": [], - "limitations": [] + "limitations": [], + "analysis": { + "analysisId": "analysis-example", + "issues": [ + { + "issueId": "analysis-example:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_UNSUPPORTED_LOWERING", + "codeOrigin": "producer", + "templateId": "E_SEM_UNSUPPORTED_LOWERING", + "templateParameters": {}, + "checkId": "pbs.lowering.call-resolution", + "severity": "ERROR", + "phase": "semantics", + "stageId": "frontend", + "failureKind": "program-rejection", + "message": "Recorded callable could not be resolved", + "facts": {}, + "explanation": { + "id": "pbs.lowering.call-resolution", + "summary": "Executable call lowering must identify an admitted callable using the actual resolution constraints.", + "rule": "Executable call lowering must identify an admitted callable using the actual resolution constraints.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "requestedSymbol": { + "value": "data.value", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": "bool", + "availability": "available", + "reason": null + }, + "declaredTypes": { + "value": [ + "int" + ], + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector" + } + } + }, + "origin": { + "uri": null, + "span": null, + "range": null, + "availability": "unavailable" + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + } + ], + "summary": { + "scope": "project", + "validationStatus": "rejected", + "counts": { + "errors": 1, + "warnings": 0, + "infos": 0 + }, + "stages": [ + { + "stageId": "analysis", + "status": "rejected" + } + ], + "coverage": { + "details": "complete", + "revisions": "partial", + "limitations": [] + } + }, + "inputs": [] + }, + "context": { + "projectRoot": "/projects/game", + "taskId": "task-example", + "queryId": "query-example", + "analysisId": "analysis-example", + "clientRequestId": null, + "buildId": null, + "document": { + "uri": "file:///projects/game/src/main.pbs", + "version": 1, + "sha256": "0000000000000000000000000000000000000000000000000000000000000000" + }, + "inputCoverage": "partial" + } } }, { @@ -664,6 +812,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -797,6 +950,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -900,6 +1058,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -991,6 +1154,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -1082,6 +1250,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -1182,6 +1355,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -1273,6 +1451,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -1374,6 +1557,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -1537,6 +1725,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -1643,6 +1836,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -1679,7 +1877,7 @@ { "name": "studio_operation_get", "authority": "task", - "description": "Read a task-local operation by exactly one of operationId or clientRequestId, including known progress, typed result and image.", + "description": "Read a task-local operation by exactly one of operationId or clientRequestId, including known progress, typed result and image. Worker completion (SUCCEEDED) is independent of build approval. Build result adds canonical issues, summary and context; usable buildId requires SUCCESS with all four stages passed. Cancellation remains CANCELLED; final results require workerTerminated.", "inputSchema": { "type": "object", "properties": { @@ -1740,7 +1938,37 @@ "const": "ok" }, "value": { - "type": "object" + "type": "object", + "properties": { + "result": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "issues": { + "type": "array", + "description": "Canonical immutable issues, at most 1024 whole issues and 1 MiB UTF-8 JSON. Explicit LIMIT_EXCEEDED with original counts when partial.", + "items": { + "type": "object", + "description": "issueId, producer, original code/codeOrigin, templateId/templateParameters, checkId, severity, phase/stageId/failureKind, message, facts, explanation, semanticContext, origin, related, suggestedChecks, limitations." + } + }, + "summary": { + "type": "object", + "description": "scope=document|project|build; validationStatus=passed|rejected|failed|incomplete|not-evaluated|cancelled; nullable counts, stages and independent detail/revision coverage." + }, + "context": { + "type": "object", + "description": "projectRoot/taskId/operationId/clientRequestId/analysisId/buildId and actual-read input revisions; pack/assets coverage is explicit." + } + } + } + ] + } + } } }, "required": [ @@ -1768,6 +1996,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -1795,14 +2028,133 @@ "operationId": "operation-advance" }, "exampleValue": { - "operationId": "operation-advance", - "clientRequestId": "advance-example", - "state": "RUNNING", + "operationId": "operation-build", + "clientRequestId": "build-example", + "state": "SUCCEEDED", + "workerTerminated": true, "progress": { - "requestedFrames": 60, - "completedFrames": 12 + "requestedFrames": null, + "completedFrames": null }, - "result": null + "failure": null, + "result": { + "kind": "build", + "status": "FAILED", + "buildId": null, + "manifestPath": null, + "emittedArtifacts": [], + "diagnostics": [ + "Recorded callable could not be resolved" + ], + "logs": [], + "issues": [ + { + "issueId": "analysis-example:0", + "producer": { + "component": "compiler-frontend", + "owner": "compiler/pbs", + "languageId": "pbs" + }, + "code": "E_SEM_UNSUPPORTED_LOWERING", + "codeOrigin": "producer", + "templateId": "E_SEM_UNSUPPORTED_LOWERING", + "templateParameters": {}, + "checkId": "pbs.lowering.call-resolution", + "severity": "ERROR", + "phase": "semantics", + "stageId": "frontend", + "failureKind": "program-rejection", + "message": "Recorded callable could not be resolved", + "facts": {}, + "explanation": { + "id": "pbs.lowering.call-resolution", + "summary": "Executable call lowering must identify an admitted callable using the actual resolution constraints.", + "rule": "Executable call lowering must identify an admitted callable using the actual resolution constraints.", + "availability": "available" + }, + "semanticContext": { + "availability": "partial", + "facts": { + "requestedSymbol": { + "value": "data.value", + "availability": "available", + "reason": null + }, + "resolutionConstraints": { + "value": "bool", + "availability": "available", + "reason": null + }, + "declaredTypes": { + "value": [ + "int" + ], + "availability": "available", + "reason": null + }, + "expressionTypes": { + "value": null, + "availability": "not-recorded", + "reason": "Not recorded by this detector" + } + } + }, + "origin": { + "uri": null, + "span": null, + "range": null, + "availability": "unavailable" + }, + "related": [], + "suggestedChecks": [], + "limitations": [] + } + ], + "summary": { + "scope": "build", + "validationStatus": "rejected", + "counts": { + "errors": 1, + "warnings": 0, + "infos": 0 + }, + "stages": [ + { + "stageId": "compiler-build", + "status": "rejected" + }, + { + "stageId": "pack-validation", + "status": "not-run" + }, + { + "stageId": "pack", + "status": "not-run" + }, + { + "stageId": "manifest", + "status": "not-run" + } + ], + "coverage": { + "details": "complete", + "revisions": "partial", + "limitations": [] + } + }, + "context": { + "projectRoot": "/projects/game", + "taskId": "task-example", + "operationId": "operation-build", + "clientRequestId": "build-example", + "analysisId": "analysis-example", + "buildId": null, + "queryId": null, + "document": null, + "inputs": [], + "coverage": "partial" + } + } } }, { @@ -1872,6 +2224,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -1965,6 +2322,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -2075,6 +2437,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -2168,6 +2535,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -2259,6 +2631,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -2350,6 +2727,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -2801,6 +3183,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ @@ -3279,6 +3666,11 @@ "runtimeError": { "type": "object", "additionalProperties": true + }, + "details": { + "type": "object", + "additionalProperties": true, + "description": "Neutral component/operation/method/queryId, budgets, cleanup and workerTerminated; runtimeError remains native-runtime-only." } }, "required": [ diff --git a/prometeu-app/src/test/java/p/studio/app/DevDesktopTest.java b/prometeu-app/src/test/java/p/studio/app/DevDesktopTest.java index 1584bdd1..1b46069d 100644 --- a/prometeu-app/src/test/java/p/studio/app/DevDesktopTest.java +++ b/prometeu-app/src/test/java/p/studio/app/DevDesktopTest.java @@ -113,6 +113,47 @@ class DevDesktopTest { } } + @Test void explainedDiagnosticPaneExpandsFactsAndOpensCurrentReadOnlySource() throws Exception { + var source = root.resolve("main.pbs"); Files.writeString(source, "fn x() {}\n"); + var digest = java.util.HexFormat.of().formatHex(java.security.MessageDigest.getInstance("SHA-256").digest(Files.readAllBytes(source))); + var value = new java.util.LinkedHashMap<>(p.studio.utilities.json.DiagnosticPayloads.issue("TEST_EXPLAINED", "ERROR", "Recorded detector failure")); + value.put("checkId", "compiler.verify.ret-stack-height"); + value.put("explanation", java.util.Map.of("availability", "available", "summary", "RET must match the declared result slot count.")); + value.put("facts", java.util.Map.of("expectedHeight", 0, "actualHeight", 1)); + value.put("origin", java.util.Map.of("uri", source.toUri().toString(), "revision", digest, "range", java.util.Map.of("start", java.util.Map.of("line", 0, "character", 3), "end", java.util.Map.of("line", 0, "character", 4)))); + var pane = new p.studio.ui.javafx.diagnostics.DiagnosticResultsPane[1]; var window = new Stage[1]; + try { + fx(() -> { + pane[0] = new p.studio.ui.javafx.diagnostics.DiagnosticResultsPane(root); + var view = p.studio.utilities.json.DiagnosticPayloads.view(java.util.List.of(value), "build", "failed", java.util.List.of(), "partial"); + pane[0].show(java.util.Map.of("issues", view.issues(), "summary", view.summary(), "context", java.util.Map.of())); + window[0] = new Stage(); window[0].setTitle("Explained diagnostics desktop qualification"); + var scroll = new ScrollPane(pane[0]); scroll.setFitToWidth(true); + window[0].setScene(new Scene(scroll, 1050, 900)); window[0].show(); + pane[0].getChildren().stream().filter(n -> n instanceof TitledPane).map(n -> (TitledPane)n).findFirst().orElseThrow().setExpanded(true); pane[0].applyCss(); pane[0].layout(); + var body = (VBox)pane[0].getChildren().stream().filter(n -> n instanceof TitledPane).map(n -> (TitledPane)n).findFirst().orElseThrow().getContent(); + assertTrue(body.getChildren().stream().filter(n -> n instanceof Label).anyMatch(n -> ((Label)n).getText().contains("RET"))); + body.getChildren().stream().filter(n -> n instanceof TitledPane && ((TitledPane)n).getText().equals("facts")).map(n -> (TitledPane)n).forEach(n -> n.setExpanded(true)); + pane[0].applyCss(); pane[0].layout(); + var image = window[0].getScene().snapshot(null); var pixels = image.getPixelReader(); + var buffer = new java.awt.image.BufferedImage((int)image.getWidth(), (int)image.getHeight(), java.awt.image.BufferedImage.TYPE_INT_ARGB); + for (int y=0; y n instanceof Button && ((Button)n).getText().equals("Open source")).map(n -> (Button)n).findFirst().orElseThrow().fire(); + }); + long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(5); var opened = new java.util.concurrent.atomic.AtomicBoolean(); + while (!opened.get() && System.nanoTime() < deadline) { + fx(() -> { for (var visible : javafx.stage.Window.getWindows()) if (visible instanceof Stage stage && stage.getTitle().startsWith("Current source")) { + var viewer = (TextArea)((VBox)stage.getScene().getRoot()).getChildren().get(1); + assertFalse(viewer.isEditable()); assertEquals("x", viewer.getSelectedText()); opened.set(true); + } }); + if (!opened.get()) Thread.sleep(10); + } + assertTrue(opened.get(), "Source viewer opened with verified revision and selection"); + } finally { fx(() -> { for (var visible : java.util.List.copyOf(javafx.stage.Window.getWindows())) visible.hide(); }); } + } + @Test void formsSaveFailurePreservesDraftAndReturnReadsExternalContent() throws Exception { var file = root.resolve("document.txt"); Files.writeString(file, "initial"); fx(() -> { diff --git a/prometeu-app/src/test/java/p/studio/app/compiler/fixture/ControlledIrFrontend.java b/prometeu-app/src/test/java/p/studio/app/compiler/fixture/ControlledIrFrontend.java new file mode 100644 index 00000000..899b4129 --- /dev/null +++ b/prometeu-app/src/test/java/p/studio/app/compiler/fixture/ControlledIrFrontend.java @@ -0,0 +1,36 @@ +package p.studio.app.compiler.fixture; + +import p.studio.compiler.models.FrontendSpec; +import p.studio.compiler.services.FrontendPhaseService; +import p.studio.compiler.services.FrontendProvider; +import p.studio.utilities.structures.ReadOnlySet; + +public final class ControlledIrFrontend implements FrontendProvider { + public static final String LANGUAGE_ID = "controlled-ir"; + + private final FrontendSpec specification = FrontendSpec.builder() + .languageId(LANGUAGE_ID) + .allowedExtensions(ReadOnlySet.from("synth")) + .sourceRoots(ReadOnlySet.from("src")) + .build(); + private final ControlledIrPhase compiler; + + public ControlledIrFrontend() { this(false); } + + public ControlledIrFrontend(boolean invalidRet) { this(invalidRet, false); } + public ControlledIrFrontend(boolean invalidRet, boolean noInstructionOrigin) { compiler = new ControlledIrPhase(invalidRet, noInstructionOrigin); } + + @Override + public FrontendSpec specification() { + return specification; + } + + @Override + public FrontendPhaseService compiler() { + return compiler; + } + + public ControlledIrPhase syntheticCompiler() { + return compiler; + } +} diff --git a/prometeu-app/src/test/java/p/studio/app/compiler/fixture/ControlledIrPhase.java b/prometeu-app/src/test/java/p/studio/app/compiler/fixture/ControlledIrPhase.java new file mode 100644 index 00000000..8bdd3867 --- /dev/null +++ b/prometeu-app/src/test/java/p/studio/app/compiler/fixture/ControlledIrPhase.java @@ -0,0 +1,95 @@ +package p.studio.app.compiler.fixture; + +import p.studio.compiler.messages.BuildingIssueSink; +import p.studio.compiler.messages.FrontendPhaseContext; +import p.studio.compiler.models.IRBackend; +import p.studio.compiler.models.IRBackendExecutableFunction; +import p.studio.compiler.models.IRLifecycleCallableReference; +import p.studio.compiler.models.IRLifecycleCallableRole; +import p.studio.compiler.models.IRLifecycleDeclaration; +import p.studio.compiler.models.IRLifecycleModuleDeclaration; +import p.studio.compiler.services.FrontendPhaseService; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.diagnostics.DiagnosticSink; +import p.studio.compiler.source.identifiers.CallableId; +import p.studio.compiler.source.identifiers.FileId; +import p.studio.compiler.source.identifiers.ModuleId; +import p.studio.compiler.source.tables.CallableSignatureRef; +import p.studio.compiler.source.tables.ModuleReference; +import p.studio.utilities.logs.LogAggregator; +import p.studio.utilities.structures.ReadOnlyList; + +import java.util.concurrent.atomic.AtomicBoolean; + +final class ControlledIrPhase implements FrontendPhaseService { + private final AtomicBoolean invoked = new AtomicBoolean(); + private final boolean invalidRet; + private final boolean noInstructionOrigin; + + public ControlledIrPhase() { this(false); } + + public ControlledIrPhase(boolean invalidRet) { this(invalidRet, false); } + public ControlledIrPhase(boolean invalidRet, boolean noInstructionOrigin) { this.invalidRet = invalidRet; this.noInstructionOrigin = noInstructionOrigin; } + + public boolean invoked() { + return invoked.get(); + } + + @Override + public IRBackend compile( + final FrontendPhaseContext request, + final DiagnosticSink diagnostics, + final LogAggregator logs, + final BuildingIssueSink issues) { + invoked.set(true); + for (var id : request.fileTable.identifiers()) request.fileTable.get(id).readBytes(); + + final var moduleId = new ModuleId(0); + final var fileId = new FileId(0); + final var callableId = new CallableId(0); + final var span = new Span(fileId, 0, 1); + final var operationSpan = noInstructionOrigin ? Span.none() : span; + var instructions = new java.util.ArrayList(); + if (!invalidRet) { + instructions.add(new IRBackendExecutableFunction.Instruction(IRBackendExecutableFunction.InstructionKind.PUSH_I32, ModuleId.none(), "", null, null, null, "1", null, null, null, operationSpan)); + instructions.add(new IRBackendExecutableFunction.Instruction(IRBackendExecutableFunction.InstructionKind.JMP_IF_TRUE, ModuleId.none(), "", null, null, null, null, "join", null, null, operationSpan)); + } + instructions.add(new IRBackendExecutableFunction.Instruction( + IRBackendExecutableFunction.InstructionKind.PUSH_I32, ModuleId.none(), "", null, null, null, "1", null, null, null, operationSpan)); + if (!invalidRet) instructions.add(new IRBackendExecutableFunction.Instruction(IRBackendExecutableFunction.InstructionKind.LABEL, ModuleId.none(), "", null, null, null, "join", null, null, null, operationSpan)); + instructions.add(new IRBackendExecutableFunction.Instruction(IRBackendExecutableFunction.InstructionKind.RET, + "", null, null, operationSpan)); + final var frame = new IRBackendExecutableFunction( + fileId, + moduleId, + "frame", + callableId, + 0, + 1, + 0, + 0, + 0, + 1, + ReadOnlyList.wrap(instructions), + span); + final var frameRoot = new IRLifecycleCallableReference( + moduleId, + fileId, + callableId, + IRLifecycleCallableRole.FRAME_ROOT, + span); + + return IRBackend.builder() + .entryPointCallableName("frame") + .entryPointModuleId(moduleId) + .modulePool(ReadOnlyList.from(new ModuleReference("synth", ReadOnlyList.from("main")))) + .callableSignatures(ReadOnlyList.from( + new CallableSignatureRef(moduleId, "frame", 0, "() -> unit"))) + .executableFunctions(ReadOnlyList.from(frame)) + .lifecycleDeclaration(new IRLifecycleDeclaration( + ReadOnlyList.from(new IRLifecycleModuleDeclaration(moduleId, ReadOnlyList.empty())), + null, + frameRoot)) + .build(); + } +} diff --git a/prometeu-app/src/test/java/p/studio/app/lsp/AutomationLspQueriesTest.java b/prometeu-app/src/test/java/p/studio/app/lsp/AutomationLspQueriesTest.java index 60600260..6c3270a6 100644 --- a/prometeu-app/src/test/java/p/studio/app/lsp/AutomationLspQueriesTest.java +++ b/prometeu-app/src/test/java/p/studio/app/lsp/AutomationLspQueriesTest.java @@ -98,6 +98,15 @@ class AutomationLspQueriesTest { assertTrue(symbols.toString().contains("renamed"), symbols.toString()); assertFalse(symbols.toString().contains("helper"), symbols.toString()); } + @Test void validEmptyDocumentIsSuccessfulEvaluatedAnalysis() throws Exception { + Files.writeString(source, ""); + Files.writeString(source.resolveSibling("mod.barrel"), "pub fn frame() -> void;\n"); + Files.writeString(source.resolveSibling("frame.pbs"), "[Frame] fn frame() -> void {}\n"); acquire(); + var reply = query("diagnostics", Map.of("uri", source.toUri().toString())); + assertTrue(reply.path("result").isEmpty(), reply.toString()); assertTrue(reply.path("analysis").path("issues").isEmpty(), reply.toString()); + assertEquals("passed", reply.path("analysis").path("summary").path("validationStatus").asText()); + assertEquals(0, reply.path("analysis").path("summary").path("counts").path("errors").asInt()); + } @Test void proposalsDoNotWriteFilesAndQueriesCoverAdvertisedOperations() throws Exception { acquire(); for (String operation : List.of("hover", "completion", "signatureHelp", "references", "prepareRename", "semanticTokens")) diff --git a/prometeu-app/src/test/java/p/studio/app/lsp/LanguageFailureContractTest.java b/prometeu-app/src/test/java/p/studio/app/lsp/LanguageFailureContractTest.java new file mode 100644 index 00000000..c2399b45 --- /dev/null +++ b/prometeu-app/src/test/java/p/studio/app/lsp/LanguageFailureContractTest.java @@ -0,0 +1,162 @@ +package p.studio.app.lsp; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import p.studio.api.automation.*; +import p.studio.app.operation.ExecutorOperationExecutor; +import p.studio.core.language.*; +import p.studio.core.project.*; +import p.studio.core.session.DefaultAutomationSession; +import p.studio.app.compiler.CompilerProjectKnowledge; +import p.studio.lsp.api.LspServerLifecycle; +import p.studio.lsp.messages.*; +import p.studio.lsp.services.protocol.ExternalSourceLanguageServer; +import org.eclipse.lsp4j.*; +import org.eclipse.lsp4j.jsonrpc.*; +import org.eclipse.lsp4j.jsonrpc.messages.ResponseError; +import java.net.*; +import java.nio.file.*; +import java.util.*; +import java.util.concurrent.*; +import java.util.concurrent.atomic.*; +import com.fasterxml.jackson.databind.ObjectMapper; +import static org.junit.jupiter.api.Assertions.*; + +/** Controlled protocol faults use real sockets; the stubborn child is an explicitly injected port. */ +class LanguageFailureContractTest { + @TempDir Path root; + @Test void protocolMechanismsBecomeNeutralFailuresAndLegacyFallbackStaysLimited() throws Exception { + root = root.toRealPath(); var json = new ObjectMapper(); + Files.writeString(root.resolve("prometeu.json"), "{\"name\":\"fault\",\"version\":\"1\",\"language\":\"pbs\",\"stdlib\":\"1\",\"target\":\"Game\",\"dependencies\":[]}"); + var source = Files.createDirectories(root.resolve("src")).resolve("main.pbs"); Files.writeString(source, "fn x() -> int { return 1; }\n"); + var access = new ProjectAccessRegistry(); var catalog = new ProjectCatalogService(root.getParent(), json, new ProjectLocalStudioSetupStore(json)); + var knowledge = new CompilerProjectKnowledge(access, catalog, json); + var faults = new LinkedHashMap(); + faults.put(-32020, AutomationFailure.Code.LANGUAGE_QUERY_REVISION_MISMATCH); + faults.put(-32603, AutomationFailure.Code.LANGUAGE_QUERY_INTERNAL_FAILURE); + faults.put(-32099, AutomationFailure.Code.LANGUAGE_QUERY_PROTOCOL_FAILURE); + faults.put(0, AutomationFailure.Code.LANGUAGE_QUERY_TIMEOUT); + faults.put(1, null); // controlled standard-only server + try (var threads = Executors.newCachedThreadPool()) { + var authority = new DefaultAutomationSession(root, new ExecutorOperationExecutor(threads)); + var registration = access.register(root, authority::enterManual, () -> true, authority); + authority.grant(false).toCompletableFuture().join(); var task = authority.acquire().task(); + try { + for (var fault : faults.entrySet()) try (var listener = new ServerSocket(0, 8, InetAddress.getLoopbackAddress())) { + var served = threads.submit(() -> { + try (var socket = listener.accept()) { + var clientRef = new AtomicReference(); + var text = (org.eclipse.lsp4j.services.TextDocumentService)java.lang.reflect.Proxy.newProxyInstance(getClass().getClassLoader(), new Class[]{org.eclipse.lsp4j.services.TextDocumentService.class}, (proxy, method, args) -> { + if (method.getName().equals("didOpen")) { + var open = (DidOpenTextDocumentParams)args[0]; clientRef.get().publishDiagnostics(new PublishDiagnosticsParams(open.getTextDocument().getUri(), List.of())); + } + return null; + }); + var server = (ExternalSourceLanguageServer)java.lang.reflect.Proxy.newProxyInstance(getClass().getClassLoader(), new Class[]{ExternalSourceLanguageServer.class}, (proxy, method, args) -> switch (method.getName()) { + case "initialize" -> fault.getKey() == 0 ? new CompletableFuture() + : fault.getKey() == 1 ? CompletableFuture.completedFuture(new InitializeResult(legacyCapabilities())) + : CompletableFuture.failedFuture(new ResponseErrorException(new ResponseError(fault.getKey(), "controlled protocol failure", null))); + case "getTextDocumentService" -> text; + case "getWorkspaceService" -> new p.studio.lsp.services.protocol.PrometeuWorkspaceService(); + default -> null; + }); + var launcher = new Launcher.Builder().setLocalService(server) + .setRemoteInterface(org.eclipse.lsp4j.services.LanguageClient.class).setInput(socket.getInputStream()).setOutput(socket.getOutputStream()).setExecutorService(threads).create(); + clientRef.set(launcher.getRemoteProxy()); launcher.startListening().get(5, TimeUnit.SECONDS); + } catch (Exception ended) { /* Closing the client ends this controlled server. */ } + }); + var endpoint = new LspServerEndpoint(InetAddress.getLoopbackAddress().getHostAddress(), listener.getLocalPort()); + var lifecycle = lifecycle(endpoint); + var queries = new TaskLanguageQueries(access, new AutomationLspQueries(lifecycle, catalog, knowledge, json), 700, 500); + var params = Map.of("uri", source.toUri().toString()); + if (fault.getValue() == null) { + var reply = queries.query(root, task.value(), "diagnostics", params); + assertTrue(reply.get("limitations").toString().contains("ANALYSIS_DETAILS_UNAVAILABLE")); + assertTrue(reply.get("analysis").toString().contains("not-evaluated")); + } else { + var failure = assertThrows(AutomationException.class, () -> queries.query(root, task.value(), "diagnostics", params)).failure(); + assertEquals(fault.getValue(), failure.code()); assertTrue(failure.runtimeError().isEmpty()); + assertEquals(true, failure.details().get("workerTerminated")); assertNotNull(failure.details().get("queryId")); + } + served.get(3, TimeUnit.SECONDS); + } + var missing = new TaskLanguageQueries(access, new AutomationLspQueries(lifecycle(null), catalog, knowledge, json)); + assertEquals(AutomationFailure.Code.LANGUAGE_SERVER_UNAVAILABLE, + assertThrows(AutomationException.class, () -> missing.query(root, task.value(), "diagnostics", Map.of("uri", source.toUri().toString()))).failure().code()); + } finally { authority.closeAsync().toCompletableFuture().get(5, TimeUnit.SECONDS); registration.unsubscribe(); } + } + } + @Test void cancellationAndCleanupFailuresHaveSeparateNeutralCodes() throws Exception { + try (var workers = Executors.newCachedThreadPool()) { + var authority = new DefaultAutomationSession(root, new ExecutorOperationExecutor(workers)); + var access = new ProjectAccessRegistry(); var registration = access.register(root, authority::enterManual, () -> true, authority); + authority.grant(false).toCompletableFuture().join(); var task = authority.acquire().task(); + try { + for (boolean cleanupFailure : List.of(false, true)) { + var port = new LanguageQueryPort() { + public void endTask(TaskIdentity identity) {} + public Map query(TaskIdentity identity, String operation, Map parameters) { throw new AssertionError(); } + public Map query(TaskIdentity identity, String operation, Map parameters, LanguageQueryExecution execution) { + if (!cleanupFailure) throw new CancellationException("controlled cancellation"); + execution.own(() -> { throw new IllegalStateException("controlled cleanup failure"); }); + execution.cancel(); return Map.of(); + } + }; + var queries = new TaskLanguageQueries(access, port); + var error = assertThrows(AutomationException.class, () -> queries.query(root, task.value(), "diagnostics", Map.of())).failure(); + assertEquals(cleanupFailure ? AutomationFailure.Code.LANGUAGE_QUERY_CLEANUP_FAILED : AutomationFailure.Code.LANGUAGE_QUERY_CANCELLED, error.code()); + assertEquals(true, error.details().get("workerTerminated")); + if (cleanupFailure) assertEquals("failed", error.details().get("cleanup")); + assertEquals(ControlState.AGENT_WORKING, authority.snapshot().state()); + } + } finally { authority.closeAsync().toCompletableFuture().get(5,TimeUnit.SECONDS); registration.unsubscribe(); } + } + } + static ServerCapabilities legacyCapabilities() { + var capabilities = new ServerCapabilities(); capabilities.setTextDocumentSync(TextDocumentSyncKind.Full); return capabilities; + } + static LspServerLifecycle lifecycle(LspServerEndpoint endpoint) { + return new LspServerLifecycle() { + public void bootServer(LspServerConfiguration config, LspProjectContext context) {} + public void shutdownServer(LspProjectContext context) {} + public Optional endpoint(LspProjectContext context) { return Optional.ofNullable(endpoint); } + }; + } + @Test void delayedChildCleanupKeepsAdmissionAndPrimaryFailureUntilActualTermination() throws Exception { + try (var threads = Executors.newCachedThreadPool()) { + var authority = new DefaultAutomationSession(root, new ExecutorOperationExecutor(threads)); + var access = new ProjectAccessRegistry(); var registration = access.register(root, authority::enterManual, () -> true, authority); + authority.grant(false).toCompletableFuture().join(); var task = authority.acquire().task(); + var childEntered = new CountDownLatch(1); var releaseChild = new CountDownLatch(1); var executionRef = new AtomicReference(); + var port = new LanguageQueryPort() { + public Map query(TaskIdentity task, String operation, Map parameters) { throw new AssertionError(); } + public void endTask(TaskIdentity task) {} + public Map query(TaskIdentity task, String operation, Map parameters, LanguageQueryExecution execution) { + executionRef.set(execution); var child = Executors.newSingleThreadExecutor(); + child.submit(() -> { childEntered.countDown(); boolean interrupted = false; + while (true) try { releaseChild.await(); break; } catch (InterruptedException ignored) { interrupted = true; } + if (interrupted) Thread.currentThread().interrupt(); + }); + try { assertTrue(childEntered.await(2, TimeUnit.SECONDS)); } catch (InterruptedException stopped) { Thread.currentThread().interrupt(); } + execution.own(child::shutdownNow); + execution.finishWorkers(child); + execution.record(AutomationFailure.Code.LANGUAGE_QUERY_INTERNAL_FAILURE, "late failure", Map.of()); + return Map.of("late", true); + } + }; + try { + var queries = new TaskLanguageQueries(access, port, 150, 150); + var call = threads.submit(() -> queries.query(root, task.value(), "diagnostics", Map.of())); + assertTrue(childEntered.await(2, TimeUnit.SECONDS)); + var error = assertInstanceOf(AutomationException.class, assertThrows(ExecutionException.class, () -> call.get(2, TimeUnit.SECONDS)).getCause()).failure(); + assertEquals(AutomationFailure.Code.LANGUAGE_QUERY_TIMEOUT, error.code()); assertEquals(false, error.details().get("workerTerminated")); + assertEquals(ControlResult.Status.BUSY, assertThrows(ControlDeniedException.class, () -> authority.submit(task, "successor", () -> null)).status()); + assertEquals(ControlState.AGENT_WORKING, authority.snapshot().state()); + releaseChild.countDown(); + long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(2); + while (authority.snapshot().operation().state() != p.studio.api.operation.OperationState.CANCELLED && System.nanoTime() < deadline) Thread.onSpinWait(); + assertEquals(AutomationFailure.Code.LANGUAGE_QUERY_TIMEOUT, executionRef.get().exception(AutomationFailure.Code.LANGUAGE_QUERY_INTERNAL_FAILURE, "later", true).failure().code()); + } finally { releaseChild.countDown(); authority.closeAsync().toCompletableFuture().get(5, TimeUnit.SECONDS); registration.unsubscribe(); } + } + } +} diff --git a/prometeu-app/src/test/java/p/studio/app/lsp/LspDiscoveryTest.java b/prometeu-app/src/test/java/p/studio/app/lsp/LspDiscoveryTest.java new file mode 100644 index 00000000..349c63d4 --- /dev/null +++ b/prometeu-app/src/test/java/p/studio/app/lsp/LspDiscoveryTest.java @@ -0,0 +1,63 @@ +package p.studio.app.lsp; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import p.studio.api.project.*; +import p.studio.lsp.services.LspServerLifecycleImpl; +import java.nio.file.*; +import static org.junit.jupiter.api.Assertions.*; + +class LspDiscoveryTest { + @TempDir Path root; + final ObjectMapper mapper = new ObjectMapper(); + ProjectReference project() { return new ProjectReference("app", "1.0", "pbs", 1, ProjectTarget.Game, root); } + + @Test void publishesActualProjectEndpointAndRemovesItOnClose() throws Exception { + var lifecycle = new LspServerLifecycleImpl(); + var adapter = new LspLifecycleAdapter(lifecycle); + var project = project(); + adapter.boot(project); + try { + var data = mapper.readTree(root.resolve(".studio/lsp.json").toFile()); + assertEquals(1, data.path("schemaVersion").asInt()); + assertEquals(root.toRealPath().toString(), data.path("projectRoot").asText()); + assertEquals(ProcessHandle.current().pid(), data.path("processId").asLong()); + var endpoint = lifecycle.endpoint(LspLifecycleAdapter.context(project)).orElseThrow(); + assertEquals(endpoint.port(), data.path("port").asInt()); + assertEquals("127.0.0.1", data.path("host").asText()); + assertFalse(data.path("sessionId").asText().isBlank()); + } finally { adapter.shutdown(project); } + assertFalse(Files.exists(root.resolve(".studio/lsp.json"))); + assertTrue(lifecycle.endpoint(LspLifecycleAdapter.context(project)).isEmpty()); + } + + @Test void newSessionGetsFreshIdentityAndPortCanBeRediscovered() throws Exception { + var adapter = new LspLifecycleAdapter(new LspServerLifecycleImpl()); + var project = project(); + adapter.boot(project); + String first; + try { first = mapper.readTree(root.resolve(".studio/lsp.json").toFile()).path("sessionId").asText(); } + finally { adapter.shutdown(project); } + adapter.boot(project); + try { assertNotEquals(first, mapper.readTree(root.resolve(".studio/lsp.json").toFile()).path("sessionId").asText()); } + finally { adapter.shutdown(project); } + } + + @Test void shutdownPreservesMetadataOwnedByAnotherSession() throws Exception { + var adapter = new LspLifecycleAdapter(new LspServerLifecycleImpl()); + var project = project(); + adapter.boot(project); + Files.writeString(root.resolve(".studio/lsp.json"), "{\"sessionId\":\"replacement\"}"); + adapter.shutdown(project); + assertTrue(Files.readString(root.resolve(".studio/lsp.json")).contains("replacement")); + } + + @Test void failedPublicationRollsBackListeningServer() throws Exception { + Files.writeString(root.resolve(".studio"), "blocked"); + var lifecycle = new LspServerLifecycleImpl(); + var adapter = new LspLifecycleAdapter(lifecycle); + assertThrows(IllegalStateException.class, () -> adapter.boot(project())); + assertTrue(lifecycle.endpoint(LspLifecycleAdapter.context(project())).isEmpty()); + } +} diff --git a/prometeu-app/src/test/java/p/studio/app/mcp/McpTaskToolsTest.java b/prometeu-app/src/test/java/p/studio/app/mcp/McpTaskToolsTest.java index 573bcaf5..00e4764c 100644 --- a/prometeu-app/src/test/java/p/studio/app/mcp/McpTaskToolsTest.java +++ b/prometeu-app/src/test/java/p/studio/app/mcp/McpTaskToolsTest.java @@ -375,6 +375,61 @@ class McpTaskToolsTest { error("INVALID_TASK", httpCall(client, server, reconnected, "studio_build_start", args().put("clientRequestId", "late"))); } finally { lsp.shutdown(project); } } + @Test void cancelledBuildCannotPublishSuccessOrUsableArtifactIdentityAfterLateReturn() throws Exception { + acquire(); holdBuild = true; + var receipt = value(call("studio_build_start", args().put("clientRequestId", "cancel-build"))); + assertTrue(buildEntered.await(2, TimeUnit.SECONDS)); + value(call("studio_operation_cancel", args().put("operationId", receipt.path("operationId").asText()))); + assertFalse(poll("cancel-build").path("workerTerminated").asBoolean()); buildGate.countDown(); + var result = completed("cancel-build"); + assertEquals("CANCELLED", result.path("state").asText()); assertEquals("CANCELLED", result.path("result").path("status").asText()); + assertEquals("cancelled", result.path("result").path("summary").path("validationStatus").asText()); assertTrue(result.path("result").path("buildId").isNull()); + assertEquals(ControlState.AGENT_WORKING, session.snapshot().state()); + } + + @Test void controlledInvalidCommonIrRetAndJoinSurviveTheRealBuildGatewayAndAuthenticatedMcp() throws Exception { + Files.writeString(root.resolve("prometeu.json"), "{\"name\":\"controlled\",\"version\":\"1\",\"language\":\"controlled-ir\",\"stdlib\":\"1\",\"target\":\"Game\",\"dependencies\":[]}"); + Files.createDirectories(root.resolve("src")); Files.writeString(root.resolve("src/probe.synth"), "x"); + var reports = mapper.createArrayNode(); + try (var packer = p.packer.Packer.bootstrap(mapper, ignored -> {})) { + compose(new p.studio.core.shipper.StudioShipperService(new p.studio.app.compiler.CompilerBuildGatewayAdapter(), packer.workspaceService(), mapper, new ExecutorOperationExecutor(workers), access)); + try (var server = new LocalMcpServer(mapper, tools); var client = java.net.http.HttpClient.newHttpClient()) { + server.start(); var credential = server.credentials().prepare(root); credential.activate(); httpAuthorization = "Bearer " + credential.secret(); + String connection = connect(client, server); session.grant(false).toCompletableFuture().join(); + task = value(httpCall(client, server, connection, "studio_control_acquire", rootOnly())).path("taskId").asText(); + for (var variant : List.of("ret", "join", "ret-no-origin")) { + boolean ret = !variant.equals("join"), noOrigin = variant.endsWith("no-origin"); + var frontend = new p.studio.app.compiler.fixture.ControlledIrFrontend(ret, noOrigin); + p.studio.compiler.FrontendRegistryService.register(frontend); + try { + String request = variant + "-fixture"; + value(httpCall(client, server, connection, "studio_build_start", args().put("clientRequestId", request))); + var result = httpCompleted(client, server, connection, request); var build = result.path("result"); + assertEquals("FAILED", build.path("status").asText(), build.toString()); + assertEquals("failed", build.path("summary").path("validationStatus").asText()); + var issue = build.path("issues").get(0); + assertEquals(ret ? "compiler.verify.ret-stack-height" : "compiler.verify.join-stack-height", issue.path("checkId").asText(), issue.toString()); + assertEquals("available", issue.path("explanation").path("availability").asText()); + assertEquals("irvm-function", issue.path("origin").path("verification").path("pcSpace").asText()); + assertEquals("byte", issue.path("origin").path("verification").path("pcUnit").asText()); + assertEquals("lowering-output", issue.path("origin").path("verification").path("validationPoint").asText()); + if (noOrigin) { + assertTrue(issue.path("origin").path("uri").isNull()); assertTrue(issue.path("origin").path("range").isNull()); + assertEquals("no-source-span", issue.path("origin").path("attribution").path("absenceReason").asText()); + assertFalse(issue.path("related").isEmpty()); + } else assertEquals(root.resolve("src/probe.synth").toUri().toString(), issue.path("origin").path("uri").asText()); + assertTrue(issue.path("facts").has(ret ? "expectedHeight" : "existingHeight")); + assertTrue(issue.path("facts").has(ret ? "actualHeight" : "incomingHeight")); + reports.add(result); + } finally { p.studio.compiler.FrontendRegistryService.unregister(frontend.specification().getLanguageId()); } + } + value(httpCall(client, server, connection, "studio_control_release", args())); + } + } + var report = Path.of("build/diagnostic-qualification/controlled-backend.json"); Files.createDirectories(report.getParent()); + mapper.writerWithDefaultPrettyPrinter().writeValue(report.toFile(), reports); + } + String connect(java.net.http.HttpClient client, LocalMcpServer server) throws Exception { var initialize = mapper.createObjectNode().put("jsonrpc", "2.0").put("id", 1).put("method", "initialize"); var params = initialize.putObject("params").put("protocolVersion", "2025-06-18"); diff --git a/prometeu-app/src/test/java/p/studio/app/mcp/StructuredDiagnosticsIntegrationTest.java b/prometeu-app/src/test/java/p/studio/app/mcp/StructuredDiagnosticsIntegrationTest.java new file mode 100644 index 00000000..2c0af236 --- /dev/null +++ b/prometeu-app/src/test/java/p/studio/app/mcp/StructuredDiagnosticsIntegrationTest.java @@ -0,0 +1,161 @@ +package p.studio.app.mcp; + +import com.fasterxml.jackson.databind.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import org.junit.jupiter.api.*; +import org.junit.jupiter.api.io.TempDir; +import p.studio.app.compiler.*; +import p.studio.app.lsp.*; +import p.studio.app.operation.ExecutorOperationExecutor; +import p.studio.core.project.*; +import p.studio.core.session.*; +import p.studio.core.language.*; +import p.studio.core.shipper.*; +import p.studio.lsp.services.LspServerLifecycleImpl; +import p.studio.ui.javafx.workspaces.dev.DevWorkspaceProjection; +import java.net.http.*; +import java.nio.file.*; +import java.util.*; +import java.util.concurrent.*; +import static org.junit.jupiter.api.Assertions.*; + +/** Frozen sources, production compiler/packer/LSP, authenticated loopback MCP. No runtime execution. */ +class StructuredDiagnosticsIntegrationTest { + @TempDir Path temporary; + final ObjectMapper json = new ObjectMapper(); + @Test void frozenCorrectedCorpusAndControlsKeepFactsRevisionsAndCanonicalViews() throws Exception { + byte[] corpus = getClass().getResourceAsStream("/diagnostics/cases.json").readAllBytes(); + assertEquals("0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87", sha(corpus)); + var required = Set.of("F1-direct", "F1-two-calls", "F1-service-this", "F3-function", "F3-global", "F3-service", "F4-same-dependency", "F4-same-direct"); + var reports = json.createArrayNode(); + for (var example : json.readTree(corpus).path("cases")) { + String name = example.path("id").asText(); + if (!required.contains(name) && !name.equals("F1-local") && !name.equals("F3-file-private")) continue; + Path root = Files.createDirectory(temporary.resolve(name)).toRealPath(); + var files = example.path("files").fields(); + while (files.hasNext()) { + var file = files.next(); var path = root.resolve(file.getKey()); + Files.createDirectories(path.getParent()); Files.writeString(path, file.getValue().asText()); + } + Path source = root.resolve("src/main.pbs"); + assertEquals(example.path("files").path("src/main.pbs").asText(), Files.readString(source)); + var access = new ProjectAccessRegistry(); + var catalog = new ProjectCatalogService(temporary, json, new ProjectLocalStudioSetupStore(json)); + var project = catalog.openProject(root); + var lifecycle = new LspServerLifecycleImpl(); var lsp = new LspLifecycleAdapter(lifecycle); + try (var workers = Executors.newCachedThreadPool(); var packer = p.packer.Packer.bootstrap(json, ignored -> {})) { + var operations = new ExecutorOperationExecutor(workers); + var session = new DefaultAutomationSession(root, operations); + var registration = access.register(root, session::enterManual, () -> !session.snapshot().closed(), session); + lsp.boot(project); + try { + var shipper = new StudioShipperService(new CompilerBuildGatewayAdapter(), packer.workspaceService(), json, operations, access); + var tasks = new DefaultTaskTools(access, catalog, shipper, Optional.empty()); + var language = new TaskLanguageQueries(access, new AutomationLspQueries(lifecycle, catalog, new CompilerProjectKnowledge(access, catalog, json), json)); + var handlers = new LinkedHashMap<>(McpTaskTools.handlers(tasks, json, false)); handlers.putAll(McpLanguageTools.handlers(language, json)); + try (var server = new LocalMcpServer(json, new McpToolRegistry(new McpToolCatalog(json), json, handlers)); var client = HttpClient.newHttpClient()) { + server.start(); var credential = server.credentials().prepare(root); credential.activate(); + String authorization = "Bearer " + credential.secret(); + var init = json.createObjectNode().put("jsonrpc", "2.0").put("id", "init").put("method", "initialize"); + var params = init.putObject("params").put("protocolVersion", "2025-06-18"); params.putObject("capabilities"); + params.putObject("clientInfo").put("name", "diagnostic-qualification").put("version", "1"); + String connection = post(client, server, authorization, null, init).headers().firstValue("Mcp-Session-Id").orElseThrow(); + post(client, server, authorization, connection, json.createObjectNode().put("jsonrpc", "2.0").put("method", "notifications/initialized")); + assertTrue(session.grant(false).toCompletableFuture().join().success()); + var args = json.createObjectNode().put("projectRoot", root.toString()); + String task = call(client, server, authorization, connection, "studio_control_acquire", args).path("taskId").asText(); args.put("taskId", task); + var request = args.deepCopy().put("operation", "diagnostics"); request.putObject("parameters").put("uri", source.toUri().toString()); + var query = call(client, server, authorization, connection, "studio_language_query", request); + var analysis = query.path("analysis"); assertFalse(analysis.path("analysisId").asText().isBlank(), query.toString()); + assertEquals(sha(Files.readAllBytes(source)), query.path("context").path("document").path("sha256").asText()); + assertEquals(analysis.path("analysisId"), query.path("context").path("analysisId")); + assertTrue(analysis.path("inputs").size() > 0); + for (var standard : query.path("result")) { + var detail = standard.path("data").path("prometeu"); + assertEquals(analysis.path("analysisId"), detail.path("analysisId")); + assertTrue(detail.path("issueId").asText().startsWith(analysis.path("analysisId").asText() + ":")); + } + var buildArgs = args.deepCopy().put("clientRequestId", name); + var receipt = call(client, server, authorization, connection, "studio_build_start", buildArgs); + JsonNode operation; long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(20); + do { + operation = call(client, server, authorization, connection, "studio_operation_get", buildArgs); + if (operation.path("workerTerminated").asBoolean()) break; + Thread.sleep(5); + } while (System.nanoTime() < deadline); + assertTrue(operation.path("workerTerminated").asBoolean(), operation.toString()); + assertEquals(receipt.path("operationId"), operation.path("operationId")); + var build = operation.path("result"); + assertEquals(operation.path("operationId"), build.path("context").path("operationId")); + assertEquals(task, build.path("context").path("taskId").asText()); + var ui = json.readTree(json.writeValueAsString(DevWorkspaceProjection.from(session.snapshot()).diagnosticResult())); + for (var key : List.of("issues", "summary", "context")) assertEquals(build.path(key), ui.path(key), name + " UI/MCP " + key); + if (name.equals("F3-file-private")) { + assertEquals("FAILED", build.path("status").asText(), build.toString()); + assertTrue(build.path("buildId").isNull()); + assertExplained(name, build.path("issues")); assertExplained(name, analysis.path("issues")); + assertNotEquals("passed", build.path("summary").path("validationStatus").asText()); + } else { + assertEquals("SUCCESS", build.path("status").asText(), build.toString()); + assertEquals("passed", build.path("summary").path("validationStatus").asText()); + assertEquals("passed", analysis.path("summary").path("validationStatus").asText()); + } + reports.addObject().put("case", name).put("primaryDocumentSha256", sha(Files.readAllBytes(source))).put("frozenProjectSourceSha256", example.path("sourceSha256").asText()) + .set("language", query); + var reportCase = (ObjectNode)reports.get(reports.size()-1); + reportCase.set("operation", operation); + reportCase.put("harnessConfiguration", "Existing Studio cartridge app_id adoption; frozen PBS/barrel sources unchanged"); + var originalFiles = example.path("files").fields(); + while (originalFiles.hasNext()) { + var original = originalFiles.next(); + if (original.getKey().endsWith(".pbs") || original.getKey().endsWith(".barrel")) + assertEquals(original.getValue().asText(), Files.readString(root.resolve(original.getKey())), name + original.getKey()); + } + var artifacts = reportCase.putArray("artifactProvenance"); + if (Files.isDirectory(root.resolve("build"))) try (var paths = Files.walk(root.resolve("build"))) { + for (var artifact : paths.filter(Files::isRegularFile).sorted().toList()) + artifacts.addObject().put("path", root.relativize(artifact).toString()).put("sha256", sha(Files.readAllBytes(artifact))); + } + if (name.equals("F1-local")) { + var empty = source.resolveSibling("empty.pbs"); Files.writeString(empty, ""); + var emptyRequest = args.deepCopy().put("operation", "diagnostics"); emptyRequest.putObject("parameters").put("uri", empty.toUri().toString()); + var emptyReply = call(client, server, authorization, connection, "studio_language_query", emptyRequest); + assertTrue(emptyReply.path("analysis").path("issues").isEmpty(), emptyReply.toString()); + assertEquals("passed", emptyReply.path("analysis").path("summary").path("validationStatus").asText()); + assertEquals(sha(new byte[0]), emptyReply.path("context").path("document").path("sha256").asText()); + reportCase.set("validEmptyDocumentControl", emptyReply); + } + call(client, server, authorization, connection, "studio_control_release", args); + } + } finally { session.closeAsync().toCompletableFuture().get(5, TimeUnit.SECONDS); registration.unsubscribe(); lsp.shutdown(project); } + } + } + assertEquals(10, reports.size()); + var report = Path.of("build/diagnostic-qualification/frozen-corpus.json"); Files.createDirectories(report.getParent()); + json.writerWithDefaultPrettyPrinter().writeValue(report.toFile(), reports); + } + void assertExplained(String name, JsonNode issues) { + assertFalse(issues.isEmpty(), name); + boolean found = false; + for (var issue : issues) if (issue.path("checkId").asText().startsWith("pbs.")) { + assertEquals("available", issue.path("explanation").path("availability").asText(), issue.toString()); + assertFalse(issue.path("semanticContext").path("facts").isEmpty(), issue.toString()); found = true; + } + assertTrue(found, name + issues); + } + JsonNode call(HttpClient client, LocalMcpServer server, String auth, String connection, String name, ObjectNode args) throws Exception { + var body = json.createObjectNode().put("jsonrpc", "2.0").put("id", UUID.randomUUID().toString()).put("method", "tools/call"); + body.putObject("params").put("name", name).set("arguments", args); + var result = json.readTree(post(client, server, auth, connection, body).body()).path("result"); + assertFalse(result.path("isError").asBoolean(), result.toString()); return result.path("structuredContent").path("value"); + } + HttpResponse post(HttpClient client, LocalMcpServer server, String auth, String connection, JsonNode body) throws Exception { + var request = HttpRequest.newBuilder(server.connection().endpoint()).timeout(java.time.Duration.ofSeconds(15)) + .header("Authorization", auth).header("Content-Type", "application/json").header("Accept", "application/json, text/event-stream") + .header("MCP-Protocol-Version", "2025-06-18"); + if (connection != null) request.header("Mcp-Session-Id", connection); + var response = client.send(request.POST(HttpRequest.BodyPublishers.ofString(body.toString())).build(), HttpResponse.BodyHandlers.ofString()); + assertTrue(response.statusCode() == 200 || response.statusCode() == 202, response.body()); return response; + } + static String sha(byte[] bytes) throws Exception { return HexFormat.of().formatHex(java.security.MessageDigest.getInstance("SHA-256").digest(bytes)); } +} diff --git a/prometeu-app/src/test/resources/diagnostics/cases.json b/prometeu-app/src/test/resources/diagnostics/cases.json new file mode 100644 index 00000000..6362d3db --- /dev/null +++ b/prometeu-app/src/test/resources/diagnostics/cases.json @@ -0,0 +1,451 @@ +{ + "schemaVersion": 1, + "cases": [ + { + "id": "F1-local", + "family": "call-comparison-return", + "description": "Control: method result materialized before comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { let value=data.value(); return value!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990" + }, + { + "id": "F1-direct", + "family": "call-comparison-return", + "description": "Method call compared directly in returned expression", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61" + }, + { + "id": "F1-two-calls", + "family": "call-comparison-return", + "description": "Two method calls as comparison operands", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()==data.value(); }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f" + }, + { + "id": "F1-service-this", + "family": "call-comparison-return", + "description": "Service receiver this inside a returned comparison", + "control": "F1-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { return this.value()!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n" + }, + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089" + }, + { + "id": "F1-service-local", + "family": "call-comparison-return", + "description": "Control: identical service call materialized before returned comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { let value=this.value(); return value!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n" + }, + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb" + }, + { + "id": "F1-condition", + "family": "call-comparison-return", + "description": "Control: direct method comparison in an if condition", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\n[Frame] fn frame() -> void { if data.value()!=1 { let failure=1/0; } }\n" + }, + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014" + }, + { + "id": "F2-locals", + "family": "nested-call-expression", + "description": "Control: effectful call arguments stored in locals", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let a=next(); let b=next(); let value=add(a,b); if value!=3 || calls!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218" + }, + { + "id": "F2-arguments", + "family": "nested-call-expression", + "description": "Effectful call arguments evaluate once, left to right", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next(),next()); if value!=3 || calls!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c" + }, + { + "id": "F2-expression", + "family": "nested-call-expression", + "description": "Effectful calls nested inside arithmetic argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next()+next(),next()); if value!=6 || calls!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073" + }, + { + "id": "F2-struct-method", + "family": "nested-call-expression", + "description": "Struct method used as another method argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { let value=add(data.value(),data.value()); if value!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894" + }, + { + "id": "F3-single-file", + "family": "same-module-files", + "description": "Control: function and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "fn increment(value: int) -> int { return value+1; }\n[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a" + }, + { + "id": "F3-function", + "family": "same-module-files", + "description": "mod function called from another file", + "control": "F3-single-file", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod fn increment(value: int) -> int;\n", + "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1" + }, + { + "id": "F3-global", + "family": "same-module-files", + "description": "mod global mutated from another file", + "control": "F3-global-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod global count;\n", + "src/state.pbs": "declare global count: int=0;\n", + "src/main.pbs": "[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n" + }, + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34" + }, + { + "id": "F3-service", + "family": "same-module-files", + "description": "mod service called from another file", + "control": "F3-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod service Helper;\n", + "src/helpers.pbs": "declare service Helper { fn value() -> int { return 3; } }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22" + }, + { + "id": "F3-global-local", + "family": "same-module-files", + "description": "Control: identical global and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global count: int=0;\n[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n" + }, + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924" + }, + { + "id": "F3-service-local", + "family": "same-module-files", + "description": "Control: identical service and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Helper { fn value() -> int { return 3; } }\n[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb" + }, + { + "id": "F3-file-private", + "family": "same-module-files", + "description": "Negative control: function absent from barrel stays file-private", + "control": "F3-function", + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); }\n" + }, + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb" + }, + { + "id": "F4-distinct", + "family": "homonymous-types", + "description": "Types ARoomData/BRoomData; dependency=True; direct=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct ARoomData;\n", + "src/a/data.pbs": "declare struct ARoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: ARoomData = new ARoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct BRoomData;\n", + "src/b/data.pbs": "declare struct BRoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: BRoomData = new BRoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811" + }, + { + "id": "F4-same-no-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=False; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=1 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); return own; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5" + }, + { + "id": "F4-same-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831" + }, + { + "id": "F4-rename-a", + "family": "homonymous-types", + "description": "Types StartRoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct StartRoomData;\n", + "src/a/data.pbs": "declare struct StartRoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: StartRoomData = new StartRoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e" + }, + { + "id": "F4-same-direct", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=True", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { return room.value()+B.value(); } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e" + }, + { + "id": "F4-public-aliases", + "family": "homonymous-types", + "description": "Two distinct nominal RoomData declarations imported with aliases", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { RoomData as LeftData } from @caseapp:a;\nimport { RoomData as RightData } from @caseapp:b;\ndeclare global left: LeftData = new LeftData(1);\ndeclare global right: RightData = new RightData(2);\n[Frame] fn frame() -> void { let a=left.value(); let b=right.value(); if a!=1 || b!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub struct RoomData;\n", + "src/a/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n", + "src/b/mod.barrel": "pub struct RoomData;\n", + "src/b/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n" + }, + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207" + }, + { + "id": "F5-shopvisit", + "family": "imported-struct-construction", + "description": "Imported ShopVisit, alias=None, positional=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { ShopVisit } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: ShopVisit = new ShopVisit.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct ShopVisit;\n", + "src/scene/main.pbs": "declare struct ShopVisit(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { ShopVisit } from @caseapp:scene;\ndeclare service Link { fn read(scene: ShopVisit) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38" + }, + { + "id": "F5-scene", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f" + }, + { + "id": "F5-scene-alias", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=WorldScene, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene as WorldScene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: WorldScene = new WorldScene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959" + }, + { + "id": "F5-scene-positional", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=True", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7" + }, + { + "id": "runtime-trap-control", + "family": "harness-control", + "description": "Deliberate guest fault proves frame assertions are executed", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "fault", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "[Frame] fn frame() -> void { let failure=1/0; }\n" + }, + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9" + } + ] +} diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsDiagnosticFacts.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsDiagnosticFacts.java new file mode 100644 index 00000000..4f31e6c4 --- /dev/null +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsDiagnosticFacts.java @@ -0,0 +1,26 @@ +package p.studio.compiler.pbs; + +import p.studio.compiler.pbs.ast.PbsAst; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.diagnostics.*; +import java.util.*; + +/** Records observations from a detector; never resolves another symbol for reporting. */ +public final class PbsDiagnosticFacts { + private PbsDiagnosticFacts() { } + public static String symbol(PbsAst.Expression expression) { + if (expression instanceof PbsAst.ThisExpr) return "this"; + if (expression instanceof PbsAst.IdentifierExpr name) return name.name(); + if (expression instanceof PbsAst.MemberExpr member) return symbol(member.receiver()) + "." + member.memberName(); + if (expression instanceof PbsAst.CallExpr call) return symbol(call.callee()) + "()"; + if (expression instanceof PbsAst.GroupExpr group) return symbol(group.expression()); + return expression.getClass().getSimpleName(); + } + public static DiagnosticSink error(DiagnosticSink sink, String code, String message, Span span, + String check, Map facts, FailureKind kind) { + var observed = new LinkedHashMap<>(facts); + if (span != null && !span.isNone()) observed.putIfAbsent("scopeFileId", span.getFileId().getId()); + return sink.report(DiagnosticDescriptions.attach(new Diagnostic(Severity.Error, code, message, span, List.of()), + check, observed, kind)); + } +} diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsFrontendCompiler.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsFrontendCompiler.java index 2d2cc8c6..214ce94a 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsFrontendCompiler.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsFrontendCompiler.java @@ -210,7 +210,7 @@ public final class PbsFrontendCompiler { effectiveNameTable, effectiveFESurfaceContext, diagnosticView, - effectiveImportedCallables); + effectiveImportedCallables, effectiveImportedGlobals); if (diagnostics.errorCount() > loweringErrorBaseline) { return IRBackendFile.empty(fileId); } @@ -579,12 +579,17 @@ public final class PbsFrontendCompiler { PbsAst.ReturnKind returnKind, PbsAst.TypeRef returnType, String shapeSurface, - String targetName) { + String targetName, p.studio.compiler.source.Span ownerDeclaration) { + public ImportedCallableSurface(ModuleId moduleId, String callableName, int arity, int returnSlots, + PbsAst.ReturnKind returnKind, PbsAst.TypeRef returnType, String shapeSurface, String targetName) { + this(moduleId, callableName, arity, returnSlots, returnKind, returnType, shapeSurface, targetName, p.studio.compiler.source.Span.none()); + } public ImportedCallableSurface(ModuleId moduleId, String callableName, int arity, int returnSlots, PbsAst.ReturnKind returnKind, PbsAst.TypeRef returnType, String shapeSurface) { this(moduleId, callableName, arity, returnSlots, returnKind, returnType, shapeSurface, callableName); } public ImportedCallableSurface { + ownerDeclaration = ownerDeclaration == null ? p.studio.compiler.source.Span.none() : ownerDeclaration; moduleId = moduleId == null ? ModuleId.none() : moduleId; } } diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericDiagnostics.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericDiagnostics.java index 3435d42f..9bc15663 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericDiagnostics.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericDiagnostics.java @@ -44,7 +44,8 @@ public final class PbsGenericDiagnostics extends DiagnosticSink { related.add(new RelatedSpan("Application requested here", origin.requestedAt())); } delegate.report(new Diagnostic(diagnostic.getSeverity(), diagnostic.getCode(), diagnostic.getPhase(), - diagnostic.getTemplateId(), diagnostic.getPlaceholders(), message, diagnostic.getSpan(), related)); + diagnostic.getTemplateId(), diagnostic.getPlaceholders(), message, diagnostic.getSpan(), related, + diagnostic.getContext(), diagnostic.getReportedPhase())); return this; } @Override public Collection asCollection() { return delegate.asCollection(); } diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator.java index 11d6174f..5333f883 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/linking/PbsModuleVisibilityValidator.java @@ -20,6 +20,24 @@ import static p.studio.compiler.pbs.PbsReservedMetadataExtractor.typeSurfaceKey; public final class PbsModuleVisibilityValidator { + /** Declaration/signature-level sibling admission, using the same keys as barrel validation. */ + public Set siblingDeclarations(ModuleUnit module, NameTable names) { + var interning = new SignatureInterning(new TypeSurfaceTable(), new CallableShapeTable()); + var declarations = collectDeclarations(module, names, interning); + var admitted = new HashSet(); + for (var barrel : module.barrelFiles()) for (var item : barrel.ast().items()) { + if (item instanceof PbsAst.BarrelFunctionItem f) { + var key = functionKey(f.name(), f.typeParameters().size(), f.parameterTypes().asList(), + f.returnKind(), f.returnType(), f.resultErrorType(), names, interning); + admitted.addAll(declarations.functionsBySignature.getOrDefault(key, List.of())); + } else { + var key = new NonFunctionSymbolKey(nonFunctionKind(item), names.register(nonFunctionName(item))); + admitted.addAll(declarations.nonFunctionsByKindAndName.getOrDefault(key, List.of())); + } + } + return Set.copyOf(admitted); + } + public void validate( final ReadOnlyList modules, final DiagnosticSink diagnostics) { diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java index 3fea2f57..95035c06 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java @@ -98,13 +98,12 @@ final class PbsExecutableBodyLowerer { try { maxStackSlots = stackAnalyzer.analyzeMaxStackSlots(ReadOnlyList.wrap(context.instructions()), returnSlots); } catch (PbsExecutableStackAnalyzer.ExecutableLoweringAnalysisException e) { - diagnostics.error( - DiagnosticPhase.STATIC_SEMANTICS, - PbsSemanticsErrors.E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE.name(), - PbsSemanticsErrors.E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE.name(), - Map.of(), - e.getMessage(), - functionDecl.span()); + p.studio.compiler.pbs.PbsDiagnosticFacts.error(diagnostics, + PbsSemanticsErrors.E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE.name(), e.getMessage(), functionDecl.span(), + "pbs.lowering.stack-shape", p.studio.utilities.json.ImmutableJson.fields("construction", "function", + "symbol", functionDecl.name(), "declaredTypes", context.types().canonical(functionDecl.returnType()), + "declaredResultSlots", returnSlots, "instructionCount", context.instructions().size(), + "condition", e.getMessage()), p.studio.compiler.source.diagnostics.FailureKind.INTERNAL_FAILURE); return null; } final var localSlots = Math.max(0, context.nextLocalSlot() - functionDecl.parameters().stream().mapToInt(p -> context.types().slots(p.typeRef())).sum()); @@ -441,8 +440,20 @@ final class PbsExecutableBodyLowerer { case PbsAst.CallExpr callExpr -> lowerCallExpression(callExpr, context); case PbsAst.ApplyExpr applyExpr -> lowerApply(applyExpr, context); case PbsAst.BinaryExpr binaryExpr -> { - lowerExpression(binaryExpr.left(), context); - lowerExpression(binaryExpr.right(), context); + // Comparison result context belongs to the comparison, not its operands. + boolean comparison = java.util.Set.of("==", "!=", "<", "<=", ">", ">=").contains(binaryExpr.operator()); + if (comparison) { + var previous = context.expectedType; + PbsAst.TypeRef leftType, rightType; + context.expectedType = null; + try { leftType = expressionType(binaryExpr.left(), context); rightType = expressionType(binaryExpr.right(), context); } + finally { context.expectedType = previous; } + lowerExpected(binaryExpr.left(), leftType != null ? leftType : rightType, context); + lowerExpected(binaryExpr.right(), rightType != null ? rightType : leftType, context); + } else { + lowerExpression(binaryExpr.left(), context); + lowerExpression(binaryExpr.right(), context); + } emitBinaryOperatorInstruction(binaryExpr.operator(), binaryExpr.span(), context); } case PbsAst.UnaryExpr unaryExpr -> { @@ -570,6 +581,7 @@ final class PbsExecutableBodyLowerer { return; } if (lowerStructuredCall(callExpr, context)) return; + final var failedStructuredCallFacts = context.lastCallFacts; if (callExpr.callee() instanceof PbsAst.MemberExpr member) { var receiverType = PbsRuntimeTypes.unwrap(expressionType(member.receiver(), context)); if (receiverType != null && receiverType.kind() == PbsAst.TypeRefKind.OPTIONAL @@ -593,6 +605,7 @@ final class PbsExecutableBodyLowerer { } lowerCallsiteReceiver(callExpr.callee(), context); lowerCallArguments(callExpr, context); + context.lastCallFacts = failedStructuredCallFacts; callsiteEmitter.emitCallsite(callExpr, context); } @@ -644,7 +657,7 @@ final class PbsExecutableBodyLowerer { final PbsAst.MemberExpr memberExpr, final PbsExecutableLoweringContext context) { var receiverType = PbsRuntimeTypes.unwrap(expressionType(memberExpr.receiver(), context)); - var service = receiverType == null ? null : context.types().services.get(receiverType.name()); + var service = receiverType == null ? null : context.types().service(receiverType); if (service != null) { var key = service.name() + "." + memberExpr.memberName(); if (context.types().constants.containsKey(key)) { @@ -687,7 +700,7 @@ final class PbsExecutableBodyLowerer { } reportUnsupportedLowering("Unknown native field",memberExpr.span(),context);return; } - var struct = receiverType == null ? null : context.types().structs.get(receiverType.name()); + var struct = receiverType == null ? null : context.types().struct(receiverType); if (struct != null) { for (int i=0;i m.name().equals(member.memberName()) && m.parameters().size()==signature.parameters().size() @@ -1129,7 +1142,7 @@ final class PbsExecutableBodyLowerer { private boolean lowerNamedStructApply(PbsAst.ApplyExpr apply,PbsAst.TupleExpr tuple,PbsExecutableLoweringContext c) { if(!(apply.callee() instanceof PbsAst.MemberExpr member))return false; var owner=PbsRuntimeTypes.unwrap(expressionType(member.receiver(),c)); - var declaration=owner==null?null:c.types().structs.get(owner.name()); + var declaration=owner==null?null:c.types().struct(owner); if(declaration==null)return false; var methods=declaration.methods().stream().filter(m->m.name().equals(member.memberName())&&m.parameters().size()==tuple.items().size()).toList(); if(methods.size()!=1)return false; @@ -1188,14 +1201,14 @@ final class PbsExecutableBodyLowerer { if (e instanceof PbsAst.IndexExpr index) { var array = PbsRuntimeTypes.unwrap(expressionType(index.receiver(), c)); if(array==null)return null; - var declaration=c.types().structs.get(array.name()); + var declaration=c.types().struct(array); return p.studio.compiler.pbs.PbsSdkCollections.hasIndexer(declaration) ? declaration.methods().stream().filter(m->m.name().equals("_at")).findFirst().orElseThrow().returnType() : PbsAst.TypeRef.optional(array.inner(),index.span()); } if (e instanceof PbsAst.MemberExpr member) { var serviceType = expressionType(member.receiver(), c); - var service = serviceType == null ? null : c.types().services.get(serviceType.name()); + var service = serviceType == null ? null : c.types().service(serviceType); if (service != null) { var constant = c.types().constants.get(service.name() + "." + member.memberName()); if (constant != null) return constant.explicitType(); @@ -1204,7 +1217,7 @@ final class PbsExecutableBodyLowerer { if (receiver != null && receiver.kind() == PbsAst.TypeRefKind.ARRAY && member.memberName().equals("length")) return PbsRuntimeTypes.type("long"); if (receiver != null && receiver.kind() == PbsAst.TypeRefKind.NAMED_TUPLE) for (var field : receiver.fields()) if (field.label().equals(member.memberName())) return field.typeRef(); - var struct = receiver == null ? null : c.types().structs.get(receiver.name()); + var struct = receiver == null ? null : c.types().struct(receiver); if (struct != null) for (var field : struct.fields()) if (field.name().equals(member.memberName())) return field.typeRef(); var builtinFields=receiver==null?null:c.types().fields.get(receiver.name()); if(builtinFields!=null)for(var field:builtinFields)if(field.name().equals(member.memberName()))return field.typeRef(); @@ -1232,7 +1245,7 @@ final class PbsExecutableBodyLowerer { if (e instanceof PbsAst.IfExpr branch) return expressionType(branch.thenBlock().tailExpression(), c); if (e instanceof PbsAst.SwitchExpr branch && !branch.arms().isEmpty()) return expressionType(branch.arms().getFirst().block().tailExpression(), c); if (e instanceof PbsAst.ApplyExpr apply) return expressionType(applyCall(apply), c); - if (e instanceof PbsAst.NewExpr value) return value.typeName().equals("array") ? (value.explicitType() != null ? value.explicitType() : c.expectedType) : PbsRuntimeTypes.type(value.typeName()); + if (e instanceof PbsAst.NewExpr value) return value.typeName().equals("array") ? (value.explicitType() != null ? value.explicitType() : c.expectedType) : c.types().sourceType(value.typeName()); if (e instanceof PbsAst.CallExpr call) { var fn = isDirectFunction(call.callee(), c) ? null : PbsRuntimeTypes.unwrap(expressionType(call.callee(),c)); if (fn != null && fn.kind() == PbsAst.TypeRefKind.FN) return fn.inner(); @@ -1254,8 +1267,8 @@ final class PbsExecutableBodyLowerer { if (candidates.size() == 1) return candidates.getFirst().returnType(); for (var method : candidates) if (returnMatches(method.returnType(),owner.name(),c)) return method.returnType(); } - var struct = c.types().structs.get(owner.name()); - var service = c.types().services.get(owner.name()); + var struct = c.types().struct(owner); + var service = c.types().service(owner); var methods = struct != null ? struct.methods() : service != null ? service.methods() : ReadOnlyList.empty(); var applicable=methods.stream().filter(candidate -> candidate.name().equals(member.memberName()) && parametersMatch(candidate.parameters(),call.arguments(),c)).toList(); @@ -1734,7 +1747,7 @@ final class PbsExecutableBodyLowerer { } private boolean lowerCollectionIndex(PbsAst.IndexExpr index, PbsAst.Expression value, PbsAst.TypeRef type, PbsExecutableLoweringContext c) { - var declaration=type==null?null:c.types().structs.get(type.name()); + var declaration=type==null?null:c.types().struct(type); if(!p.studio.compiler.pbs.PbsSdkCollections.hasIndexer(declaration))return false; var name=value==null?"_at":"_put"; var method=declaration.methods().stream().filter(m->m.name().equals(name)).findFirst().orElseThrow(); @@ -2014,7 +2027,7 @@ final class PbsExecutableBodyLowerer { return hasElseBranch(stmt)&&yes&&no; } private void lowerStructNew(PbsAst.NewExpr expr,PbsExecutableLoweringContext c) { - var declaration=c.types().structs.get(expr.typeName()); + var declaration=c.types().struct(c.types().sourceType(expr.typeName())); if (p.studio.compiler.pbs.PbsStdlibConstruction.factoryOnly(declaration) && !c.types().allowedFactoryOrigins.contains(declaration.span())) { reportUnsupportedLowering("Stdlib construction requires its canonical declaring module", expr.span(), c); return; } @@ -2072,7 +2085,7 @@ final class PbsExecutableBodyLowerer { var target=statement.target(); PbsAst.Expression receiver=target.rootName().equals("this")?new PbsAst.ThisExpr(target.span()):new PbsAst.IdentifierExpr(target.rootName(),target.span()); for(int i=0;im.name().equals(member.memberName())&¶metersMatch(m.parameters(),call.arguments(),c) && returnMatches(m.returnType(),owner.name(),c)).findFirst().orElse(null); if(method==null)return false; @@ -2131,7 +2145,7 @@ final class PbsExecutableBodyLowerer { } emitStructuredFunction(owner.name()+"."+method.name(),method.parameters().stream().map(PbsAst.Parameter::typeRef).toList(),PbsTypeSubstitution.replaceSelf(method.returnType(),owner.name()),method.returnKind(),method.resultErrorType(),pops,c.types().returnSlots(method.returnKind(),method.returnType()),call.span(),c);return true; } - var struct=c.types().structs.get(owner.name());if(struct==null)return false; + var struct=c.types().struct(owner);if(struct==null)return false; boolean listIndex=p.studio.compiler.pbs.PbsSdkCollections.isIndexedCollection(struct) && java.util.Set.of("insert","clearAt","removeAt","resize","reserve").contains(member.memberName()); var method=struct.methods().stream().filter(m->m.name().equals(member.memberName())&¶metersMatch(m.parameters(),call.arguments(),c,listIndex) && returnMatches(m.returnType(),owner.name(),c)).findFirst().orElse(null); if(method==null)return false; @@ -2228,7 +2242,14 @@ final class PbsExecutableBodyLowerer { PbsAst.ReturnKind kind, PbsAst.TypeRef errorType, int pops, int pushes, Span span, PbsExecutableLoweringContext c) { var callableId = c.exactLocalCallable(name, parameters, returnType, kind, errorType); if (callableId == null) { - reportUnsupportedLowering("Structured call requires exact overload: " + name, span, c); + var facts = new java.util.LinkedHashMap<>(c.lastCallFacts); + facts.put("requestedSymbol", name); facts.put("lookupOwnerKey", name); + facts.put("parameterTypes", parameters.stream().map(c.types()::canonical).toList()); + facts.put("lookupReturnType", c.types().canonical(returnType)); facts.put("lookupResult", "unresolved"); + p.studio.compiler.pbs.PbsDiagnosticFacts.error(c.diagnostics(), + PbsSemanticsErrors.E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE.name(), + "Structured call requires exact overload: " + name, span, "pbs.lowering.structured-overload", facts, + p.studio.compiler.source.diagnostics.FailureKind.PROGRAM_REJECTION); return; } c.instructions().add(new IRBackendExecutableFunction.Instruction(IRBackendExecutableFunction.InstructionKind.CALL_FUNC, @@ -2236,6 +2257,32 @@ final class PbsExecutableBodyLowerer { c.callableSignatureByCallableId().get(callableId).callableName(), callableId, null, null, pops, pushes, span)); } + private void recordCallFacts(PbsAst.CallExpr call, PbsExecutableLoweringContext c) { + var facts = new java.util.LinkedHashMap(); + facts.put("construction", "call"); facts.put("requestedSymbol", p.studio.compiler.pbs.PbsDiagnosticFacts.symbol(call.callee())); + facts.put("argumentCount", call.arguments().size()); + facts.put("resolutionConstraints", c.expectedType == null ? null : c.types().canonical(c.expectedType)); + facts.put("enclosingReturnType", c.types().canonical(c.returnType)); + facts.put("serviceOwner", c.serviceOwner); + if (call.callee() instanceof PbsAst.MemberExpr member) { + var receiver = PbsRuntimeTypes.unwrap(expressionType(member.receiver(), c)); + facts.put("receiver", p.studio.compiler.pbs.PbsDiagnosticFacts.symbol(member.receiver())); + facts.put("receiverType", receiver == null ? null : c.types().canonical(receiver)); + if (receiver != null) { + var struct = c.types().struct(receiver); + var service = c.types().service(receiver); + var methods = struct != null ? struct.methods().asList() : service != null ? service.methods().asList() : java.util.List.of(); + facts.put("declaredTypes", methods.stream().filter(m -> m.name().equals(member.memberName())) + .map(m -> c.types().canonical(m.returnType())).toList()); + facts.put("lookupOwnerKey", receiver.name() + "." + member.memberName()); + } + } else if (call.callee() instanceof PbsAst.IdentifierExpr name) { + facts.put("declaredTypes", c.types().functions.getOrDefault(name.name(), java.util.List.of()).stream() + .map(f -> c.types().canonical(f.returnType())).toList()); + } + c.lastCallFacts = p.studio.utilities.json.ImmutableJson.object(facts); + } + private void lowerServiceValue(String name,Span span,PbsExecutableLoweringContext c) { var slot=c.resolveGlobalSlot("$service."+name); if(slot==null){emitStructuredFunction(name+".$instance",java.util.List.of(),PbsRuntimeTypes.type(name),0,1,span,c);return;} diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallableRegistryFactory.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallableRegistryFactory.java index 19c3cbb8..15cf1baf 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallableRegistryFactory.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallableRegistryFactory.java @@ -59,6 +59,11 @@ public final class PbsExecutableCallableRegistryFactory { importedCallables, builtinCanonicalBySourceType); + var ownerDeclarations = new HashMap>(); + for (var imported : importedCallables) if (!imported.ownerDeclaration().isNone()) { + var id = callableIdTable.register(imported.moduleId(),imported.targetName(),imported.arity(),imported.shapeSurface()); + ownerDeclarations.computeIfAbsent(id, ignored -> new java.util.HashSet<>()).add(imported.ownerDeclaration()); + } final var callableSignatureByCallableId = new HashMap(); final var callableSignatures = new ArrayList(callableIdTable.size()); for (final var callableId : callableIdTable.identifiers()) { @@ -71,6 +76,7 @@ public final class PbsExecutableCallableRegistryFactory { callableIdByDeclaration, callableIdsByNameAndArity, callableSignatureByCallableId, + ownerDeclarations, returnSlotsByCallableId, returnOwnerByCallableId, tupleProjectionByCallableId, @@ -139,7 +145,7 @@ public final class PbsExecutableCallableRegistryFactory { public static PbsAst.FunctionDecl withReceiver(PbsAst.FunctionDecl function,String owner,String receiver) { var params=new ArrayList(); - params.add(new PbsAst.Parameter(receiver,PbsRuntimeTypes.type(owner),function.span())); + params.add(new PbsAst.Parameter(receiver,PbsAst.TypeRef.simple(owner,function.span()),function.span())); for(var p:function.parameters()) params.add(new PbsAst.Parameter(p.name(),PbsTypeSubstitution.replaceSelf(p.typeRef(),owner),p.span())); return new PbsAst.FunctionDecl(function.name(),ReadOnlyList.wrap(params),function.returnKind(), PbsTypeSubstitution.replaceSelf(function.returnType(),owner),function.resultErrorType(),function.attributes(),function.lifecycleMarker(),function.body(),function.span()); diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallsiteEmitter.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallsiteEmitter.java index 378d0541..bb35a314 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallsiteEmitter.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableCallsiteEmitter.java @@ -442,12 +442,9 @@ final class PbsExecutableCallsiteEmitter { final String message, final p.studio.compiler.source.Span span, final PbsExecutableLoweringContext context) { - context.diagnostics().error( - DiagnosticPhase.STATIC_SEMANTICS, - PbsSemanticsErrors.E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE.name(), - PbsSemanticsErrors.E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE.name(), - Map.of(), - message, - span); + p.studio.compiler.pbs.PbsDiagnosticFacts.error(context.diagnostics(), + PbsSemanticsErrors.E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE.name(), message, span, + "pbs.lowering.call-resolution", context.lastCallFacts, + p.studio.compiler.source.diagnostics.FailureKind.PROGRAM_REJECTION); } } diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java index 329d5075..e0dd53cc 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java @@ -30,6 +30,7 @@ final class PbsExecutableLoweringContext { p.studio.compiler.pbs.ast.PbsAst.ReturnKind returnKind; p.studio.compiler.pbs.ast.PbsAst.TypeRef resultErrorType; String serviceOwner; + java.util.Map lastCallFacts = java.util.Map.of(); private int nextLabelId = 0; private int nextLocalSlot; @@ -127,8 +128,12 @@ final class PbsExecutableLoweringContext { output = "result<" + formatter.typeSurfaceKey(errorType) + ">" + formatter.typeSurfaceKey(returnType); final var expectedOutput = output; var importedIds = callableIdsByNameAndArity().getOrDefault(new PbsCallableResolutionKey(nameTable().register(name), parameterTypes.size()), java.util.List.of()); + var separator = name.indexOf('.'); + var ownerDeclaration = separator < 0 ? null : types().contractTypes.declaration(types().sourceType(name.substring(0,separator))); var candidates = callableSignatureByCallableId().entrySet().stream().filter(entry -> importedIds.contains(entry.getKey()) && entry.getValue().arity() == parameterTypes.size() + && (ownerDeclaration == null || callableRegistry.ownerDeclarations().getOrDefault(entry.getKey(), java.util.Set.of()).isEmpty() + || callableRegistry.ownerDeclarations().get(entry.getKey()).contains(ownerDeclaration.span())) && normalizeShape(entry.getValue().typeShape()).equals(normalizeShape(inputs + expectedOutput))).toList(); if (candidates.size() == 1) return candidates.getFirst().getKey(); return null; diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels.java index 41831426..c6048979 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringModels.java @@ -60,6 +60,7 @@ public class PbsExecutableLoweringModels { Map callableIdByDeclaration, Map> callableIdsByNameAndArity, Map callableSignatureByCallableId, + Map> ownerDeclarations, Map returnSlotsByCallableId, Map returnOwnerByCallableId, Map tupleProjectionByCallableId, diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringService.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringService.java index b590a4ab..69d1eb55 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringService.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringService.java @@ -32,7 +32,8 @@ public final class PbsExecutableLoweringService { final NameTable nameTable, final FESurfaceContext feSurfaceContext, final DiagnosticSink diagnostics, - final ReadOnlyList importedCallables) { + final ReadOnlyList importedCallables, + final ReadOnlyList importedGlobals) { final var normalizedModuleId = moduleId == null ? ModuleId.none() : moduleId; final var metadataIndex = metadataIndexFactory.create( ast, @@ -40,7 +41,7 @@ public final class PbsExecutableLoweringService { reservedMetadata, nameTable, feSurfaceContext, - diagnostics); + diagnostics, importedGlobals); final var callableRegistry = callableRegistryFactory.create( ast, normalizedModuleId, @@ -157,7 +158,10 @@ public final class PbsExecutableLoweringService { loweredBody.maxStackSlots(), loweredBody.instructions(), functionDecl.span(), - metadataIndex.types().metadata(functionDecl)); + metadataIndex.types().metadata(functionDecl), + p.studio.utilities.json.ImmutableJson.fields("construction", "function", "symbol", callable.callableName(), + "declaredTypes", metadataIndex.types().canonical(functionDecl.returnType()), + "parameterTypes", functionDecl.parameters().stream().map(p -> metadataIndex.types().canonical(p.typeRef())).toList())); } private int safeToInt(final long value) { diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableMetadataIndexFactory.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableMetadataIndexFactory.java index df7f8900..dadc9a22 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableMetadataIndexFactory.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableMetadataIndexFactory.java @@ -26,12 +26,20 @@ final class PbsExecutableMetadataIndexFactory { final IRReservedMetadata reservedMetadata, final NameTable nameTable, final FESurfaceContext feSurfaceContext, - final DiagnosticSink diagnostics) { + final DiagnosticSink diagnostics, + final ReadOnlyList importedGlobals) { final var hostByMethodName = indexHostBindingsByMethodName(reservedMetadata, nameTable); final var builtinCanonicalBySourceType = indexBuiltinCanonicalBySourceType(reservedMetadata); final var builtinConstOwnerByNameId = indexBuiltinConstOwners(reservedMetadata, nameTable); final var builtinConstByNameId = indexBuiltinConstSurfaces(reservedMetadata, nameTable); final var globalSlotByNameId = indexGlobalSlots(ast, nameTable); + var ownedNames = new java.util.HashSet(); + for (var declaration : ast.topDecls()) { + if (declaration instanceof PbsAst.GlobalDecl global) ownedNames.add(global.name()); + if (declaration instanceof PbsAst.ServiceDecl service) ownedNames.add("$service."+service.name()); + } + final var importedGlobalsBySlot = PbsImportedGlobalSlots.index(ownedNames, importedGlobals); + importedGlobalsBySlot.forEach((slot,global) -> globalSlotByNameId.put(nameTable.register(global.localName()),slot)); final var constDeclByNameId = indexConstDecls(ast, nameTable); final var addressableByAddress = indexAddressables(feSurfaceContext); final var builtinSignatureByOwnerAndMethod = indexBuiltinSignatures( diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsImportedGlobalSlots.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsImportedGlobalSlots.java new file mode 100644 index 00000000..4c1c4be9 --- /dev/null +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsImportedGlobalSlots.java @@ -0,0 +1,17 @@ +package p.studio.compiler.pbs.lowering; + +import p.studio.compiler.pbs.PbsFrontendCompiler.ImportedGlobalSurface; +import p.studio.utilities.structures.ReadOnlyList; +import java.util.*; + +/** PBS-private temporary operands; all are resolved before common IR is published. */ +public final class PbsImportedGlobalSlots { + private PbsImportedGlobalSlots() {} + public static Map index(Set ownedNames, ReadOnlyList imports) { + var result = new LinkedHashMap(); + var names = new HashSet<>(ownedNames); + for (var imported : imports) if (imported.directlyVisible() && names.add(imported.localName())) + result.put(Integer.MAX_VALUE - result.size(), imported); + return result; + } +} diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java index 97640d2f..24d5b79d 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java @@ -11,6 +11,7 @@ final class PbsRuntimeTypes { record ClosureBody(PbsAst.FunctionDecl function, java.util.List captures) {} final java.util.List closureBodies = new ArrayList<>(); final Map> capturesByFunction = new HashMap<>(); + private final Span sourceScope; final Map builtinNames; final Map aliases = new HashMap<>(); final Map> fields = new HashMap<>(); @@ -30,6 +31,7 @@ final class PbsRuntimeTypes { final List runtimeImplementations = new ArrayList<>(); PbsRuntimeTypes(PbsAst.File ast, ReadOnlyList supplemental, Map builtins) { + sourceScope = ast.span(); builtinNames = builtins; ast.topDecls().forEach(d -> allowedFactoryOrigins.add(d.span())); supplemental.forEach(d -> { if (d instanceof PbsAst.TypeBindingDecl b && b.sameModule() && b.span().getFileId().equals(ast.span().getFileId())) allowedFactoryOrigins.add(b.declaration().span()); }); @@ -82,9 +84,23 @@ final class PbsRuntimeTypes { private void addSignature(String name, PbsAst.FunctionDecl f) { signatures.put(name+"#"+f.parameters().size(), new PbsAst.FunctionSignature(f.name(), f.parameters(), f.returnKind(), f.returnType(), f.resultErrorType(), f.attributes(), f.span())); } - boolean isContract(PbsAst.TypeRef type) { return contractTypes.isContract(unwrap(type)); } + PbsAst.TypeRef sourceType(String name) { return PbsAst.TypeRef.simple(name, sourceScope); } + private PbsAst.TypeRef lexical(PbsAst.TypeRef type) { + type = unwrap(type); + return type != null && type.kind() == PbsAst.TypeRefKind.SIMPLE && type.span().isNone() + ? sourceType(type.name()) : type; + } + PbsAst.StructDecl struct(PbsAst.TypeRef type) { + var declaration = contractTypes.declaration(lexical(type)); + return declaration instanceof PbsAst.StructDecl struct ? struct : declaration == null && type != null ? structs.get(type.name()) : null; + } + PbsAst.ServiceDecl service(PbsAst.TypeRef type) { + var declaration = contractTypes.declaration(lexical(type)); + return declaration instanceof PbsAst.ServiceDecl service ? service : declaration == null && type != null ? services.get(type.name()) : null; + } + boolean isContract(PbsAst.TypeRef type) { return contractTypes.isContract(lexical(type)); } PbsAst.ContractDecl contract(PbsAst.TypeRef type) { - var instance = contractTypes.resolve(unwrap(type)); + var instance = contractTypes.resolve(lexical(type)); return instance == null ? null : instance.declaration(); } String implementationCallableName(PbsAst.ImplementsDecl implementation, String method) { @@ -109,7 +125,7 @@ final class PbsRuntimeTypes { return t; } String key(PbsAst.TypeRef t) { - t = unwrap(t); + t = lexical(t); if (t == null) return "void"; if (t.kind() == PbsAst.TypeRefKind.FN) return "Fn(" + t.fields().stream().map(f->key(f.typeRef())).collect(java.util.stream.Collectors.joining(",")) + ")->" + shapeKey(t.inner()); if (t.kind() == PbsAst.TypeRefKind.ARRAY) return "array("+key(t.inner())+")"; @@ -128,7 +144,7 @@ final class PbsRuntimeTypes { return canonical(t); } String shapeKey(PbsAst.TypeRef type) { - var t = unwrap(type); + var t = lexical(type); if (t == null || t.kind() == PbsAst.TypeRefKind.UNIT) return ""; if (t.kind() == PbsAst.TypeRefKind.NAMED_TUPLE) return t.fields().stream() .map(field -> shapeKey(field.typeRef())).collect(java.util.stream.Collectors.joining(",")); @@ -169,7 +185,7 @@ final class PbsRuntimeTypes { return ref; } IRRegistry.TypeRef registryType(PbsAst.TypeRef type) { - var t = unwrap(type); + var t = lexical(type); if (p.studio.compiler.pbs.PbsSdkMemcard.isBuffer(contractTypes.declaration(t))) return memcardBufferStorage(); if (t.kind() == PbsAst.TypeRefKind.FN) { var ref = new IRRegistry.TypeRef("pbs:" + key(t)); diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer.java index 24f47819..64ad3dbc 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowAssignmentAnalyzer.java @@ -127,10 +127,13 @@ final class PbsFlowAssignmentAnalyzer { return new AssignmentTargetResolution(TypeView.unknown(), false); } - Diagnostics.error(diagnostics, + p.studio.compiler.pbs.PbsDiagnosticFacts.error(diagnostics, PbsSemanticsErrors.E_SEM_ASSIGN_TARGET_UNRESOLVED.name(), "Assignment target '%s' does not resolve".formatted(rootName), - lValue.span()); + lValue.span(), "pbs.flow.assignment-target", p.studio.utilities.json.ImmutableJson.fields( + "construction", "assignment", "requestedSymbol", rootName, "binding", "unresolved", + "scopeFileId", lValue.span().getFileId().getId()), + p.studio.compiler.source.diagnostics.FailureKind.PROGRAM_REJECTION); return new AssignmentTargetResolution(TypeView.unknown(), false); } @@ -156,10 +159,13 @@ final class PbsFlowAssignmentAnalyzer { } else if (model.constTypes.containsKey(rootName)) { currentType = model.constTypes.get(rootName); } else { - Diagnostics.error(diagnostics, + p.studio.compiler.pbs.PbsDiagnosticFacts.error(diagnostics, PbsSemanticsErrors.E_SEM_ASSIGN_TARGET_UNRESOLVED.name(), "Assignment target '%s' does not resolve".formatted(rootName), - lValue.span()); + lValue.span(), "pbs.flow.assignment-target", p.studio.utilities.json.ImmutableJson.fields( + "construction", "assignment", "requestedSymbol", rootName, "binding", "unresolved", + "scopeFileId", lValue.span().getFileId().getId()), + p.studio.compiler.source.diagnostics.FailureKind.PROGRAM_REJECTION); return new AssignmentTargetResolution(TypeView.unknown(), false); } } diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowCallableResolutionAnalyzer.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowCallableResolutionAnalyzer.java index 5299d79b..dc992b9d 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowCallableResolutionAnalyzer.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowCallableResolutionAnalyzer.java @@ -79,7 +79,7 @@ final class PbsFlowCallableResolutionAnalyzer { callee, argumentType, context.expectedType(), - context.diagnostics()); + context.diagnostics(), p.studio.compiler.pbs.PbsDiagnosticFacts.symbol(callExpr.callee())); } ExprResult analyzeApplyExpression( @@ -125,7 +125,7 @@ final class PbsFlowCallableResolutionAnalyzer { callee, argument, context.expectedType(), - context.diagnostics()); + context.diagnostics(), p.studio.compiler.pbs.PbsDiagnosticFacts.symbol(applyExpr.callee())); } ExprResult analyzeMemberExpression( @@ -295,13 +295,18 @@ final class PbsFlowCallableResolutionAnalyzer { final ExprResult callee, final TypeView argumentType, final TypeView expectedType, - final DiagnosticSink diagnostics) { + final DiagnosticSink diagnostics, final String requestedSymbol) { final var candidates = callee.callables(); if (candidates.isEmpty()) { - Diagnostics.error(diagnostics, + p.studio.compiler.pbs.PbsDiagnosticFacts.error(diagnostics, PbsSemanticsErrors.E_SEM_APPLY_NON_CALLABLE_TARGET.name(), "Apply/call target is not callable", - calleeSpan); + calleeSpan, "pbs.flow.call-target", p.studio.utilities.json.ImmutableJson.fields( + "construction", "application", "requestedSymbol", requestedSymbol, + "calleeClassification", callee.type().kind().name(), "argumentType", argumentType.kind().name(), + "resolutionConstraints", expectedType == null ? null : expectedType.kind().name(), + "candidateCount", candidates.size(), "scopeFileId", calleeSpan.getFileId().getId()), + p.studio.compiler.source.diagnostics.FailureKind.PROGRAM_REJECTION); return ExprResult.type(TypeView.unknown()); } diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PBSFrontendPhaseService.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PBSFrontendPhaseService.java index 5989889a..986b5bd9 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PBSFrontendPhaseService.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PBSFrontendPhaseService.java @@ -58,16 +58,17 @@ public class PBSFrontendPhaseService implements FrontendPhaseService { final var nameTable = ctx.nameTable(); final var feSurfaceContext = ctx.feSurfaceContext(); final var assembly = moduleAssemblyService.assemble(ctx, nameTable, diagnostics, issues); - final var sourceContexts = importedSemanticContextService.build(assembly.parsedSourceFiles(), assembly.moduleTable()); + final var sourceContexts = importedSemanticContextService.build(assembly.parsedSourceFiles(), assembly.moduleTable(), assembly.siblingDeclarationsByModule()); final var parsedSourceFiles = new PbsGenericProgramService().prepare(assembly.parsedSourceFiles(), sourceContexts, assembly.moduleTable(), diagnostics, feSurfaceContext); - final var importedSemanticContexts = importedSemanticContextService.build(parsedSourceFiles, assembly.moduleTable()); + final var importedSemanticContexts = importedSemanticContextService.build(parsedSourceFiles, assembly.moduleTable(), assembly.siblingDeclarationsByModule()); projectLifecycleSemanticsValidator.validate(parsedSourceFiles.asList(), diagnostics); final var failedModuleIds = assembly.mutableFailedModuleIds(); final var moduleDependencyGraph = assembly.moduleDependencyGraph(); final var canonicalModulePool = assembly.canonicalModulePool(); final var compiledSourceFiles = new ArrayList(parsedSourceFiles.size()); + final var importedGlobalsByFile = new HashMap>(); for (final var parsedSource : parsedSourceFiles) { final var blockedModuleIds = blockedModulesByDependency(failedModuleIds, moduleDependencyGraph); if (blockedModuleIds.contains(parsedSource.moduleId())) { @@ -96,12 +97,13 @@ public class PBSFrontendPhaseService implements FrontendPhaseService { failedModuleIds.add(parsedSource.moduleId()); } compiledSourceFiles.add(new CompiledSourceFile(parsedSource.moduleId(), irBackendFile)); + importedGlobalsByFile.put(parsedSource.fileId(), importedSemanticContext.importedGlobals()); } final var irBackend = mergeCompiledSources( compiledSourceFiles, failedModuleIds, - moduleDependencyGraph); + moduleDependencyGraph, importedGlobalsByFile); logs.using(log).debug("PBS frontend lowered to IR BE:\n%s".formatted(irBackend)); return irBackend; } @@ -128,10 +130,10 @@ public class PBSFrontendPhaseService implements FrontendPhaseService { final var assembly = service.moduleAssemblyService.assemble(ctx, ctx.nameTable(), diagnostics, issues); final var importedSemanticContexts = service.importedSemanticContextService.build( assembly.parsedSourceFiles(), - assembly.moduleTable()); + assembly.moduleTable(), assembly.siblingDeclarationsByModule()); final var semanticFiles = new PbsGenericProgramService().prepare(assembly.parsedSourceFiles(), importedSemanticContexts, assembly.moduleTable(), diagnostics, ctx.feSurfaceContext()); - final var semanticContexts = service.importedSemanticContextService.build(semanticFiles, assembly.moduleTable()); + final var semanticContexts = service.importedSemanticContextService.build(semanticFiles, assembly.moduleTable(), assembly.siblingDeclarationsByModule()); final var semanticAstByFile = new HashMap(); semanticFiles.forEach(f -> semanticAstByFile.put(f.fileId(), f.ast())); final var flowSemanticsValidator = new PbsFlowSemanticsValidator(); @@ -246,7 +248,8 @@ public class PBSFrontendPhaseService implements FrontendPhaseService { private IRBackend mergeCompiledSources( final ArrayList compiledSourceFiles, final Set failedModuleIds, - final Map> moduleDependencyGraph) { + final Map> moduleDependencyGraph, + final Map> importedGlobalsByFile) { final var irBackendAggregator = IRBackend.aggregator(); final var blockedModuleIds = blockedModulesByDependency(failedModuleIds, moduleDependencyGraph); @@ -260,7 +263,7 @@ public class PBSFrontendPhaseService implements FrontendPhaseService { compiledSourceFiles, blockedModuleIds, moduleDependencyGraph)); - return irBackendAggregator.emit(); + return PbsGlobalReferenceLinker.resolve(irBackendAggregator.emit(),importedGlobalsByFile); } private ReadOnlyList lifecycleModuleOrder( diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsGlobalReferenceLinker.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsGlobalReferenceLinker.java new file mode 100644 index 00000000..e917d8ee --- /dev/null +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsGlobalReferenceLinker.java @@ -0,0 +1,40 @@ +package p.studio.compiler.services; + +import p.studio.compiler.models.*; +import p.studio.compiler.source.identifiers.ModuleId; +import p.studio.utilities.structures.ReadOnlyList; +import java.util.*; + +/** Resolves PBS-private symbolic global references before publishing common IR. No storage is cloned. */ +final class PbsGlobalReferenceLinker { + private record Key(p.studio.compiler.source.identifiers.FileId file, String name) {} + static IRBackend resolve(IRBackend backend, Map> imports) { + if (imports.values().stream().noneMatch(values -> values.stream().anyMatch(p.studio.compiler.pbs.PbsFrontendCompiler.ImportedGlobalSurface::directlyVisible))) return backend; + var globals = new HashMap(); + for (var global : backend.getGlobals()) globals.put(new Key(global.fileId(),global.name()), global); + var functions = new ArrayList(); + for (var function : backend.getExecutableFunctions()) { + var ownedNames = new HashSet(); + for (var global : backend.getGlobals()) if (global.fileId().equals(function.fileId())) ownedNames.add(global.name()); + var importedSlots = p.studio.compiler.pbs.lowering.PbsImportedGlobalSlots.index(ownedNames,imports.getOrDefault(function.fileId(),ReadOnlyList.empty())); + if (importedSlots.isEmpty()) { functions.add(function); continue; } + var instructions = new ArrayList(); + for (var instruction : function.instructions()) { + if ((instruction.kind()==IRBackendExecutableFunction.InstructionKind.GET_GLOBAL || instruction.kind()==IRBackendExecutableFunction.InstructionKind.SET_GLOBAL) + && importedSlots.containsKey(instruction.expectedArgSlots())) { + var imported = importedSlots.get(instruction.expectedArgSlots()); + var global = Objects.requireNonNull(globals.get(new Key(imported.span().getFileId(),imported.globalName())), "Visible PBS global binding has no defining storage"); + instruction = new IRBackendExecutableFunction.Instruction(instruction.kind(),ModuleId.none(),"",null,null,null, + instruction.label(),instruction.targetLabel(),global.slot(),instruction.expectedRetSlots(),instruction.span(),instruction.registryInstruction()); + } + instructions.add(instruction); + } + functions.add(new IRBackendExecutableFunction(function.fileId(),function.moduleId(),function.callableName(),function.callableId(),function.sourceStart(),function.sourceEnd(), + function.paramSlots(),function.localSlots(),function.returnSlots(),function.maxStackSlots(),ReadOnlyList.wrap(instructions),function.span(),function.metadata(),function.semanticFacts())); + } + return IRBackend.builder().entryPointCallableName(backend.getEntryPointCallableName()).entryPointModuleId(backend.getEntryPointModuleId()) + .functions(backend.getFunctions()).syntheticFunctions(backend.getSyntheticFunctions()).globals(backend.getGlobals()).executableFunctions(ReadOnlyList.wrap(functions)) + .modulePool(backend.getModulePool()).callableSignatures(backend.getCallableSignatures()).intrinsicPool(backend.getIntrinsicPool()) + .reservedMetadata(backend.getReservedMetadata()).registry(backend.getRegistry()).lifecycleDeclaration(backend.getLifecycleDeclaration()).build(); + } +} diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContextService.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContextService.java index 9fc74b95..e9c3bc73 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContextService.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContextService.java @@ -26,7 +26,8 @@ final class PbsImportedSemanticContextService { Map build( final ReadOnlyList parsedSourceFiles, - final ModuleTable moduleTable) { + final ModuleTable moduleTable, + final Map> siblingDeclarationsByModule) { final Map> sourcesByModule = new HashMap<>(); for (final var parsedSource : parsedSourceFiles) { sourcesByModule @@ -83,9 +84,39 @@ final class PbsImportedSemanticContextService { for (var sibling : sourcesByModule.getOrDefault(parsedSource.moduleId(), new ArrayList<>())) { if (sibling.fileId().equals(parsedSource.fileId())) continue; for (var declaration : sibling.ast().topDecls()) { - if (isTypeDecl(declaration) || declaration instanceof PbsAst.FunctionDecl f && !f.typeParameters().isEmpty()) appendSupplementalTopDecl( - new PbsAst.TypeBindingDecl(topDeclName(declaration), declaration, parsedSource.ast().span(), true), supplementalTopDecls, supplementalKeys); - if (declaration instanceof PbsAst.ImplementsDecl) appendSupplementalTopDecl(declaration, supplementalTopDecls, supplementalKeys); + boolean admitted = siblingDeclarationsByModule.getOrDefault(parsedSource.moduleId(), Set.of()).contains(declaration.span()); + if (admitted) { + if (isTypeDecl(declaration) || declaration instanceof PbsAst.FunctionDecl f && !f.typeParameters().isEmpty()) + appendSupplementalTopDecl(new PbsAst.TypeBindingDecl(topDeclName(declaration), declaration, parsedSource.ast().span(), true), supplementalTopDecls, supplementalKeys); + else appendSupplementalTopDecl(declaration, supplementalTopDecls, supplementalKeys); + appendTypeDependencyDecls(declaration, topDeclsByNameByModule.get(parsedSource.moduleId()), supplementalTopDecls, supplementalKeys); + if (declaration instanceof PbsAst.FunctionDecl function && function.typeParameters().isEmpty()) + appendImportedCallable(importedCallables, importedCallableKeys, new PbsFrontendCompiler.ImportedCallableSurface( + parsedSource.moduleId(), function.name(), function.parameters().size(), returnSlotsFor(function), + function.returnKind(), function.returnType(), frontendCompiler.callableShapeSurfaceOf(function), function.name())); + if (declaration instanceof PbsAst.GlobalDecl global) + directlyVisibleGlobalRefs.putIfAbsent(global.name(), new PbsGlobalDependencySupport.GlobalRef(parsedSource.moduleId(),global.name())); + if (declaration instanceof PbsAst.ServiceDecl service) { + var accessor = p.studio.compiler.pbs.lowering.PbsExecutableCallableRegistryFactory.singletonAccessor(service); + appendImportedCallable(importedCallables, importedCallableKeys, new PbsFrontendCompiler.ImportedCallableSurface( + parsedSource.moduleId(),service.name()+".$instance",0,1,accessor.returnKind(),accessor.returnType(), + frontendCompiler.callableShapeSurfaceOf(accessor),service.name()+".$instance", service.span())); + for (var method : service.methods()) appendImportedCallable(importedCallables, importedCallableKeys, + new PbsFrontendCompiler.ImportedCallableSurface(parsedSource.moduleId(), service.name()+"."+method.name(), + method.parameters().size(),returnSlotsFor(method),method.returnKind(),method.returnType(), + frontendCompiler.callableShapeSurfaceOf(method),service.name()+"."+method.name(), service.span())); + } + } + if (declaration instanceof PbsAst.ImplementsDecl implementation) { + boolean ownerVisible = parsedSource.ast().topDecls().stream().anyMatch(d -> implementation.ownerName().equals(topDeclName(d))) + || sourcesByModule.get(parsedSource.moduleId()).stream().flatMap(source -> source.ast().topDecls().stream()) + .anyMatch(d -> implementation.ownerName().equals(topDeclName(d)) + && siblingDeclarationsByModule.getOrDefault(parsedSource.moduleId(),Set.of()).contains(d.span())); + if (ownerVisible) { + appendSupplementalTopDecl(implementation, supplementalTopDecls, supplementalKeys); + appendTypeDependencyDecls(implementation, topDeclsByNameByModule.get(parsedSource.moduleId()), supplementalTopDecls, supplementalKeys); + } + } } } @@ -125,7 +156,7 @@ final class PbsImportedSemanticContextService { var accessor = p.studio.compiler.pbs.lowering.PbsExecutableCallableRegistryFactory.singletonAccessor(serviceDecl); appendImportedCallable(importedCallables, importedCallableKeys, new PbsFrontendCompiler.ImportedCallableSurface(importedModuleId, localName+".$instance", 0, 1, - accessor.returnKind(), accessor.returnType(), frontendCompiler.callableShapeSurfaceOf(accessor), serviceDecl.name()+".$instance")); + accessor.returnKind(), accessor.returnType(), frontendCompiler.callableShapeSurfaceOf(accessor), serviceDecl.name()+".$instance", serviceDecl.span())); for (final var method : serviceDecl.methods()) { appendImportedCallable( importedCallables, @@ -137,7 +168,7 @@ final class PbsImportedSemanticContextService { returnSlotsFor(method), method.returnKind(), method.returnType(), - frontendCompiler.callableShapeSurfaceOf(method), serviceDecl.name() + "." + method.name())); + frontendCompiler.callableShapeSurfaceOf(method), serviceDecl.name() + "." + method.name(), serviceDecl.span())); } continue; } @@ -151,7 +182,7 @@ final class PbsImportedSemanticContextService { appendImportedCallable(importedCallables, importedCallableKeys, new PbsFrontendCompiler.ImportedCallableSurface(importedModuleId,localName+"."+method.name(), executable.parameters().size(),returnSlotsFor(executable),executable.returnKind(),executable.returnType(), - frontendCompiler.callableShapeSurfaceOf(executable), structDecl.name()+"."+method.name())); + frontendCompiler.callableShapeSurfaceOf(executable), structDecl.name()+"."+method.name(), structDecl.span())); } continue; } @@ -249,7 +280,7 @@ final class PbsImportedSemanticContextService { var executable=p.studio.compiler.pbs.lowering.PbsExecutableCallableRegistryFactory.withReceiver(method,struct.name(),"this"); appendImportedCallable(callables,callableKeys,new PbsFrontendCompiler.ImportedCallableSurface(definingModule,local+"."+method.name(), executable.parameters().size(),returnSlotsFor(executable),executable.returnKind(),executable.returnType(), - frontendCompiler.callableShapeSurfaceOf(executable),struct.name()+"."+method.name())); + frontendCompiler.callableShapeSurfaceOf(executable),struct.name()+"."+method.name(), struct.span())); } for(var provider:sourcesByModule.getOrDefault(definingModule,new ArrayList<>()))for(var member:provider.ast().topDecls()) if(member instanceof PbsAst.ImplementsDecl implementation&&implementation.ownerName().equals(struct.name())) { diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssembly.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssembly.java index 818fa735..8d9a77cf 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssembly.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssembly.java @@ -18,8 +18,10 @@ record PbsModuleAssembly( ReadOnlyList canonicalModulePool, Set failedModuleIds, ModuleTable moduleTable, - Map> globalVisibilityByModule) { + Map> globalVisibilityByModule, + Map> siblingDeclarationsByModule) { PbsModuleAssembly { + siblingDeclarationsByModule = Map.copyOf(siblingDeclarationsByModule); parsedSourceFiles = parsedSourceFiles == null ? ReadOnlyList.empty() : parsedSourceFiles; canonicalModulePool = canonicalModulePool == null ? ReadOnlyList.empty() : canonicalModulePool; failedModuleIds = failedModuleIds == null ? Set.of() : Set.copyOf(failedModuleIds); diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssemblyService.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssemblyService.java index a2cdfbc5..9954dd4a 100644 --- a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssemblyService.java +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssemblyService.java @@ -118,13 +118,15 @@ final class PbsModuleAssemblyService { moduleVisibilityValidator.validate(ReadOnlyList.wrap(modules), nameTable, diagnostics); markModulesWithLinkingErrors(diagnostics, moduleIdByFile, failedModuleIds); + var siblingDeclarations = new LinkedHashMap>(); + for (var module : modules) siblingDeclarations.put(moduleId(moduleTable, module.coordinates()), moduleVisibilityValidator.siblingDeclarations(module, nameTable)); return new PbsModuleAssembly( ReadOnlyList.wrap(parsedSourceFiles), buildModuleDependencyGraph(parsedSourceFiles, moduleTable), emitModulePool(moduleTable), failedModuleIds, moduleTable, - collectGlobalVisibilityByModule(modulesByCoordinates, moduleTable)); + collectGlobalVisibilityByModule(modulesByCoordinates, moduleTable), siblingDeclarations); } private Map> collectGlobalVisibilityByModule( diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/GenericDiagnosticContextTest.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/GenericDiagnosticContextTest.java new file mode 100644 index 00000000..885a90bd --- /dev/null +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/GenericDiagnosticContextTest.java @@ -0,0 +1,25 @@ +package p.studio.compiler.pbs; + +import org.junit.jupiter.api.Test; +import p.studio.compiler.pbs.ast.PbsAst; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.identifiers.FileId; +import p.studio.compiler.source.diagnostics.*; +import p.studio.utilities.structures.ReadOnlyList; +import java.util.*; +import static org.junit.jupiter.api.Assertions.*; + +class GenericDiagnosticContextTest { + @Test void specializationWrapperPreservesDetectorAndReportedPhase() { + var span = new Span(new FileId(0), 0, 4); + var declaration = new PbsAst.HostDecl("Fixture", ReadOnlyList.empty(), ReadOnlyList.empty(), span); + var application = new PbsAst.ApplicationOrigin(declaration, ReadOnlyList.empty(), "fixture", "Fixture", span); + var original = DiagnosticDescriptions.attach(new Diagnostic(Severity.Error, "E_SEM_UNSUPPORTED_LOWERING", "failed", span, List.of()), + "pbs.lowering.call-resolution", Map.of("requestedSymbol", "probe", "argumentCount", 0), FailureKind.PROGRAM_REJECTION); + var sink = DiagnosticSink.empty(); PbsGenericDiagnostics.forOrigin(application, sink).report(original); + var output = sink.asCollection().iterator().next(); + assertEquals(original.getContext(), output.getContext()); assertEquals(original.getReportedPhase(), output.getReportedPhase()); + assertEquals(original.getCode(), output.getCode()); assertEquals(2, output.getRelated().size()); + assertTrue(output.getMessage().contains("Fixture")); + } +} diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/lowering/PbsNominalOwnerRegressionTest.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/lowering/PbsNominalOwnerRegressionTest.java new file mode 100644 index 00000000..79c8761c --- /dev/null +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/lowering/PbsNominalOwnerRegressionTest.java @@ -0,0 +1,58 @@ +package p.studio.compiler.pbs.lowering; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import p.studio.AppMode; +import p.studio.compiler.models.*; +import p.studio.compiler.messages.FrontendPhaseContext; +import p.studio.compiler.services.PBSFrontendPhaseService; +import p.studio.compiler.pbs.ast.PbsAst; +import p.studio.compiler.pbs.lexer.PbsLexer; +import p.studio.compiler.pbs.parser.PbsParser; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.tables.*; +import p.studio.compiler.source.diagnostics.DiagnosticSink; +import p.studio.compiler.utilities.SourceProviderFactory; +import p.studio.utilities.structures.ReadOnlyList; +import java.nio.file.*; +import java.util.*; +import static org.junit.jupiter.api.Assertions.*; + +class PbsNominalOwnerRegressionTest { + @TempDir Path temporary; + @Test void declarationScopeAndSyntheticReceiverHaveDistinctResolutionEvidence() throws Exception { + var json=new ObjectMapper();var reports=new ArrayList>(); + var cases=json.readTree(getClass().getResourceAsStream("/production-regressions/cases.json")).path("cases"); + for(var example:cases) { + String id=example.path("id").asText(); + if(!Set.of("F4-distinct","F4-same-no-dependency","F4-same-dependency","F4-rename-a").contains(id))continue; + var root=Files.createDirectory(temporary.resolve(id)).toRealPath();var projects=new ProjectTable();var files=new FileTable(1); + var project=projects.register(ProjectDescriptor.builder().rootPath(root).name("caseapp").version("1").sourceRoots(ReadOnlyList.from(root.resolve("src"))).build()); + var entries=example.path("files").fields();p.studio.compiler.source.identifiers.FileId main=null; + while(entries.hasNext()) { + var entry=entries.next();var path=root.resolve(entry.getKey());Files.createDirectories(path.getParent());Files.writeString(path,entry.getValue().asText()); + if(entry.getKey().endsWith(".pbs")||entry.getKey().endsWith(".barrel")) { + var file=files.register(new SourceHandle(project,root.relativize(path),path,Files.size(path),0,SourceProviderFactory.filesystem())); + if(entry.getKey().equals("src/a/main.pbs"))main=file; + } + } + assertNotNull(main); + var context=new FrontendPhaseContext(projects,files,new BuildStack(ReadOnlyList.from(project)),1,AppMode.Game); + var supplemental=PBSFrontendPhaseService.importedSupplementalTopDeclsByFile(context,DiagnosticSink.empty(),p.studio.compiler.messages.BuildingIssueSink.empty()).get(main); + var diagnostics=DiagnosticSink.empty();var ast=PbsParser.parse(PbsLexer.lex(files.get(main).readUtf8().orElseThrow(),main,diagnostics),main,diagnostics); + var types=new PbsRuntimeTypes(ast,supplemental,Map.of()); + var global=(PbsAst.GlobalDecl)ast.topDecls().stream().filter(d->d instanceof PbsAst.GlobalDecl).findFirst().orElseThrow(); + var declaration=types.contractTypes.declaration(global.explicitType());assertNotNull(declaration); + var flattened=types.structs.get(global.explicitType().name());assertNotNull(flattened); + assertEquals(declaration.span(), types.struct(global.explicitType()).span()); + assertEquals(types.key(global.explicitType()), types.key(PbsRuntimeTypes.type(global.explicitType().name()))); + reports.add(Map.of("case",id,"source",root.relativize(files.get(declaration.span().getFileId()).getCanonPath()).toString(), + "flatOwnerSource",root.relativize(files.get(flattened.span().getFileId()).getCanonPath()).toString(), + "declaredReceiverKey",types.key(global.explicitType()),"syntheticReceiverKey",types.key(PbsRuntimeTypes.type(global.explicitType().name())), + "flatOwnerMatches",declaration.span().equals(flattened.span()))); + } + var directory=Path.of("build/production-regressions");Files.createDirectories(directory); + json.writerWithDefaultPrettyPrinter().writeValue(Files.createTempFile(directory,"nominal-trace-",".json").toFile(),reports); + } +} diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsProductionLoweringRegressionTest.java b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsProductionLoweringRegressionTest.java new file mode 100644 index 00000000..a9016dc6 --- /dev/null +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsProductionLoweringRegressionTest.java @@ -0,0 +1,76 @@ +package p.studio.compiler.services; + +import com.fasterxml.jackson.databind.*; +import org.junit.jupiter.api.*; +import org.junit.jupiter.api.io.TempDir; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; +import p.studio.AppMode; +import p.studio.compiler.messages.*; +import p.studio.compiler.models.*; +import p.studio.compiler.source.tables.*; +import p.studio.compiler.utilities.SourceProviderFactory; +import p.studio.compiler.source.diagnostics.*; +import p.studio.utilities.logs.LogAggregator; +import p.studio.utilities.structures.ReadOnlyList; +import java.nio.file.*; +import java.util.*; +import java.util.stream.Stream; +import static org.junit.jupiter.api.Assertions.*; + +class PbsProductionLoweringRegressionTest { + @TempDir Path root; + static Stream cases() throws Exception { + try(var input=PbsProductionLoweringRegressionTest.class.getResourceAsStream("/production-regressions/cases.json")) { + byte[] corpus=input.readAllBytes(); + assertEquals("0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87", + HexFormat.of().formatHex(java.security.MessageDigest.getInstance("SHA-256").digest(corpus))); + return new ObjectMapper().readTree(corpus).path("cases").findValuesAsText("id").stream(); + } + } + @ParameterizedTest(name="{0}") @MethodSource("cases") + void originalCorpusKeepsSourceAndExpectedFrontendResult(String id) throws Exception { + var corpus=new ObjectMapper().readTree(getClass().getResourceAsStream("/production-regressions/cases.json")); + JsonNode example=null; for(var c:corpus.path("cases"))if(c.path("id").asText().equals(id))example=c; + assertNotNull(example); checkCase(example); + } + static Stream focusedCases() throws Exception { + return new ObjectMapper().readTree(PbsProductionLoweringRegressionTest.class.getResourceAsStream("/production-regressions/focused-cases.json")).path("cases").findValuesAsText("id").stream(); + } + @ParameterizedTest(name="{0}") @MethodSource("focusedCases") + void focusedContextVisibilityAndSharedIdentity(String id) throws Exception { + var examples=new ObjectMapper().readTree(getClass().getResourceAsStream("/production-regressions/focused-cases.json")).path("cases"); + for(var example:examples)if(example.path("id").asText().equals(id)){checkCase(example);return;} + fail("Unknown focused case "+id); + } + void checkCase(JsonNode example) throws Exception { + var id=example.path("id").asText(); var files=new LinkedHashMap(); + var entries=example.path("files").fields();while(entries.hasNext()){var entry=entries.next();files.put(entry.getKey(),entry.getValue().asText());} + var result=compile(files); + assertEquals(example.path("expectedCompile").asText().equals("rejected"),result.diagnostics().hasErrors(),id+": "+result.diagnostics().asCollection()); + if(id.equals("F3-global"))assertEquals(1,result.backend().getGlobals().stream().filter(g->g.name().equals("count")).count()); + for(var entry:files.entrySet())assertEquals(entry.getValue(),Files.readString(root.resolve(entry.getKey()))); + } + @Test void expectedReturnOverloadsRemainContextual() throws Exception { + var result=compile(Map.of("src/mod.barrel","pub fn frame() -> void;\n", "src/main.pbs", """ + declare struct Probe() { fn value() -> int { return 1; } fn value() -> bool { return true; } } + declare global data: Probe = new Probe(); + fn check() -> bool { return data.value(); } + [Frame] fn frame() -> void { let number: int=data.value(); let flag: bool=data.value(); if !check() || !flag || number!=1 { let failure=1/0; } } + """)); + assertFalse(result.diagnostics().hasErrors(), result.diagnostics().asCollection().toString()); + } + record Compiled(IRBackend backend, DiagnosticSink diagnostics) {} + Compiled compile(Map sources) throws Exception { + root=root.toRealPath(); var projects=new ProjectTable();var files=new FileTable(1); + var owner=projects.register(ProjectDescriptor.builder().rootPath(root).name("caseapp").version("1.0.0") + .sourceRoots(ReadOnlyList.from(root.resolve("src"))).build()); + for(var entry:sources.entrySet()) { + var path=root.resolve(entry.getKey());Files.createDirectories(path.getParent());Files.writeString(path,entry.getValue()); + if(entry.getKey().endsWith(".pbs")||entry.getKey().endsWith(".barrel"))files.register(new SourceHandle(owner,root.relativize(path),path,Files.size(path),0,SourceProviderFactory.filesystem())); + } + var diagnostics=DiagnosticSink.empty(); var backend=new PBSFrontendPhaseService().compile( + new FrontendPhaseContext(projects,files,new BuildStack(ReadOnlyList.from(owner)),1,AppMode.Game),diagnostics,LogAggregator.empty(),BuildingIssueSink.empty()); + return new Compiled(backend,diagnostics); + } +} diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json new file mode 100644 index 00000000..6362d3db --- /dev/null +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json @@ -0,0 +1,451 @@ +{ + "schemaVersion": 1, + "cases": [ + { + "id": "F1-local", + "family": "call-comparison-return", + "description": "Control: method result materialized before comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { let value=data.value(); return value!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990" + }, + { + "id": "F1-direct", + "family": "call-comparison-return", + "description": "Method call compared directly in returned expression", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61" + }, + { + "id": "F1-two-calls", + "family": "call-comparison-return", + "description": "Two method calls as comparison operands", + "control": "F1-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()==data.value(); }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n" + }, + "sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f" + }, + { + "id": "F1-service-this", + "family": "call-comparison-return", + "description": "Service receiver this inside a returned comparison", + "control": "F1-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { return this.value()!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n" + }, + "sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089" + }, + { + "id": "F1-service-local", + "family": "call-comparison-return", + "description": "Control: identical service call materialized before returned comparison", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { let value=this.value(); return value!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n" + }, + "sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb" + }, + { + "id": "F1-condition", + "family": "call-comparison-return", + "description": "Control: direct method comparison in an if condition", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\n[Frame] fn frame() -> void { if data.value()!=1 { let failure=1/0; } }\n" + }, + "sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014" + }, + { + "id": "F2-locals", + "family": "nested-call-expression", + "description": "Control: effectful call arguments stored in locals", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let a=next(); let b=next(); let value=add(a,b); if value!=3 || calls!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218" + }, + { + "id": "F2-arguments", + "family": "nested-call-expression", + "description": "Effectful call arguments evaluate once, left to right", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next(),next()); if value!=3 || calls!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c" + }, + { + "id": "F2-expression", + "family": "nested-call-expression", + "description": "Effectful calls nested inside arithmetic argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next()+next(),next()); if value!=6 || calls!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073" + }, + { + "id": "F2-struct-method", + "family": "nested-call-expression", + "description": "Struct method used as another method argument", + "control": "F2-locals", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { let value=add(data.value(),data.value()); if value!=2 { let failure=1/0; } }\n" + }, + "sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894" + }, + { + "id": "F3-single-file", + "family": "same-module-files", + "description": "Control: function and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "fn increment(value: int) -> int { return value+1; }\n[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a" + }, + { + "id": "F3-function", + "family": "same-module-files", + "description": "mod function called from another file", + "control": "F3-single-file", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod fn increment(value: int) -> int;\n", + "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1" + }, + { + "id": "F3-global", + "family": "same-module-files", + "description": "mod global mutated from another file", + "control": "F3-global-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod global count;\n", + "src/state.pbs": "declare global count: int=0;\n", + "src/main.pbs": "[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n" + }, + "sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34" + }, + { + "id": "F3-service", + "family": "same-module-files", + "description": "mod service called from another file", + "control": "F3-service-local", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod service Helper;\n", + "src/helpers.pbs": "declare service Helper { fn value() -> int { return 3; } }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22" + }, + { + "id": "F3-global-local", + "family": "same-module-files", + "description": "Control: identical global and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global count: int=0;\n[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n" + }, + "sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924" + }, + { + "id": "F3-service-local", + "family": "same-module-files", + "description": "Control: identical service and caller in the same file", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare service Helper { fn value() -> int { return 3; } }\n[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n" + }, + "sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb" + }, + { + "id": "F3-file-private", + "family": "same-module-files", + "description": "Negative control: function absent from barrel stays file-private", + "control": "F3-function", + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); }\n" + }, + "sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb" + }, + { + "id": "F4-distinct", + "family": "homonymous-types", + "description": "Types ARoomData/BRoomData; dependency=True; direct=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct ARoomData;\n", + "src/a/data.pbs": "declare struct ARoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: ARoomData = new ARoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct BRoomData;\n", + "src/b/data.pbs": "declare struct BRoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: BRoomData = new BRoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811" + }, + { + "id": "F4-same-no-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=False; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=1 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); return own; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5" + }, + { + "id": "F4-same-dependency", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831" + }, + { + "id": "F4-rename-a", + "family": "homonymous-types", + "description": "Types StartRoomData/RoomData; dependency=True; direct=False", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct StartRoomData;\n", + "src/a/data.pbs": "declare struct StartRoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: StartRoomData = new StartRoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e" + }, + { + "id": "F4-same-direct", + "family": "homonymous-types", + "description": "Types RoomData/RoomData; dependency=True; direct=True", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n", + "src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n", + "src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { return room.value()+B.value(); } }\n", + "src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n", + "src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n", + "src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n" + }, + "sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e" + }, + { + "id": "F4-public-aliases", + "family": "homonymous-types", + "description": "Two distinct nominal RoomData declarations imported with aliases", + "control": "F4-distinct", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { RoomData as LeftData } from @caseapp:a;\nimport { RoomData as RightData } from @caseapp:b;\ndeclare global left: LeftData = new LeftData(1);\ndeclare global right: RightData = new RightData(2);\n[Frame] fn frame() -> void { let a=left.value(); let b=right.value(); if a!=1 || b!=2 { let failure=1/0; } }\n", + "src/a/mod.barrel": "pub struct RoomData;\n", + "src/a/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n", + "src/b/mod.barrel": "pub struct RoomData;\n", + "src/b/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n" + }, + "sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207" + }, + { + "id": "F5-shopvisit", + "family": "imported-struct-construction", + "description": "Imported ShopVisit, alias=None, positional=False", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { ShopVisit } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: ShopVisit = new ShopVisit.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct ShopVisit;\n", + "src/scene/main.pbs": "declare struct ShopVisit(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { ShopVisit } from @caseapp:scene;\ndeclare service Link { fn read(scene: ShopVisit) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38" + }, + { + "id": "F5-scene", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f" + }, + { + "id": "F5-scene-alias", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=WorldScene, positional=False", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene as WorldScene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: WorldScene = new WorldScene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959" + }, + { + "id": "F5-scene-positional", + "family": "imported-struct-construction", + "description": "Imported Scene, alias=None, positional=True", + "control": "F5-shopvisit", + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n", + "src/scene/mod.barrel": "pub struct Scene;\n", + "src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n", + "src/link/mod.barrel": "pub service Link;\n", + "src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n" + }, + "sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7" + }, + { + "id": "runtime-trap-control", + "family": "harness-control", + "description": "Deliberate guest fault proves frame assertions are executed", + "control": null, + "expectedCompile": "compiled", + "expectedRuntime": "fault", + "files": { + "prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "[Frame] fn frame() -> void { let failure=1/0; }\n" + }, + "sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9" + } + ] +} diff --git a/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/focused-cases.json b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/focused-cases.json new file mode 100644 index 00000000..149a3357 --- /dev/null +++ b/prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/focused-cases.json @@ -0,0 +1,87 @@ +{ + "schemaVersion": 1, + "cases": [ + { + "id": "contextual-overloads", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } fn value() -> bool { return true; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value(); }\n[Frame] fn frame() -> void { let number: int=data.value(); let flag: bool=data.value(); if !check() || !flag || number!=1 { let failure=1/0; } }\n" + }, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07" + }, + { + "id": "receiver-argument-order", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/main.pbs": "declare global calls: int=0;\ndeclare struct Probe() { fn read(value: int) -> int { return value; } }\ndeclare global data: Probe=new Probe();\nfn receiver() -> Probe { calls=calls*10+1; return data; }\nfn arg() -> int { calls=calls*10+2; return 3; }\n[Frame] fn frame() -> void { calls=0; let value=receiver().read(arg()); if value!=3 || calls!=12 { let failure=1/0; } }\n" + }, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6" + }, + { + "id": "shared-global-storage", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod global count;\nmod fn increment() -> int;\n", + "src/state.pbs": "declare global count: int=0;\nfn increment() -> int { count+=1; return count; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { count=4; let value=increment(); if value!=5 || count!=5 { let failure=1/0; } }\n" + }, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f" + }, + { + "id": "shared-service-singleton", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod service Counter;\nmod fn instance() -> Counter;\n", + "src/state.pbs": "declare service Counter {}\nfn instance() -> Counter { return Counter; }\n", + "src/main.pbs": "import { referenceEquals } from @sdk:hash;\n[Frame] fn frame() -> void { if !referenceEquals(Counter,instance()) { let failure=1/0; } }\n" + }, + "expectedCompile": "compiled", + "expectedRuntime": "passed", + "sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5" + }, + { + "id": "private-overload", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\nmod fn helper(value: int) -> int;\n", + "src/helper.pbs": "fn helper(value: int) -> int { return value; }\nfn helper(value: bool) -> bool { return value; }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let flag=helper(true); }\n" + }, + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d" + }, + { + "id": "private-global", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/state.pbs": "declare global count: int=0;\n", + "src/main.pbs": "[Frame] fn frame() -> void { count=4; }\n" + }, + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114" + }, + { + "id": "private-service", + "files": { + "prometeu.json": "{\"name\": \"caseapp\", \"version\": \"1.0.0\", \"language\": \"pbs\", \"stdlib\": \"1\", \"target\": \"Game\", \"dependencies\": []}\n", + "src/mod.barrel": "pub fn frame() -> void;\n", + "src/state.pbs": "declare service Counter { fn value() -> int { return 1; } }\n", + "src/main.pbs": "[Frame] fn frame() -> void { let value=Counter.value(); }\n" + }, + "expectedCompile": "rejected", + "expectedRuntime": "not_run", + "sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07" + } + ] +} diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeEmitter.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeEmitter.java index e616bdc1..7119e137 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeEmitter.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeEmitter.java @@ -1,5 +1,8 @@ package p.studio.compiler.backend.bytecode; +import p.studio.compiler.source.diagnostics.SourceAttribution; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.identifiers.FileId; import p.studio.utilities.structures.ReadOnlyList; import java.io.ByteArrayOutputStream; @@ -335,7 +338,20 @@ public class BytecodeEmitter { int returnSlots, int maxStackSlots, ReadOnlyList operations, - p.studio.compiler.models.registry.IRRegistry.FunctionMetadata metadata) { + p.studio.compiler.models.registry.IRRegistry.FunctionMetadata metadata, + String moduleName, + SourceAttribution attribution, + java.util.Map semanticFacts) { + public FunctionPlan(String name, int paramSlots, int localSlots, int returnSlots, int maxStackSlots, + ReadOnlyList operations, + p.studio.compiler.models.registry.IRRegistry.FunctionMetadata metadata, String moduleName, SourceAttribution attribution) { + this(name, paramSlots, localSlots, returnSlots, maxStackSlots, operations, metadata, moduleName, attribution, java.util.Map.of()); + } + public FunctionPlan(String name, int paramSlots, int localSlots, int returnSlots, int maxStackSlots, + ReadOnlyList operations, + p.studio.compiler.models.registry.IRRegistry.FunctionMetadata metadata) { + this(name, paramSlots, localSlots, returnSlots, maxStackSlots, operations, metadata, null, null); + } public FunctionPlan( String name, int paramSlots, @@ -349,6 +365,7 @@ public class BytecodeEmitter { public FunctionPlan { Objects.requireNonNull(name, "name"); operations = operations == null ? ReadOnlyList.empty() : operations; + semanticFacts = p.studio.utilities.json.ImmutableJson.object(semanticFacts); } } @@ -396,7 +413,16 @@ public class BytecodeEmitter { Integer expectedArgSlots, Integer expectedRetSlots, BytecodeModule.SourceSpan span, - p.studio.compiler.backend.irvm.IRVMInstruction registryInstruction) { + p.studio.compiler.backend.irvm.IRVMInstruction registryInstruction, + SourceAttribution attribution) { + public Operation(OperationKind kind, int immediate, BytecodeModule.SyscallDecl syscallDecl, + Integer expectedArgSlots, Integer expectedRetSlots, BytecodeModule.SourceSpan span, + p.studio.compiler.backend.irvm.IRVMInstruction registryInstruction) { + this(kind, immediate, syscallDecl, expectedArgSlots, expectedRetSlots, span, registryInstruction, + SourceAttribution.source(span == null || span.fileId() < 0 ? null + : new Span(new FileId(span.fileId()), + span.start(), span.end()))); + } public Operation( OperationKind kind, int immediate, @@ -409,6 +435,12 @@ public class BytecodeEmitter { public Operation { Objects.requireNonNull(kind, "kind"); + attribution = attribution == null + ? SourceAttribution.unknown("no-source-span") : attribution; + } + + public Operation withAttribution(SourceAttribution origin) { + return new Operation(kind, immediate, syscallDecl, expectedArgSlots, expectedRetSlots, span, registryInstruction, origin); } public static Operation halt() { diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.java index e5d09f67..63492bc0 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeMarshalingException.java @@ -1,15 +1,30 @@ package p.studio.compiler.backend.bytecode; +import p.studio.compiler.source.diagnostics.DiagnosticContext; +import p.studio.compiler.source.diagnostics.FailureKind; +import java.util.Map; + public class BytecodeMarshalingException extends RuntimeException { private final BytecodeMarshalingErrorCode code; + private final DiagnosticContext context; public BytecodeMarshalingException( final BytecodeMarshalingErrorCode code, final String message) { + this(code, message, FailureKind.UNKNOWN, Map.of()); + } + + public BytecodeMarshalingException(BytecodeMarshalingErrorCode code, String message, + FailureKind kind, Map parameters) { super(message); this.code = code; + this.context = new DiagnosticContext(null, null, null, kind, parameters) + .withEnrichment(kind == FailureKind.VERIFICATION_LIMIT + ? p.studio.compiler.source.diagnostics.DiagnosticDescriptions.describe("compiler.verify.resource-limit", Map.of()) : Map.of()); } + public DiagnosticContext context() { return context; } + public BytecodeMarshalingErrorCode code() { return code; } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java index b44f819e..11501439 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java @@ -1,5 +1,6 @@ package p.studio.compiler.backend.bytecode; +import p.studio.compiler.source.diagnostics.FailureKind; import p.studio.compiler.backend.registry.LinkedRegistry; import p.studio.compiler.backend.irvm.IRVMIntrinsicRegistry; import p.studio.compiler.backend.irvm.IRVMIntrinsicDefinition.Carrier; @@ -12,7 +13,8 @@ public class BytecodePreloadVerifierService { public void verify(BytecodeModule module) { try { verifyRegistry(module); } catch (IllegalArgumentException | ArithmeticException error) { - throw new BytecodeMarshalingException(BytecodeMarshalingErrorCode.MARSHAL_VERIFY_REGISTRY_INVALID, error.getMessage()); + throw new BytecodeMarshalingException(BytecodeMarshalingErrorCode.MARSHAL_VERIFY_REGISTRY_INVALID, error.getMessage(), + FailureKind.INTERNAL_FAILURE, Map.of()); } } private void verifyRegistry(BytecodeModule module) { @@ -101,11 +103,11 @@ public class BytecodePreloadVerifierService { long work=0; while(!queue.isEmpty()) { int pc=queue.remove();var state=states.get(pc).copy();var instruction=code.get(pc); - check((work+=1L+state.locals.length+state.stack.size())<=268_435_456L,"verification work limit"); + checkResourceLimit(work+=1L+state.locals.length+state.stack.size(),268_435_456L,"work"); transfer(m,r,index,instruction,state,false); for(int successor:successors(instruction,f.codeOffset(),end)) { if(successor==end) {check(state.stack.size()==f.returnSlots(),"function-end result height");continue;} - var old=states.get(successor);if(old==null){check((long)(states.size()+1)*(locals.length+f.maxStackSlots())*24<=128L*1024*1024,"verification scratch limit");states.put(successor,state.copy());queue.add(successor);} + var old=states.get(successor);if(old==null){checkResourceLimit((long)(states.size()+1)*(locals.length+f.maxStackSlots())*24,128L*1024*1024,"scratch");states.put(successor,state.copy());queue.add(successor);} else {check(old.stack.size()==state.stack.size(),"join height mismatch");boolean changed=false; for(int i=0;i limit) throw new BytecodeMarshalingException( + BytecodeMarshalingErrorCode.MARSHAL_VERIFY_REGISTRY_INVALID, "verification " + resource + " limit", + FailureKind.VERIFICATION_LIMIT, + Map.of("resource", resource, "actual", actual, "limit", limit)); + } private static void check(boolean ok,String message){if(!ok)throw new IllegalArgumentException(message);} } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationException.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationException.java index 46825f9a..e0c02856 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationException.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidationException.java @@ -1,19 +1,60 @@ package p.studio.compiler.backend.irvm; +import p.studio.compiler.source.diagnostics.*; +import java.util.List; +import java.util.Map; + public class IRVMValidationException extends RuntimeException { private final IRVMValidationErrorCode code; private final int functionIndex; private final int pc; + private final DiagnosticContext context; + private final List related; public IRVMValidationException( final IRVMValidationErrorCode code, final String message, final int functionIndex, final int pc) { - super(message); + this(code, message, functionIndex, pc, DiagnosticContext.unknown(), List.of(), null); + } + + private IRVMValidationException(IRVMValidationErrorCode code, String message, int functionIndex, int pc, + DiagnosticContext context, List related, Throwable cause) { + super(message, cause); this.code = code; this.functionIndex = functionIndex; this.pc = pc; + this.context = context; + this.related = List.copyOf(related); + } + + public DiagnosticContext context() { return context; } + public List related() { return related; } + + public IRVMValidationException withParameters(Map parameters) { + return enriched(context.withParameters(parameters), related); + } + + public IRVMValidationException enriched(DiagnosticContext context, List related) { + return new IRVMValidationException(code, getMessage(), functionIndex, pc, context, related, this); + } + + public IRVMValidationException at(String stage, String point, String passName) { + var verification = context.verification(); + if (verification != null) verification = verification.at(point, passName); + return enriched(new DiagnosticContext(stage, verification, context.attribution(), context.failureKind(), + context.parameters(), context.enrichment()), related); + } + + public p.studio.compiler.messages.BuildingIssue toIssue(String stage, String message) { + var span = context.attribution().span(); + return p.studio.compiler.messages.BuildingIssue.builder().error(true).code(code.name()).phase(stage) + .message(message).exception(this).functionIndex(functionIndex).pc(pc) + .sourceSpan(span).fileId(span == null ? null : span.getFileId().getId()) + .start(span == null ? null : (int) Math.min(Integer.MAX_VALUE, span.getStart())) + .end(span == null ? null : (int) Math.min(Integer.MAX_VALUE, span.getEnd())) + .context(context.withStage(stage)).related(related).build(); } public IRVMValidationErrorCode code() { diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java index a11afd1a..3646c780 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/IRVMValidator.java @@ -1,6 +1,7 @@ package p.studio.compiler.backend.irvm; import p.studio.compiler.backend.bytecode.BytecodeEmitter; +import p.studio.compiler.source.diagnostics.*; import java.util.ArrayDeque; import java.util.HashMap; @@ -45,6 +46,42 @@ public class IRVMValidator { } private void validateFunction( + final IRVMModule module, final BytecodeEmitter.FunctionPlan functionPlan, + final int functionIndex, final boolean rejectInternalOpcodes) { + try { + validateFunctionBody(module, functionPlan, functionIndex, rejectInternalOpcodes); + } catch (IRVMValidationException failure) { + var function = module.functions().get(functionIndex); + var attribution = SourceAttribution.unknown(functionPlan == null ? "no-emission-plan" : "no-source-span"); + if (functionPlan != null) { + var pc = 0; + for (var i = 0; i < function.instructions().size(); i++) { + if (pc == failure.pc()) { + attribution = functionPlan.operations().get(i).attribution(); + break; + } + pc += function.instructions().get(i).encodedSize(); + } + } + var related = new java.util.ArrayList<>(failure.related()); + if (functionPlan != null && functionPlan.attribution() != null && functionPlan.attribution().span() != null) { + related.add(new RelatedSpan("Enclosing function", functionPlan.attribution().span(), "function", "context")); + } + var check = switch (failure.code()) { + case MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT -> "compiler.verify.ret-stack-height"; + case MARSHAL_VERIFY_PRECHECK_STACK_MISMATCH_JOIN -> "compiler.verify.join-stack-height"; + default -> null; + }; + var enrichment = check == null ? failure.context().enrichment() : DiagnosticDescriptions.describe(check, + functionPlan == null ? java.util.Map.of() : functionPlan.semanticFacts()); + throw failure.enriched(new DiagnosticContext(null, + new VerificationContext(null, null, "irvm-function", "byte", functionIndex, failure.pc(), + function.name(), functionPlan == null ? null : functionPlan.moduleName()), + attribution, FailureKind.INTERNAL_FAILURE, failure.context().parameters(), enrichment), related); + } + } + + private void validateFunctionBody( final IRVMModule module, final BytecodeEmitter.FunctionPlan functionPlan, final int functionIndex, @@ -165,7 +202,7 @@ public class IRVMValidator { IRVMValidationErrorCode.MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT, "ret stack height mismatch. expected=%d actual=%d".formatted(function.returnSlots(), outHeight), functionIndex, - instrPc); + instrPc).withParameters(java.util.Map.of("expectedHeight", function.returnSlots(), "actualHeight", outHeight)); } enqueueSuccessors( module, @@ -284,7 +321,7 @@ public class IRVMValidator { IRVMValidationErrorCode.MARSHAL_VERIFY_PRECHECK_STACK_MISMATCH_JOIN, "stack height mismatch at join. existing=%d new=%d".formatted(existing, newHeight), functionIndex, - pc); + pc).withParameters(java.util.Map.of("existingHeight", existing, "incomingHeight", newHeight)); } } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/LowerToIRVMService.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/LowerToIRVMService.java index 75b133b5..feac5979 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/LowerToIRVMService.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/LowerToIRVMService.java @@ -7,6 +7,7 @@ import p.studio.compiler.models.IRBackendExecutableFunction; import p.studio.compiler.models.IRSyntheticCallableKind; import p.studio.compiler.models.IRHiddenGlobalKind; import p.studio.compiler.source.Span; +import p.studio.compiler.source.diagnostics.SourceAttribution; import p.studio.compiler.source.identifiers.CallableId; import p.studio.compiler.source.identifiers.ModuleId; import p.studio.compiler.source.tables.ModuleReference; @@ -64,6 +65,9 @@ public class LowerToIRVMService { final var fn = ordered.get(i); if (fn.metadata() == null) throw new IllegalArgumentException("typed function metadata required: " + fn.callableName()); final var parameterSlots = registry.parameterSlots(fn.metadata().signature()); + final var synthetic = backend.getSyntheticFunctions().stream().filter(candidate -> + candidate.moduleId().equals(fn.moduleId()) && candidate.callableName().equals(fn.callableName())) + .findFirst(); final var resultSlots = registry.resultSlots(fn.metadata().signature()); final var instructions = new ArrayList(fn.instructions().size()); final var operations = new ArrayList(fn.instructions().size()); @@ -71,6 +75,7 @@ public class LowerToIRVMService { final var jumpPatches = new ArrayList(); var functionPc = 0; for (final var instr : fn.instructions()) { + final var firstOperation = operations.size(); final var sourceSpan = toBytecodeSpan(fn.fileId().getId(), instr.span()); switch (instr.kind()) { case REGISTRY -> { @@ -429,6 +434,11 @@ public class LowerToIRVMService { functionPc += IRVMOp.JMP_IF_FALSE.immediateSize() + 2; } } + final var origin = synthetic.isPresent() + ? SourceAttribution.generated(synthetic.get().origin().span()) : SourceAttribution.source(instr.span()); + for (var opIndex = firstOperation; opIndex < operations.size(); opIndex++) { + operations.set(opIndex, operations.get(opIndex).withAttribution(origin)); + } } for (final var patch : jumpPatches) { final var targetPc = labelToPc.get(patch.targetLabel()); @@ -449,7 +459,7 @@ public class LowerToIRVMService { } else { throw new IllegalStateException("unexpected jump op: " + patch.op().name()); } - operations.set(patch.operationIndex(), operation); + operations.set(patch.operationIndex(), operation.withAttribution(operations.get(patch.operationIndex()).attribution())); } loweredFunctions.add(new IRVMFunction( fn.callableName(), @@ -464,7 +474,9 @@ public class LowerToIRVMService { fn.localSlots(), resultSlots, fn.maxStackSlots(), - ReadOnlyList.wrap(operations), fn.metadata())); + ReadOnlyList.wrap(operations), fn.metadata(), + fn.moduleId().isNone() || moduleSortKey(backend, fn.moduleId()).isBlank() ? null : moduleSortKey(backend, fn.moduleId()), + synthetic.isPresent() ? SourceAttribution.generated(synthetic.get().origin().span()) : SourceAttribution.function(fn.span()), fn.semanticFacts())); } final var imageImplementations = new ArrayList(); @@ -485,7 +497,11 @@ public class LowerToIRVMService { ReadOnlyList.wrap(constPool), ReadOnlyList.empty(), ReadOnlyList.wrap(emissionFunctions), imageRegistry)); - validator.validate(program, false); + try { + validator.validate(program, false); + } catch (IRVMValidationException failure) { + throw failure.at("BACKEND_LOWER_TO_IRVM", "lowering-output", null); + } return program; } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/OptimizeIRVMService.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/OptimizeIRVMService.java index 7e835cdc..c4cf278f 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/OptimizeIRVMService.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/irvm/OptimizeIRVMService.java @@ -41,7 +41,7 @@ public class OptimizeIRVMService { } var current = program; final var executedPassNames = new ArrayList(); - validator.validate(current, false); + validateAt(current, "optimization-input", null); for (final var pass : passes) { if (pass == null || !pass.enabled()) { continue; @@ -52,7 +52,7 @@ public class OptimizeIRVMService { if (!beforeProfile.equals(current.module().vmProfile())) { throw new IllegalArgumentException("pass changed vm profile: " + pass.name()); } - validator.validate(current, false); + validateAt(current, "optimization-pass-output", pass.name()); } lastExecutedPassNames = List.copyOf(executedPassNames); return current; @@ -62,6 +62,14 @@ public class OptimizeIRVMService { return lastExecutedPassNames; } + private void validateAt(IRVMProgram program, String point, String pass) { + try { + validator.validate(program, false); + } catch (IRVMValidationException failure) { + throw failure.at("BACKEND_OPTIMIZE_IRVM", point, pass); + } + } + static IRVMPass unreachableInstructionEliminationPass() { return new UnreachableInstructionEliminationPass(); } @@ -225,7 +233,7 @@ public class OptimizeIRVMService { functionPlan.localSlots(), functionPlan.returnSlots(), functionPlan.maxStackSlots(), - ReadOnlyList.wrap(newOperations), functionPlan.metadata()); + ReadOnlyList.wrap(newOperations), functionPlan.metadata(), functionPlan.moduleName(), functionPlan.attribution(), functionPlan.semanticFacts()); return new FunctionRewrite(rewrittenFunction, rewrittenPlan, changed); } @@ -256,13 +264,13 @@ public class OptimizeIRVMService { final int targetPc) { final var span = operation == null ? null : operation.span(); if (jumpOp == IRVMOp.JMP) { - return BytecodeEmitter.Operation.jmp(targetPc, span); + return BytecodeEmitter.Operation.jmp(targetPc, span).withAttribution(operation.attribution()); } if (jumpOp == IRVMOp.JMP_IF_TRUE) { - return BytecodeEmitter.Operation.jmpIfTrue(targetPc, span); + return BytecodeEmitter.Operation.jmpIfTrue(targetPc, span).withAttribution(operation.attribution()); } if (jumpOp == IRVMOp.JMP_IF_FALSE) { - return BytecodeEmitter.Operation.jmpIfFalse(targetPc, span); + return BytecodeEmitter.Operation.jmpIfFalse(targetPc, span).withAttribution(operation.attribution()); } throw new IllegalArgumentException("unexpected jump op for remap: " + jumpOp.name()); } @@ -390,7 +398,7 @@ public class OptimizeIRVMService { functionPlan.localSlots(), functionPlan.returnSlots(), functionPlan.maxStackSlots(), - ReadOnlyList.wrap(operations), functionPlan.metadata()), + ReadOnlyList.wrap(operations), functionPlan.metadata(), functionPlan.moduleName(), functionPlan.attribution(), functionPlan.semanticFacts()), true); } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java index bc665804..0dd4ff9f 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/BuilderPipelineService.java @@ -3,6 +3,9 @@ package p.studio.compiler.workspaces; import lombok.extern.slf4j.Slf4j; import p.studio.compiler.exceptions.BuildException; import p.studio.compiler.messages.BuildingIssue; +import p.studio.compiler.source.diagnostics.DiagnosticContext; +import p.studio.compiler.source.diagnostics.FailureKind; +import p.studio.compiler.source.diagnostics.SourceReference; import p.studio.compiler.models.AnalysisSnapshot; import p.studio.compiler.models.BuildResult; import p.studio.compiler.models.BuilderPipelineContext; @@ -72,7 +75,10 @@ public class BuilderPipelineService { final LogAggregator logs) { final var analysisSnapshot = this.analyze(ctx, logs); if (hasErrors(analysisSnapshot.diagnostics())) { - throw new BuildException("issues found on pipeline stage: analyze"); + var stage = analysisSnapshot.diagnostics().stream().filter(BuildingIssue::isError) + .map(issue -> issue.getContext().stageId()).filter(java.util.Objects::nonNull) + .findFirst().orElse("analyze"); + throw failure("issues found on pipeline stage: analyze", null, analysisSnapshot.diagnostics(), stage, ctx); } final var diagnostics = run(ctx, logs, compile, new ArrayList<>(analysisSnapshot.diagnostics()), true); return new CompileResult( @@ -102,20 +108,42 @@ public class BuilderPipelineService { final List diagnostics, final boolean failFast) { for (final var builderPipelineStage : stages) { - final var issues = builderPipelineStage.run(ctx, logs); - diagnostics.addAll(issues.asCollection()); + final p.studio.compiler.messages.BuildingIssueSink issues; + var stage = builderPipelineStage.getClass().getSimpleName(); + try { + issues = builderPipelineStage.run(ctx, logs); + } catch (RuntimeException exception) { + if (exception instanceof BuildException build && build.hasDiagnosticPayload()) { + diagnostics.addAll(build.getDiagnostics()); + } else { + // The boundary knows an operation failed, but does not guess its cause from exception text. + diagnostics.add(BuildingIssue.builder().error(true).code("COMPILER_STAGE_OPERATION_FAILURE") + .phase(stage).message(exception.getMessage()).exception(exception) + .context(DiagnosticContext.unknown().withStage(stage).withFailureKind(FailureKind.UNKNOWN)).build()); + } + throw failure("pipeline operation failed on stage: " + stage, exception, diagnostics, stage, ctx); + } + for (var issue : issues.asCollection()) { + diagnostics.add(issue.getContext().stageId() == null + ? issue.toBuilder().context(issue.getContext().withStage(stage)).build() : issue); + } printIssues(issues, logs); if (issues.hasErrors()) { if (failFast) { - throw new BuildException("issues found on pipeline stage: " + builderPipelineStage.getClass().getSimpleName()); + throw failure("issues found on pipeline stage: " + stage, null, diagnostics, stage, ctx); } - break; + return List.copyOf(diagnostics); } } - logs.using(log).info("builder pipeline completed successfully"); + logs.using(log).info("builder pipeline stage group completed successfully"); return List.copyOf(diagnostics); } + private BuildException failure(String message, Throwable cause, List diagnostics, + String stage, BuilderPipelineContext ctx) { + return new BuildException(message, cause, diagnostics, stage, SourceReference.snapshot(ctx.fileTable)); + } + private boolean hasErrors(final List diagnostics) { for (final var diagnostic : diagnostics) { if (diagnostic.isError()) { diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.java index 60e049fa..ea765700 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/EmitBytecodePipelineStage.java @@ -1,5 +1,6 @@ package p.studio.compiler.workspaces.stages; +import p.studio.compiler.source.diagnostics.FailureKind; import lombok.extern.slf4j.Slf4j; import p.studio.compiler.backend.bytecode.BytecodeEmitter; import p.studio.compiler.backend.bytecode.BytecodeMarshalingException; @@ -55,6 +56,9 @@ public class EmitBytecodePipelineStage implements PipelineStage { .error(true) .phase("BACKEND_EMIT_BYTECODE") .code(e.code().name()) + .context(e.context().withStage("BACKEND_EMIT_BYTECODE") + .withFailureKind(e.context().failureKind() == FailureKind.UNKNOWN + ? FailureKind.INTERNAL_FAILURE : e.context().failureKind())) .message("[BUILD]: bytecode marshaling failed: " + e.getMessage()) .exception(e)); } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java index cd4f6d29..991137a7 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java @@ -1,5 +1,6 @@ package p.studio.compiler.workspaces.stages; +import p.studio.compiler.source.diagnostics.FailureKind; import lombok.extern.slf4j.Slf4j; import p.studio.compiler.FrontendRegistryService; import p.studio.compiler.messages.BuildingIssueSink; @@ -38,33 +39,21 @@ public class FrontendPhasePipelineStage implements PipelineStage { surface); final var diagnostics = DiagnosticSink.empty(); ctx.irBackend = provider.compiler().compile(frontendPhaseContext, diagnostics, logs, issues); - logs.using(log).debug("Frontend phase completed successfully!"); adaptDiagnostics(diagnostics, issues); + if (!issues.hasErrors()) logs.using(log).debug("Frontend phase completed successfully!"); return issues; } - private void adaptDiagnostics( + void adaptDiagnostics( final DiagnosticSink diagnostics, final BuildingIssueSink issues) { for (final var diagnostic : diagnostics) { - final var span = diagnostic.getSpan(); - issues.report(builder -> builder - .error(diagnostic.getSeverity().isError()) - .phase(diagnostic.getPhase().id()) - .code(diagnostic.getCode()) - .fileId(span.getFileId().isNone() ? null : span.getFileId().getId()) - .start(safeToInt(span.getStart())) - .end(safeToInt(span.getEnd())) - .message("[BUILD] %s :: %s @ %s:[%d,%d)".formatted( - diagnostic.getCode(), - diagnostic.getMessage(), - span.getFileId(), - span.getStart(), - span.getEnd()))); + var context = diagnostic.getContext().withStage("FrontendPhasePipelineStage"); + if (diagnostic.getSeverity().isError() + && context.failureKind() == FailureKind.UNKNOWN) { + context = context.withFailureKind(FailureKind.PROGRAM_REJECTION); + } + issues.add(p.studio.compiler.messages.BuildingIssue.fromDiagnostic(diagnostic).toBuilder().context(context).build()); } } - - private int safeToInt(final long value) { - return value > Integer.MAX_VALUE ? Integer.MAX_VALUE : (int) Math.max(0L, value); - } } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.java index afaa9642..4e96e10a 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStage.java @@ -1,5 +1,7 @@ package p.studio.compiler.workspaces.stages; +import p.studio.compiler.source.diagnostics.DiagnosticContext; +import p.studio.compiler.source.diagnostics.FailureKind; import lombok.extern.slf4j.Slf4j; import p.studio.compiler.backend.irvm.IRVMLoweringException; import p.studio.compiler.backend.irvm.IRVMValidationException; @@ -28,6 +30,9 @@ public class LowerToIRVMPipelineStage implements PipelineStage { .report(builder -> builder .error(true) .phase("BACKEND_LOWER_TO_IRVM") + .context(DiagnosticContext.unknown() + .withStage("BACKEND_LOWER_TO_IRVM") + .withFailureKind(FailureKind.INTERNAL_FAILURE)) .code("MARSHAL_FORMAT_STAGE_INPUT_MISSING") .message("[BUILD]: IRBackend is missing before LowerToIRVM stage")); } @@ -38,6 +43,9 @@ public class LowerToIRVMPipelineStage implements PipelineStage { .report(builder -> builder .error(true) .phase("BACKEND_LOWER_TO_IRVM") + .context(DiagnosticContext.unknown() + .withStage("BACKEND_LOWER_TO_IRVM") + .withFailureKind(FailureKind.INTERNAL_FAILURE)) .code(e.code().name()) .fileId(e.fileId()) .start(e.start()) @@ -45,18 +53,14 @@ public class LowerToIRVMPipelineStage implements PipelineStage { .message("[BUILD]: lower to irvm failed: " + e.getMessage()) .exception(e)); } catch (IRVMValidationException e) { - return BuildingIssueSink.empty() - .report(builder -> builder - .error(true) - .phase("BACKEND_LOWER_TO_IRVM") - .code(e.code().name()) - .functionIndex(e.functionIndex()) - .pc(e.pc()) - .message("[BUILD]: lower to irvm validation failed: " + e.getMessage()) - .exception(e)); + return BuildingIssueSink.empty().add(e.toIssue("BACKEND_LOWER_TO_IRVM", + "[BUILD]: lower to irvm validation failed: " + e.getMessage())); } catch (IllegalArgumentException e) { return BuildingIssueSink.empty().report(builder -> builder.error(true) - .phase("BACKEND_LOWER_TO_IRVM").code("LOWER_IRVM_INVALID_TYPED_REGISTRY") + .phase("BACKEND_LOWER_TO_IRVM") + .context(DiagnosticContext.unknown() + .withStage("BACKEND_LOWER_TO_IRVM") + .withFailureKind(FailureKind.INTERNAL_FAILURE)).code("LOWER_IRVM_INVALID_TYPED_REGISTRY") .message("[BUILD]: invalid common typed IR: " + e.getMessage()).exception(e)); } return BuildingIssueSink.empty(); diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.java index f3682e0a..438bf2dd 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/OptimizeIRVMPipelineStage.java @@ -1,5 +1,7 @@ package p.studio.compiler.workspaces.stages; +import p.studio.compiler.source.diagnostics.DiagnosticContext; +import p.studio.compiler.source.diagnostics.FailureKind; import lombok.extern.slf4j.Slf4j; import p.studio.compiler.backend.irvm.IRVMValidationException; import p.studio.compiler.backend.irvm.OptimizeIRVMService; @@ -33,20 +35,16 @@ public class OptimizeIRVMPipelineStage implements PipelineStage { try { ctx.optimizedIrvm = optimizeIRVMService.optimize(ctx.irvm); } catch (IRVMValidationException e) { - return BuildingIssueSink.empty() - .report(builder -> builder - .error(true) - .phase("BACKEND_OPTIMIZE_IRVM") - .code(e.code().name()) - .functionIndex(e.functionIndex()) - .pc(e.pc()) - .message("[BUILD]: optimize irvm validation failed: " + e.getMessage()) - .exception(e)); + return BuildingIssueSink.empty().add(e.toIssue("BACKEND_OPTIMIZE_IRVM", + "[BUILD]: optimize irvm validation failed: " + e.getMessage())); } catch (RuntimeException e) { return BuildingIssueSink.empty() .report(builder -> builder .error(true) .phase("BACKEND_OPTIMIZE_IRVM") + .context(DiagnosticContext.unknown() + .withStage("BACKEND_OPTIMIZE_IRVM") + .withFailureKind(FailureKind.INTERNAL_FAILURE)) .code("MARSHAL_VERIFY_PRECHECK_OPTIMIZE_RUNTIME_FAILURE") .message("[BUILD]: optimize irvm failed: " + e.getMessage()) .exception(e)); diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.java index e8ee069e..94171731 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStage.java @@ -1,5 +1,6 @@ package p.studio.compiler.workspaces.stages; +import p.studio.compiler.source.diagnostics.FailureKind; import lombok.extern.slf4j.Slf4j; import p.studio.compiler.backend.bytecode.BytecodeMarshalingException; import p.studio.compiler.backend.bytecode.BytecodePreloadVerifierService; @@ -39,6 +40,9 @@ public class VerifyBytecodePipelineStage implements PipelineStage { .error(true) .phase("BACKEND_VERIFY_PRELOAD") .code(e.code().name()) + .context(e.context().withStage("BACKEND_VERIFY_PRELOAD") + .withFailureKind(e.context().failureKind() == FailureKind.UNKNOWN + ? FailureKind.INTERNAL_FAILURE : e.context().failureKind())) .message("[BUILD]: preload verifier failed: " + e.getMessage()) .exception(e)); } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.java b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.java index 2b8813ce..71477493 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStage.java @@ -1,5 +1,7 @@ package p.studio.compiler.workspaces.stages; +import p.studio.compiler.source.diagnostics.DiagnosticContext; +import p.studio.compiler.source.diagnostics.FailureKind; import lombok.extern.slf4j.Slf4j; import p.studio.compiler.messages.BuildingIssueSink; import p.studio.compiler.models.BuilderPipelineContext; @@ -55,6 +57,9 @@ public class WriteBytecodeArtifactPipelineStage implements PipelineStage { .error(true) .phase("BACKEND_WRITE_ARTIFACT") .code("MARSHAL_ARTIFACT_WRITE_FAILED") + .context(new DiagnosticContext("BACKEND_WRITE_ARTIFACT", null, null, + FailureKind.INFRASTRUCTURE_FAILURE, + java.util.Map.of("outputPath", outputPath.toString()))) .message("[BUILD]: failed to write bytecode artifact: " + outputPath) .exception(e)); } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierServiceTest.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierServiceTest.java index f56c15f9..3be9db5b 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierServiceTest.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierServiceTest.java @@ -10,6 +10,19 @@ import static org.junit.jupiter.api.Assertions.*; class BytecodePreloadVerifierServiceTest { + @Test + void resourceGuardsMustKeepLimitCategoryAndValuesWithoutMessageParsing() { + for (var resource : java.util.List.of("work", "scratch")) { + var failure = assertThrows(BytecodeMarshalingException.class, + () -> BytecodePreloadVerifierService.checkResourceLimit(11, 10, resource)); + assertEquals(BytecodeMarshalingErrorCode.MARSHAL_VERIFY_REGISTRY_INVALID, failure.code()); + assertEquals(p.studio.compiler.source.diagnostics.FailureKind.VERIFICATION_LIMIT, failure.context().failureKind()); + assertEquals("compiler.verify.resource-limit", failure.context().enrichment().get("checkId")); + assertEquals(java.util.Map.of("resource", resource, "actual", 11L, "limit", 10L), failure.context().parameters()); + assertDoesNotThrow(() -> BytecodePreloadVerifierService.checkResourceLimit(10, 10, resource)); + } + } + private final BytecodePreloadVerifierService service = new BytecodePreloadVerifierService(); @Test diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/IRVMAttributionTest.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/IRVMAttributionTest.java new file mode 100644 index 00000000..c8aef7c9 --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/IRVMAttributionTest.java @@ -0,0 +1,139 @@ +package p.studio.compiler.backend.irvm; + +import org.junit.jupiter.api.Test; +import p.studio.compiler.backend.bytecode.BytecodeEmitter; +import p.studio.compiler.backend.bytecode.BytecodeEmitter.Operation; +import p.studio.compiler.backend.bytecode.BytecodeModule; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.identifiers.FileId; +import p.studio.compiler.source.diagnostics.*; +import p.studio.utilities.structures.ReadOnlyList; + +import java.util.List; +import java.util.Map; + +import static org.junit.jupiter.api.Assertions.*; + +class IRVMAttributionTest { + static final Span SOURCE = new Span(new FileId(7), 0, 9); + + @Test + void retMustRetainOriginCoordinatesAndStructuredHeights() { + var failure = reject(program(1, List.of(Operation.ret().withAttribution(SourceAttribution.source(SOURCE))))); + assertEquals(IRVMValidationErrorCode.MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT, failure.code()); + assertEquals("compiler.verify.ret-stack-height", failure.context().enrichment().get("checkId")); + assertEquals(Map.of("expectedHeight", 1, "actualHeight", 0), failure.context().parameters()); + assertSame(SOURCE, failure.context().attribution().span()); + assertEquals("detection", failure.context().attribution().role()); + assertEquals("irvm-function", failure.context().verification().pcSpace()); + assertEquals("byte", failure.context().verification().pcUnit()); + assertEquals(0, failure.pc()); + assertEquals("probe", failure.context().verification().functionName()); + assertEquals("fixture:main", failure.context().verification().moduleName()); + assertEquals(FailureKind.INTERNAL_FAILURE, failure.context().failureKind()); + var issue = failure.at("BACKEND_LOWER_TO_IRVM", "lowering-output", null).toIssue("BACKEND_LOWER_TO_IRVM", failure.getMessage()); + assertEquals(7, issue.getFileId()); + assertEquals(0, issue.getStart()); + assertSame(SOURCE, issue.toDiagnostic().getSpan()); + assertEquals("lowering-output", issue.getContext().verification().validationPoint()); + } + + @Test + void joinMustPointAtDestinationAndRetainConflictingHeights() { + var failure = reject(program(0, List.of(Operation.pushI32(1, null), Operation.jmpIfTrue(18, null), + Operation.pushI32(2, null), Operation.ret().withAttribution(SourceAttribution.source(SOURCE))))); + assertEquals(IRVMValidationErrorCode.MARSHAL_VERIFY_PRECHECK_STACK_MISMATCH_JOIN, failure.code()); + assertEquals("compiler.verify.join-stack-height", failure.context().enrichment().get("checkId")); + assertEquals(18, failure.pc()); + assertEquals(Map.of("existingHeight", 0, "incomingHeight", 1), failure.context().parameters()); + assertSame(SOURCE, failure.context().attribution().span()); + assertTrue(failure.related().stream().noneMatch(location -> location.getRelation().equals("cause"))); + } + + @Test + void generatedAndMissingOriginsMustBeExplicit() { + for (var origin : List.of(SourceAttribution.generated(SOURCE), SourceAttribution.generated(null), + SourceAttribution.unknown("no-source-span"), SourceAttribution.unknown("unknown"))) { + var failure = reject(program(1, List.of(Operation.ret().withAttribution(origin)))); + assertEquals(origin, failure.context().attribution()); + assertEquals(0, failure.pc()); + assertEquals("probe", failure.context().verification().functionName()); + } + } + + @Test + void functionContextMustNotReplaceMissingInstructionSpan() { + var failure = reject(program(1, List.of(Operation.ret()))); + assertNull(failure.context().attribution().span()); + assertEquals("no-source-span", failure.context().attribution().absenceReason()); + assertEquals("function", failure.related().getFirst().getRelation()); + assertEquals("context", failure.related().getFirst().getRole()); + assertSame(SOURCE, failure.related().getFirst().getSpan()); + } + + @Test + void moduleOnlyValidationMustPreserveFailureWithoutInventingSource() { + var p = program(1, List.of(Operation.ret().withAttribution(SourceAttribution.source(SOURCE)))); + var failure = assertThrows(IRVMValidationException.class, () -> new IRVMValidator().validate(p.module(), false)); + assertEquals("no-emission-plan", failure.context().attribution().absenceReason()); + assertNull(failure.context().attribution().span()); + assertEquals(0, failure.pc()); + assertEquals("probe", failure.context().verification().functionName()); + var withoutPlan = reject(new IRVMProgram(p.module())); + assertEquals("no-emission-plan", withoutPlan.context().attribution().absenceReason()); + } + + @Test + void optimizationInputMustHaveItsOwnValidationPoint() { + var failure = assertThrows(IRVMValidationException.class, + () -> new OptimizeIRVMService().optimize(program(1, List.of(Operation.ret())))); + assertEquals("optimization-input", failure.context().verification().validationPoint()); + assertNull(failure.context().verification().passName()); + } + + @Test + void failingPassMustUseShiftedOutputAndSurvivingOrigin() { + var origin = SourceAttribution.generated(SOURCE); + var input = program(0, List.of(Operation.jmp(6, null), Operation.ret().withAttribution(origin))); + var simplify = OptimizeIRVMService.simplifyJumpToNextPcPass(); + var corrupt = new OptimizeIRVMService.IRVMPass() { + public String name() { return "ControlledRetMismatch"; } + public IRVMProgram apply(IRVMProgram checked) { + return program(1, checked.emissionPlan().functions().getFirst().operations().asCollection().stream().toList()); + } + }; + var failure = assertThrows(IRVMValidationException.class, + () -> new OptimizeIRVMService(new IRVMValidator(), List.of(simplify, corrupt)).optimize(input)); + assertEquals(0, failure.pc(), "RET moved from PC 6 to PC 0"); + assertEquals(origin, failure.context().attribution()); + assertEquals("optimization-pass-output", failure.context().verification().validationPoint()); + assertEquals("ControlledRetMismatch", failure.context().verification().passName()); + } + + @Test + void jumpRemappingMustRetainGeneratedOriginAndFunctionContext() { + var origin = SourceAttribution.generated(SOURCE); + var input = program(0, List.of(Operation.jmp(12, null).withAttribution(origin), + Operation.jmp(18, null), Operation.jmp(18, null), Operation.ret())); + var output = OptimizeIRVMService.normalizeRedundantJumpTargetsPass().apply(input); + var plan = output.emissionPlan().functions().getFirst(); + assertEquals(18, plan.operations().getFirst().immediate()); + assertEquals(origin, plan.operations().getFirst().attribution()); + assertEquals("fixture:main", plan.moduleName()); + assertEquals("function", plan.attribution().locationKind()); + assertDoesNotThrow(() -> new IRVMValidator().validate(output, false)); + } + + static IRVMProgram program(int resultSlots, List operations) { + var plan = new BytecodeEmitter.FunctionPlan("probe", 0, 0, resultSlots, 2, + ReadOnlyList.wrap(operations), resultSlots == 0 + ? p.studio.compiler.models.registry.IRRegistry.FunctionMetadata.empty() : null, + "fixture:main", SourceAttribution.function(SOURCE)); + return new IRVMProgram(false, new BytecodeEmitter.EmissionPlan(0, ReadOnlyList.empty(), + ReadOnlyList.empty(), ReadOnlyList.from(plan))); + } + + static IRVMValidationException reject(IRVMProgram program) { + return assertThrows(IRVMValidationException.class, () -> new IRVMValidator().validate(program, false)); + } +} diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/PbsFacadeDiagnosticTest.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/PbsFacadeDiagnosticTest.java new file mode 100644 index 00000000..4f6bf3c4 --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/PbsFacadeDiagnosticTest.java @@ -0,0 +1,65 @@ +package p.studio.compiler.integration; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import p.studio.compiler.exceptions.BuildException; +import p.studio.compiler.messages.BuilderPipelineConfig; +import p.studio.compiler.models.BuilderPipelineContext; +import p.studio.compiler.source.diagnostics.FailureKind; +import p.studio.compiler.workspaces.BuilderPipelineService; +import p.studio.utilities.logs.LogAggregator; + +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.ArrayList; +import java.util.List; + +import static org.junit.jupiter.api.Assertions.*; + +/** Exact source fixtures from AGD-0113: this qualifies diagnostics, not the PBS fix. */ +class PbsFacadeDiagnosticTest { + @TempDir Path root; + + @Test + void realPbsRejectionMustKeepStructuredSourceAndNoFalseSuccess() throws Exception { + var project = writeProject("F3-file-private"); + var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, project.toString())); + var logs = new ArrayList(); + var failure = assertThrows(BuildException.class, + () -> BuilderPipelineService.INSTANCE.compile(ctx, LogAggregator.with(logs::add))); + assertTrue(failure.hasDiagnosticPayload()); + var issue = failure.getDiagnostics().stream().filter(item -> + "E_SEM_APPLY_NON_CALLABLE_TARGET".equals(item.getCode())).findFirst().orElseThrow(); + assertEquals(FailureKind.PROGRAM_REJECTION, issue.getContext().failureKind()); + assertEquals("FrontendPhasePipelineStage", failure.getFailedStage()); + assertNotNull(issue.getStart()); + assertTrue(issue.getEnd() > issue.getStart()); + assertEquals(project.resolve("src/main.pbs").toRealPath().toString(), + failure.getSourceReferences().get(issue.getFileId()).canonicalPath()); + assertNull(issue.getPc()); + assertTrue(logs.stream().noneMatch(line -> line.contains("builder pipeline") && line.contains("completed successfully"))); + assertTrue(logs.stream().noneMatch(line -> line.contains("Frontend phase completed successfully"))); + } + + @Test + void materializedControlMustStillCompileThroughPublicFacade() throws Exception { + var project = writeProject("F1-local"); + var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, project.toString())); + var result = BuilderPipelineService.INSTANCE.compile(ctx, LogAggregator.empty()); + assertNotNull(result.bytecodeBytes()); + assertTrue(result.diagnostics().stream().noneMatch(issue -> issue.isError())); + } + + private Path writeProject(String id) throws Exception { + var project = root.resolve(id); + for (var relative : id.equals("F3-file-private") ? List.of("prometeu.json", "src/mod.barrel", "src/main.pbs", "src/helpers.pbs") : List.of("prometeu.json", "src/mod.barrel", "src/main.pbs")) { + var file = project.resolve(relative); + Files.createDirectories(file.getParent()); + try (var source = getClass().getResourceAsStream("/production-diagnostics/" + id + "/" + relative)) { + assertNotNull(source); + Files.copy(source, file); + } + } + return project; + } +} diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/SyntheticFrontendPipelineTest.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/SyntheticFrontendPipelineTest.java index 058ee886..3373271f 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/SyntheticFrontendPipelineTest.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/SyntheticFrontendPipelineTest.java @@ -25,6 +25,31 @@ class SyntheticFrontendPipelineTest { @TempDir Path projectRoot; + @Test + void invalidCommonIrMustReachFacadeWithSourceWithoutPbs() throws IOException { + writeSyntheticProject(); + Files.writeString(projectRoot.resolve("src/probe.synth"), "x"); + var provider = new SyntheticFrontendProvider(true); + FrontendRegistryService.register(provider); + try { + var context = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, projectRoot.toString())); + var failure = org.junit.jupiter.api.Assertions.assertThrows(p.studio.compiler.exceptions.BuildException.class, + () -> BuilderPipelineService.INSTANCE.compile(context, LogAggregator.empty())); + var issue = failure.getDiagnostics().stream().filter(item -> + "MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT".equals(item.getCode())).findFirst().orElseThrow(); + assertTrue(failure.hasDiagnosticPayload()); + assertEquals("lowering-output", issue.getContext().verification().validationPoint()); + assertEquals(p.studio.compiler.source.diagnostics.FailureKind.INTERNAL_FAILURE, issue.getContext().failureKind()); + assertEquals(0, issue.getStart()); + assertEquals(projectRoot.resolve("src/probe.synth").toRealPath().toString(), + failure.getSourceReferences().get(issue.getFileId()).canonicalPath()); + assertTrue(noPbsSources(projectRoot)); + org.junit.jupiter.api.Assertions.assertNull(context.irvm); + } finally { + FrontendRegistryService.unregister(SyntheticFrontendProvider.LANGUAGE_ID); + } + } + @Test void compileMustEmitVerifiedBytecodeWithoutPbs() throws IOException { writeSyntheticProject(); diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendPhaseService.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendPhaseService.java index a29d751d..dd144fcc 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendPhaseService.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendPhaseService.java @@ -23,6 +23,11 @@ import java.util.concurrent.atomic.AtomicBoolean; public final class SyntheticFrontendPhaseService implements FrontendPhaseService { private final AtomicBoolean invoked = new AtomicBoolean(); + private final boolean invalidRet; + + public SyntheticFrontendPhaseService() { this(false); } + + public SyntheticFrontendPhaseService(boolean invalidRet) { this.invalidRet = invalidRet; } public boolean invoked() { return invoked.get(); @@ -40,6 +45,11 @@ public final class SyntheticFrontendPhaseService implements FrontendPhaseService final var fileId = new FileId(0); final var callableId = new CallableId(0); final var span = new Span(fileId, 0, 1); + var instructions = new java.util.ArrayList(); + if (invalidRet) instructions.add(new IRBackendExecutableFunction.Instruction( + IRBackendExecutableFunction.InstructionKind.PUSH_I32, ModuleId.none(), "", null, null, null, "1", null, null, null, span)); + instructions.add(new IRBackendExecutableFunction.Instruction(IRBackendExecutableFunction.InstructionKind.RET, + "", null, null, span)); final var frame = new IRBackendExecutableFunction( fileId, moduleId, @@ -51,12 +61,7 @@ public final class SyntheticFrontendPhaseService implements FrontendPhaseService 0, 0, 1, - ReadOnlyList.from(new IRBackendExecutableFunction.Instruction( - IRBackendExecutableFunction.InstructionKind.RET, - "", - null, - null, - span)), + ReadOnlyList.wrap(instructions), span); final var frameRoot = new IRLifecycleCallableReference( moduleId, diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendProvider.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendProvider.java index 89f33b2e..b82a22c9 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendProvider.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendProvider.java @@ -13,7 +13,11 @@ public final class SyntheticFrontendProvider implements FrontendProvider { .allowedExtensions(ReadOnlySet.from("synth")) .sourceRoots(ReadOnlySet.from("src")) .build(); - private final SyntheticFrontendPhaseService compiler = new SyntheticFrontendPhaseService(); + private final SyntheticFrontendPhaseService compiler; + + public SyntheticFrontendProvider() { this(false); } + + public SyntheticFrontendProvider(boolean invalidRet) { compiler = new SyntheticFrontendPhaseService(invalidRet); } @Override public FrontendSpec specification() { diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/CompilerFailurePayloadTest.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/CompilerFailurePayloadTest.java new file mode 100644 index 00000000..04505f27 --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/CompilerFailurePayloadTest.java @@ -0,0 +1,90 @@ +package p.studio.compiler.workspaces; + +import org.junit.jupiter.api.Test; +import p.studio.AppMode; +import p.studio.compiler.exceptions.BuildException; +import p.studio.compiler.messages.*; +import p.studio.compiler.models.*; +import p.studio.compiler.source.diagnostics.*; +import p.studio.compiler.source.identifiers.ProjectId; +import p.studio.compiler.source.tables.FileTable; +import p.studio.utilities.logs.LogAggregator; + +import java.nio.file.Path; +import java.util.ArrayList; +import java.util.List; + +import static org.junit.jupiter.api.Assertions.*; + +class CompilerFailurePayloadTest { + @Test + void rejectedAnalysisMustReturnIssuesWithoutSuccessOrLaterStages() { + var log = new ArrayList(); + var pipeline = pipeline(List.of(new Rejected()), List.of((ctx, logs) -> fail("compile must not run")), List.of()); + var snapshot = pipeline.analyze(context("left"), LogAggregator.with(log::add)); + assertEquals("E_SEM_FIXTURE", snapshot.diagnostics().getFirst().getCode()); + assertEquals("Rejected", snapshot.diagnostics().getFirst().getContext().stageId()); + assertTrue(log.stream().noneMatch(line -> line.contains("completed successfully"))); + } + + @Test + void compileMustPreserveAnalysisDiagnosticsAndIndependentSourceIdentities() { + var pipeline = pipeline(List.of(new Rejected()), List.of((ctx, logs) -> fail("compile must not run")), List.of()); + var left = context("left"); + var right = context("right"); + var a = assertThrows(BuildException.class, () -> pipeline.compile(left, LogAggregator.empty())); + var b = assertThrows(BuildException.class, () -> pipeline.compile(right, LogAggregator.empty())); + left.fileTable = null; right.fileTable = null; + assertTrue(a.hasDiagnosticPayload()); + assertEquals("Rejected", a.getFailedStage()); + assertEquals("E_SEM_FIXTURE", a.getDiagnostics().getFirst().getCode()); + assertEquals("/left/main.pbs", a.getSourceReferences().get(0).canonicalPath()); + assertEquals("/right/main.pbs", b.getSourceReferences().get(0).canonicalPath()); + assertEquals(FailureKind.PROGRAM_REJECTION, a.getDiagnostics().getFirst().getContext().failureKind()); + } + + @Test + void failFastCompileAndBuildMustPreserveEarlierWarnings() { + PipelineStage warning = (ctx, logs) -> BuildingIssueSink.empty().report(b -> b.code("W_FIXTURE").message("warning")); + var compile = pipeline(List.of(warning), List.of(new Rejected()), List.of((ctx, logs) -> fail("build must not run"))); + var a = assertThrows(BuildException.class, () -> compile.compile(context("compile"), LogAggregator.empty())); + assertEquals(List.of("W_FIXTURE", "E_SEM_FIXTURE"), a.getDiagnostics().stream().map(BuildingIssue::getCode).toList()); + var build = pipeline(List.of(warning), List.of(), List.of(new Rejected(), (ctx, logs) -> fail("later stage must not run"))); + var b = assertThrows(BuildException.class, () -> build.build(context("build"), LogAggregator.empty())); + assertEquals(List.of("W_FIXTURE", "E_SEM_FIXTURE"), b.getDiagnostics().stream().map(BuildingIssue::getCode).toList()); + assertEquals("Rejected", b.getFailedStage()); + } + + @Test + void technicalFailureMustNotBecomeAnEmptyAnalysis() { + var cause = new IllegalStateException("technical fixture"); + var pipeline = pipeline(List.of((ctx, logs) -> { throw cause; }), List.of(), List.of()); + var failure = assertThrows(BuildException.class, () -> pipeline.analyze(context("technical"), LogAggregator.empty())); + assertTrue(failure.hasDiagnosticPayload()); + assertSame(cause, failure.getCause()); + assertEquals("COMPILER_STAGE_OPERATION_FAILURE", failure.getDiagnostics().getFirst().getCode()); + assertEquals(FailureKind.UNKNOWN, failure.getDiagnostics().getFirst().getContext().failureKind()); + } + + private BuilderPipelineService pipeline(List a, List c, List b) { + return new BuilderPipelineService(a, c, b); + } + + private BuilderPipelineContext context(String root) { + var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, ".")); + ctx.resolvedWorkspace = new ResolvedWorkspace(new ProjectId(0), null, 1, AppMode.Game, null, null); + var files = new FileTable(1); + files.register(new SourceHandle(new ProjectId(0), Path.of("main.pbs"), Path.of("/" + root + "/main.pbs"), + 0, 0, path -> () -> { throw new AssertionError("snapshot must not read source"); })); + ctx.fileTable = files; + return ctx; + } + + private static class Rejected implements PipelineStage { + public BuildingIssueSink run(BuilderPipelineContext ctx, LogAggregator logs) { + return BuildingIssueSink.empty().report(b -> b.error(true).code("E_SEM_FIXTURE").phase("static-semantics") + .message("rejected fixture").fileId(0).start(0).end(1) + .context(DiagnosticContext.unknown().withFailureKind(FailureKind.PROGRAM_REJECTION))); + } + } +} diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/FrontendDiagnosticProjectionTest.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/FrontendDiagnosticProjectionTest.java new file mode 100644 index 00000000..b49e0313 --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/FrontendDiagnosticProjectionTest.java @@ -0,0 +1,34 @@ +package p.studio.compiler.workspaces.stages; + +import org.junit.jupiter.api.Test; +import p.studio.compiler.messages.BuildingIssueSink; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.diagnostics.*; +import p.studio.compiler.source.identifiers.FileId; +import java.util.List; +import java.util.Map; +import static org.junit.jupiter.api.Assertions.*; + +class FrontendDiagnosticProjectionTest { + @Test + void frontendProjectionMustRetainMessageRelatedAndParameters() { + var original = new Diagnostic(Severity.Error, "E_SEM_FIXTURE", DiagnosticPhase.STATIC_SEMANTICS, + "fixture", Map.of("receiver", "Probe"), "original message", new Span(new FileId(2), 0, 3), + List.of(new RelatedSpan("declaration", new Span(new FileId(3), 8, 12), "declaration", "context")), + new DiagnosticContext(null, null, null, FailureKind.UNKNOWN, Map.of("arity", 2))); + var diagnostics = DiagnosticSink.empty(); + diagnostics.report(original); + var issues = BuildingIssueSink.empty(); + new FrontendPhasePipelineStage().adaptDiagnostics(diagnostics, issues); + var issue = issues.asCollection().iterator().next(); + assertTrue(issues.hasErrors()); + assertEquals("original message", issue.getMessage()); + assertEquals("static-semantics", issue.getPhase()); + assertEquals(Map.of("receiver", "Probe"), issue.getPlaceholders()); + assertEquals(Map.of("arity", 2), issue.getContext().parameters()); + assertEquals(FailureKind.PROGRAM_REJECTION, issue.getContext().failureKind()); + assertEquals("FrontendPhasePipelineStage", issue.getContext().stageId()); + assertEquals("declaration", issue.toDiagnostic().getRelated().getFirst().getRelation()); + assertNull(issue.getPc()); + } +} diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStageTest.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStageTest.java index afcf903e..9bbed749 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStageTest.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/LowerToIRVMPipelineStageTest.java @@ -17,6 +17,33 @@ import static org.junit.jupiter.api.Assertions.*; class LowerToIRVMPipelineStageTest { + @Test + void validationMustPreserveOriginBeforeIrvmIsAssigned() { + var span = new Span(new FileId(9), 12, 24); + var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, ".")); + ctx.irBackend = IRBackend.builder() + .entryPointModuleId(new p.studio.compiler.source.identifiers.ModuleId(0)) + .modulePool(ReadOnlyList.from(new p.studio.compiler.source.tables.ModuleReference("fixture", ReadOnlyList.from("main")))) + .executableFunctions(ReadOnlyList.from(new IRBackendExecutableFunction( + new FileId(9), new p.studio.compiler.source.identifiers.ModuleId(0), "main", new CallableId(1), + 0, 30, 0, 0, 0, 1, + ReadOnlyList.from(new IRBackendExecutableFunction.Instruction(IRBackendExecutableFunction.InstructionKind.PUSH_I32, + p.studio.compiler.source.identifiers.ModuleId.none(), "", null, null, null, "1", null, null, null, span), + new IRBackendExecutableFunction.Instruction(IRBackendExecutableFunction.InstructionKind.RET, + "", null, null, span)), new Span(new FileId(9), 0, 30)))) + .build(); + var issues = new LowerToIRVMPipelineStage().run(ctx, LogAggregator.empty()); + var issue = issues.asCollection().iterator().next(); + assertNull(ctx.irvm); + assertEquals("MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT", issue.getCode()); + assertEquals(9, issue.getFileId()); + assertEquals(12, issue.getStart()); + assertEquals(6, issue.getPc()); + assertEquals("lowering-output", issue.getContext().verification().validationPoint()); + assertEquals("fixture:main", issue.getContext().verification().moduleName()); + assertEquals(java.util.Map.of("expectedHeight", 0, "actualHeight", 1), issue.getContext().parameters()); + } + @Test void runMustFailWhenIrBackendIsMissing() { final var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, ".")); diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStageTest.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStageTest.java index e1cbda9b..8dbc7e57 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStageTest.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/VerifyBytecodePipelineStageTest.java @@ -15,6 +15,26 @@ import static org.junit.jupiter.api.Assertions.assertTrue; class VerifyBytecodePipelineStageTest { + @Test + void stageMustPreserveTypedVerificationLimit() { + var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, ".")); + ctx.bytecodeModule = new BytecodeModule(0, ReadOnlyList.empty(), ReadOnlyList.empty(), new byte[0], null, + ReadOnlyList.empty(), ReadOnlyList.empty()); + var verifier = new p.studio.compiler.backend.bytecode.BytecodePreloadVerifierService() { + public void verify(BytecodeModule module) { + throw new p.studio.compiler.backend.bytecode.BytecodeMarshalingException( + p.studio.compiler.backend.bytecode.BytecodeMarshalingErrorCode.MARSHAL_VERIFY_REGISTRY_INVALID, + "controlled resource refusal", p.studio.compiler.source.diagnostics.FailureKind.VERIFICATION_LIMIT, + java.util.Map.of("resource", "scratch", "actual", 11L, "limit", 10L)); + } + }; + var issues = new VerifyBytecodePipelineStage(verifier).run(ctx, LogAggregator.empty()); + var issue = issues.asCollection().iterator().next(); + assertEquals(p.studio.compiler.source.diagnostics.FailureKind.VERIFICATION_LIMIT, issue.getContext().failureKind()); + assertEquals("BACKEND_VERIFY_PRELOAD", issue.getContext().stageId()); + assertEquals(11L, issue.getContext().parameters().get("actual")); + } + @Test void runMustFailWhenBytecodeModuleIsMissing() { final var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, ".")); diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStageTest.java b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStageTest.java index 4ded6020..5c586f78 100644 --- a/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStageTest.java +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/workspaces/stages/WriteBytecodeArtifactPipelineStageTest.java @@ -18,6 +18,20 @@ class WriteBytecodeArtifactPipelineStageTest { @TempDir Path tempDir; + @Test + void ioFailureMustBeInfrastructureWithStructuredOutputPath() throws Exception { + var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, ".")); + ctx.rootProjectPathCanon = tempDir; + ctx.bytecodeBytes = new byte[] { 1 }; + Files.writeString(tempDir.resolve("build"), "blocks output directory"); + var issues = new WriteBytecodeArtifactPipelineStage().run(ctx, LogAggregator.empty()); + var issue = issues.asCollection().iterator().next(); + assertEquals("MARSHAL_ARTIFACT_WRITE_FAILED", issue.getCode()); + assertEquals(p.studio.compiler.source.diagnostics.FailureKind.INFRASTRUCTURE_FAILURE, issue.getContext().failureKind()); + assertEquals(tempDir.resolve("build/program.pbx").toString(), issue.getContext().parameters().get("outputPath")); + assertNull(ctx.bytecodeArtifactPath); + } + @Test void runMustFailWhenRootProjectPathIsMissing() { final var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, ".")); diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/prometeu.json b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/prometeu.json new file mode 100644 index 00000000..6120b8e0 --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/prometeu.json @@ -0,0 +1,8 @@ +{ + "name": "caseapp", + "version": "1.0.0", + "language": "pbs", + "stdlib": "1", + "target": "Game", + "dependencies": [] +} diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/main.pbs b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/main.pbs new file mode 100644 index 00000000..dc5bf3ae --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/main.pbs @@ -0,0 +1,4 @@ +declare struct Probe() { fn value() -> int { return 1; } } +declare global data: Probe = new Probe(); +fn check() -> bool { return data.value()!=0; } +[Frame] fn frame() -> void { if !check() { let failure=1/0; } } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/mod.barrel b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/mod.barrel new file mode 100644 index 00000000..95cba2ef --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-direct/src/mod.barrel @@ -0,0 +1 @@ +pub fn frame() -> void; diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/prometeu.json b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/prometeu.json new file mode 100644 index 00000000..6120b8e0 --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/prometeu.json @@ -0,0 +1,8 @@ +{ + "name": "caseapp", + "version": "1.0.0", + "language": "pbs", + "stdlib": "1", + "target": "Game", + "dependencies": [] +} diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/main.pbs b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/main.pbs new file mode 100644 index 00000000..fadd17f5 --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/main.pbs @@ -0,0 +1,4 @@ +declare struct Probe() { fn value() -> int { return 1; } } +declare global data: Probe = new Probe(); +fn check() -> bool { let value=data.value(); return value!=0; } +[Frame] fn frame() -> void { if !check() { let failure=1/0; } } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/mod.barrel b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/mod.barrel new file mode 100644 index 00000000..95cba2ef --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F1-local/src/mod.barrel @@ -0,0 +1 @@ +pub fn frame() -> void; diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/prometeu.json b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/prometeu.json new file mode 100644 index 00000000..6120b8e0 --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/prometeu.json @@ -0,0 +1,8 @@ +{ + "name": "caseapp", + "version": "1.0.0", + "language": "pbs", + "stdlib": "1", + "target": "Game", + "dependencies": [] +} diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/helpers.pbs b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/helpers.pbs new file mode 100644 index 00000000..4e1e8881 --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/helpers.pbs @@ -0,0 +1 @@ +fn increment(value: int) -> int { return value+1; } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/main.pbs b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/main.pbs new file mode 100644 index 00000000..04abee6b --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/main.pbs @@ -0,0 +1 @@ +[Frame] fn frame() -> void { let value=increment(2); } diff --git a/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/mod.barrel b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/mod.barrel new file mode 100644 index 00000000..95cba2ef --- /dev/null +++ b/prometeu-compiler/prometeu-build-pipeline/src/test/resources/production-diagnostics/F3-file-private/src/mod.barrel @@ -0,0 +1 @@ +pub fn frame() -> void; diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java index 1b3712c8..00ca345c 100644 --- a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/exceptions/BuildException.java @@ -1,11 +1,39 @@ package p.studio.compiler.exceptions; +import p.studio.compiler.messages.BuildingIssue; +import p.studio.compiler.source.diagnostics.SourceReference; +import java.util.List; +import java.util.Map; + public class BuildException extends RuntimeException { + private final boolean diagnosticPayloadAvailable; + private final List diagnostics; + private final String failedStage; + private final Map sourceReferences; + public BuildException(String message) { - super(message); + this(message, null); } public BuildException(String message, Throwable cause) { super(message, cause); + diagnosticPayloadAvailable = false; + diagnostics = List.of(); + failedStage = null; + sourceReferences = Map.of(); } + + public BuildException(String message, Throwable cause, List diagnostics, + String failedStage, Map sourceReferences) { + super(message, cause); + this.diagnosticPayloadAvailable = true; + this.diagnostics = List.copyOf(diagnostics); + this.failedStage = failedStage; + this.sourceReferences = Map.copyOf(sourceReferences); + } + + public boolean hasDiagnosticPayload() { return diagnosticPayloadAvailable; } + public List getDiagnostics() { return diagnostics; } + public String getFailedStage() { return failedStage; } + public Map getSourceReferences() { return sourceReferences; } } diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssue.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssue.java index 3b6ccfe9..b73cb569 100644 --- a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssue.java +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssue.java @@ -3,8 +3,13 @@ package p.studio.compiler.messages; import lombok.Builder; import lombok.Getter; import p.studio.utilities.logs.LogAggregator; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.identifiers.FileId; +import p.studio.compiler.source.diagnostics.*; +import java.util.List; +import java.util.Map; -@Builder +@Builder(toBuilder = true) @Getter public class BuildingIssue { private final boolean error; @@ -17,6 +22,62 @@ public class BuildingIssue { private final Integer end; private final Integer functionIndex; private final Integer pc; + private final Span sourceSpan; + @Builder.Default private final DiagnosticContext context = DiagnosticContext.unknown(); + @Builder.Default private final List related = List.of(); + private final String templateId; + @Builder.Default private final Map placeholders = Map.of(); + + BuildingIssue(boolean error, String message, Throwable exception, String phase, String code, + Integer fileId, Integer start, Integer end, Integer functionIndex, Integer pc, + Span sourceSpan, DiagnosticContext context, List related, + String templateId, Map placeholders) { + this.error = error; + this.message = message; + this.exception = exception; + this.phase = phase; + this.code = code; + this.fileId = fileId; + this.start = start; + this.end = end; + this.functionIndex = functionIndex; + this.pc = pc; + this.sourceSpan = sourceSpan; + this.context = context == null ? DiagnosticContext.unknown() : context; + this.related = List.copyOf(related); + this.templateId = templateId; + this.placeholders = Map.copyOf(placeholders); + } + + BuildingIssue(boolean error, String message, Throwable exception, String phase, String code, + Integer fileId, Integer start, Integer end, Integer functionIndex, Integer pc) { + this(error, message, exception, phase, code, fileId, start, end, functionIndex, pc, + null, DiagnosticContext.unknown(), List.of(), null, Map.of()); + } + + public Severity getSeverity() { return error ? Severity.Error : Severity.Warning; } + + public static BuildingIssue fromDiagnostic(Diagnostic diagnostic) { + var span = diagnostic.getSpan(); + return builder().error(diagnostic.getSeverity().isError()).code(diagnostic.getCode()) + .phase(diagnostic.getReportedPhase()).message(diagnostic.getMessage()) + .sourceSpan(span).fileId(span.isNone() ? null : span.getFileId().getId()) + .start(span.isNone() ? null : safeInt(span.getStart())) + .end(span.isNone() ? null : safeInt(span.getEnd())) + .templateId(diagnostic.getTemplateId()).placeholders(Map.copyOf(diagnostic.getPlaceholders())) + .related(List.copyOf(diagnostic.getRelated().asCollection())).context(diagnostic.getContext()).build(); + } + + public Diagnostic toDiagnostic() { + var span = sourceSpan != null ? sourceSpan : fileId == null || fileId < 0 || start == null || end == null ? Span.none() + : new Span(new FileId(fileId), start, end); + var diagnosticPhase = java.util.Arrays.stream(DiagnosticPhase.values()) + .filter(value -> value.id().equals(phase)).findFirst().orElse(DiagnosticPhase.fromCode(code)); + return new Diagnostic(getSeverity(), code, diagnosticPhase, templateId == null ? code : templateId, + placeholders, message, span, related, context, phase == null ? diagnosticPhase.id() : phase); + } + + private static int safeInt(long value) { return (int) Math.min(Integer.MAX_VALUE, Math.max(0, value)); } public void print(LogAggregator logs) { final var composed = composeMessage(); diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssueSink.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssueSink.java index 4b1b6000..669966b3 100644 --- a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssueSink.java +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/messages/BuildingIssueSink.java @@ -26,6 +26,10 @@ public class BuildingIssueSink implements ReadOnlyCollection { final var builder = BuildingIssue.builder(); consumer.accept(builder); final var issue = builder.build(); + return add(issue); + } + + public BuildingIssueSink add(BuildingIssue issue) { hasErrors |= issue.isError(); issues.add(issue); return this; diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/SourceHandle.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/SourceHandle.java index ffde62b7..660a98a3 100644 --- a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/SourceHandle.java +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/models/SourceHandle.java @@ -33,6 +33,9 @@ public class SourceHandle { @Getter private final long lastModified; private final SourceProvider provider; + private volatile String observedSha256; + private volatile boolean mixedRevisions; + private volatile byte[] observedBytes; public SourceHandle( final ProjectId projectId, @@ -53,12 +56,33 @@ public class SourceHandle { public Optional readBytes() { try { - return Optional.ofNullable(provider.read()); + var bytes = provider.read(); + if (bytes != null) observe(bytes); + return Optional.ofNullable(bytes); } catch (IOException e) { return Optional.empty(); } } + private synchronized void observe(byte[] bytes) { + final String digest; + try { digest = java.util.HexFormat.of().formatHex(java.security.MessageDigest.getInstance("SHA-256").digest(bytes)); } + catch (java.security.NoSuchAlgorithmException impossible) { throw new IllegalStateException(impossible); } + if (observedSha256 != null && !observedSha256.equals(digest)) mixedRevisions = true; + observedSha256 = digest; + observedBytes = bytes.clone(); + } + + public String observedSha256() { return observedSha256; } + public boolean mixedRevisions() { return mixedRevisions; } + /** Already consumed bytes only; this accessor never invokes the provider. */ + public Optional observedText() { + var bytes = observedBytes; + if (bytes == null) return Optional.empty(); + try { return Optional.of(StandardCharsets.UTF_8.newDecoder().decode(java.nio.ByteBuffer.wrap(bytes)).toString()); } + catch (java.nio.charset.CharacterCodingException invalidUtf8) { return Optional.empty(); } + } + public Optional readUtf8() { return readBytes().map(bytes -> new String(bytes, StandardCharsets.UTF_8)); } @@ -70,4 +94,4 @@ public class SourceHandle { size / 1024, LocalDateTime.ofInstant(Instant.ofEpochMilli(lastModified), ZoneId.systemDefault())); } -} \ No newline at end of file +} diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/CompilerDiagnosticProjection.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/CompilerDiagnosticProjection.java new file mode 100644 index 00000000..1aac4c29 --- /dev/null +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/CompilerDiagnosticProjection.java @@ -0,0 +1,107 @@ +package p.studio.compiler.source.diagnostics; + +import p.studio.compiler.messages.BuildingIssue; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.identifiers.FileId; +import p.studio.compiler.source.tables.FileTableReader; +import p.studio.utilities.json.DiagnosticPayloads; +import p.studio.utilities.json.ImmutableJson; +import java.nio.file.Path; +import java.util.*; + +/** Projects recorded compiler facts. No live source reads, language inference or transport DTOs. */ +public final class CompilerDiagnosticProjection { + private CompilerDiagnosticProjection() { } + + public static List> issues(List issues, Map sources, + Map text, Path root, String analysisId) { + var result = new ArrayList>(); + for (int i = 0; i < issues.size(); i++) result.add(issue(issues.get(i), sources, text, root, analysisId + ":" + i)); + return List.copyOf(result); + } + + public static Map capturedText(FileTableReader files) { + var result = new LinkedHashMap(); + if (files != null) for (var id : files.identifiers()) files.get(id).observedText().ifPresent(value -> result.put(id.getId(), value)); + return Map.copyOf(result); + } + + public static List> inputs(Map sources, Path root) { + return sources.values().stream().sorted(Comparator.comparingInt(SourceReference::fileId)) + .filter(source -> source.sha256() != null).map(source -> source(source, root)).toList(); + } + + public static Map issue(BuildingIssue issue, Map sources, + Map texts, Path root, String id) { + var result = new LinkedHashMap<>(DiagnosticPayloads.issue( + issue.getCode() == null ? "COMPILER_DIAGNOSTIC" : issue.getCode(), issue.getSeverity().name().toUpperCase(Locale.ROOT), + Objects.requireNonNullElse(issue.getMessage(), "Compiler diagnostic"))); + var context = issue.getContext(); + result.put("issueId", id); result.put("codeOrigin", issue.getCode() == null ? "studio-adapter" : "producer"); + result.put("templateId", issue.getTemplateId()); result.put("templateParameters", issue.getPlaceholders()); + result.put("phase", issue.getPhase()); result.put("stageId", context.stageId()); + result.put("failureKind", context.failureKind().id()); result.put("facts", context.parameters()); + result.putAll(context.enrichment()); + if (!context.enrichment().containsKey("producer")) result.put("producer", ImmutableJson.fields("component", "compiler", + "owner", "compiler", "languageId", null)); + Span primary = issue.getSourceSpan(); + if ((primary == null || primary.isNone()) && issue.getFileId() != null && issue.getFileId() >= 0 + && issue.getStart() != null && issue.getEnd() != null) { + primary = new Span(new FileId(issue.getFileId()), issue.getStart(), issue.getEnd()); + } + var origin = new LinkedHashMap<>(origin(primary, sources, texts, root)); + var attribution = context.attribution(); + origin.put("attribution", ImmutableJson.fields("originKind", attribution.originKind(), "locationKind", attribution.locationKind(), + "role", attribution.role(), "absenceReason", attribution.absenceReason())); + var v = context.verification(); + origin.put("verification", v == null ? null : ImmutableJson.fields("functionIndex", v.functionIndex(), "pc", v.pc(), + "functionName", v.functionName(), "moduleName", v.moduleName(), "pcSpace", v.pcSpace(), "pcUnit", v.pcUnit(), + "validationPoint", v.validationPoint(), "passName", v.passName(), "stageId", context.stageId())); + result.put("origin", ImmutableJson.object(origin)); + result.put("related", issue.getRelated().stream().map(related -> ImmutableJson.fields("relation", related.getRelation(), + "role", related.getRole(), "message", related.getMessage(), "origin", origin(related.getSpan(), sources, texts, root))).toList()); + return ImmutableJson.object(result); + } + + public static Map source(SourceReference source, Path root) { + var path = Path.of(source.canonicalPath()).toAbsolutePath().normalize(); + boolean local = root != null && path.startsWith(root.toAbsolutePath().normalize()); + return ImmutableJson.fields("fileId", source.fileId(), "projectId", source.projectId(), "inputKind", "source", "observationScope", "compiler", + "uri", local ? path.toUri().toString() : null, "relativePath", source.relativePath(), + "originScope", local ? "project" : "external", "sha256", source.sha256(), + "revisionAvailability", source.sha256() == null ? "not-recorded" : source.mixedRevisions() ? "mixed" : "available", + "readOnly", !local); + } + + private static Map origin(Span span, Map sources, + Map texts, Path root) { + if (span == null || span.isNone()) return ImmutableJson.fields("uri", null, "fileId", null, "span", null, + "range", null, "revision", null, "availability", "unavailable"); + int file = span.getFileId().getId(); + var source = sources.get(file); + var reference = source == null ? Map.of() : source(source, root); + var text = texts.get(file); + Map range = null; + if (source != null && !source.mixedRevisions() && text != null && span.getStart() >= 0 && span.getEnd() >= span.getStart() + && span.getEnd() <= text.getBytes(java.nio.charset.StandardCharsets.UTF_8).length) { + var start = position(text, span.getStart()); var end = position(text, span.getEnd()); + if (start != null && end != null) range = ImmutableJson.fields("start", start, "end", end, "unit", "utf16"); + } + return ImmutableJson.fields("uri", reference.get("uri"), "fileId", file, + "span", ImmutableJson.fields("start", span.getStart(), "end", span.getEnd(), "unit", "utf8-byte"), + "range", range, "revision", source == null ? null : source.sha256(), "source", reference, + "availability", source == null ? "partial" : "available"); + } + + private static Map position(String text, long target) { + long bytes = 0; int line = 0, character = 0; + for (int i = 0; i < text.length() && bytes < target;) { + int cp = text.codePointAt(i), width = Character.charCount(cp); + int encoded = new String(Character.toChars(cp)).getBytes(java.nio.charset.StandardCharsets.UTF_8).length; + if (bytes + encoded > target) break; + bytes += encoded; i += width; + if (cp == '\n') { line++; character = 0; } else character += width; + } + return bytes == target ? ImmutableJson.fields("line", line, "character", character) : null; + } +} diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostic.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostic.java index 60f71e18..329962f1 100644 --- a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostic.java +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/Diagnostic.java @@ -18,6 +18,8 @@ public class Diagnostic { private final String message; private final Span span; private final ReadOnlyList related; + private final DiagnosticContext context; + private final String reportedPhase; public Diagnostic( final Severity severity, @@ -45,6 +47,20 @@ public class Diagnostic { final String message, final Span span, final List related) { + this(severity, code, phase, templateId, placeholders, message, span, related, DiagnosticContext.unknown()); + } + + public Diagnostic( + final Severity severity, final String code, final DiagnosticPhase phase, + final String templateId, final Map placeholders, final String message, + final Span span, final List related, final DiagnosticContext context) { + this(severity, code, phase, templateId, placeholders, message, span, related, context, phase.id()); + } + + public Diagnostic( + final Severity severity, final String code, final DiagnosticPhase phase, + final String templateId, final Map placeholders, final String message, + final Span span, final List related, final DiagnosticContext context, final String reportedPhase) { this.severity = Objects.requireNonNull(severity); this.code = Objects.requireNonNull(code); this.phase = Objects.requireNonNull(phase); @@ -53,6 +69,8 @@ public class Diagnostic { this.message = Objects.requireNonNull(message); this.span = Objects.requireNonNull(span); this.related = ReadOnlyList.wrap(List.copyOf(Objects.requireNonNull(related))); + this.context = Objects.requireNonNull(context); + this.reportedPhase = Objects.requireNonNull(reportedPhase); } @Override diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java new file mode 100644 index 00000000..69b24a4d --- /dev/null +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticContext.java @@ -0,0 +1,64 @@ +package p.studio.compiler.source.diagnostics; + +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; + +/** Small shared diagnostic value, independent of Studio and transport DTOs. */ +public record DiagnosticContext( + String stageId, VerificationContext verification, SourceAttribution attribution, + FailureKind failureKind, Map parameters, Map enrichment) { + public DiagnosticContext(String stageId, VerificationContext verification, SourceAttribution attribution, + FailureKind failureKind, Map parameters) { + this(stageId, verification, attribution, failureKind, parameters, Map.of()); + } + public DiagnosticContext { + attribution = attribution == null ? SourceAttribution.unknown("unknown") : attribution; + failureKind = failureKind == null ? FailureKind.UNKNOWN : failureKind; + parameters = freeze(parameters == null ? Map.of() : parameters); + enrichment = p.studio.utilities.json.ImmutableJson.object(enrichment); + } + + public static DiagnosticContext unknown() { + return new DiagnosticContext(null, null, null, FailureKind.UNKNOWN, Map.of()); + } + + public DiagnosticContext withStage(String stage) { + return new DiagnosticContext(stage, verification, attribution, failureKind, parameters, enrichment); + } + + public DiagnosticContext withFailureKind(FailureKind kind) { + return new DiagnosticContext(stageId, verification, attribution, kind, parameters, enrichment); + } + + public DiagnosticContext withAttribution(SourceAttribution origin) { + return new DiagnosticContext(stageId, verification, origin, failureKind, parameters, enrichment); + } + + public DiagnosticContext withEnrichment(Map details) { + return new DiagnosticContext(stageId, verification, attribution, failureKind, parameters, details); + } + + public DiagnosticContext withParameters(Map facts) { + return new DiagnosticContext(stageId, verification, attribution, failureKind, facts, enrichment); + } + + private static Map freeze(Map input) { + var output = new LinkedHashMap(); + input.forEach((key, value) -> output.put(key, freezeValue(value))); + return Map.copyOf(output); + } + + private static Object freezeValue(Object value) { + if (value instanceof String || value instanceof Boolean || value instanceof Byte || value instanceof Short + || value instanceof Integer || value instanceof Long || value instanceof Float || value instanceof Double + || value instanceof java.math.BigInteger || value instanceof java.math.BigDecimal) return value; + if (value instanceof List values) return values.stream().map(DiagnosticContext::freezeValue).toList(); + if (value instanceof Map values) { + var output = new LinkedHashMap(); + values.forEach((key, item) -> output.put((String) key, freezeValue(item))); + return Map.copyOf(output); + } + throw new IllegalArgumentException("diagnostic parameters must be structured scalar/list/map values"); + } +} diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticDescriptions.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticDescriptions.java new file mode 100644 index 00000000..8d5d455e --- /dev/null +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/DiagnosticDescriptions.java @@ -0,0 +1,48 @@ +package p.studio.compiler.source.diagnostics; + +import p.studio.utilities.json.DiagnosticPayloads; +import p.studio.utilities.json.ImmutableJson; +import java.util.*; + +/** Owner-maintained descriptions of detector behavior. They do not infer root cause. */ +public final class DiagnosticDescriptions { + private DiagnosticDescriptions() { } + public static Map describe(String check, Map semanticFacts) { + boolean frontend = check.startsWith("pbs."); + String rule = switch (check) { + case "compiler.verify.ret-stack-height" -> "The stack at RET must match the function's declared result slot count."; + case "compiler.verify.join-stack-height" -> "Incoming control-flow paths must agree on stack height at the join destination."; + case "compiler.verify.resource-limit" -> "Producer verification must remain within its configured resource budget."; + case "pbs.lowering.call-resolution" -> "Executable call lowering must identify an admitted callable using the actual resolution constraints."; + case "pbs.lowering.structured-overload" -> "A structured call requires an exact signature in the owner index consulted by lowering."; + case "pbs.flow.call-target" -> "An applied expression must resolve to a callable target in its current semantic scope."; + case "pbs.flow.assignment-target" -> "An assignment must resolve its target binding in the current semantic scope."; + case "pbs.lowering.stack-shape" -> "The executable body produced by frontend lowering must have a consistent stack shape."; + default -> null; + }; + var facts = new LinkedHashMap(); + semanticFacts.forEach((name, value) -> facts.put(name, DiagnosticPayloads.fact(value))); + if (frontend) for (var name : List.of("expressionTypes", "moduleIdentity", "dependencyIdentity")) + facts.putIfAbsent(name, DiagnosticPayloads.missingFact("Not recorded by this detector; source identity is carried separately")); + var semantics = frontend || !facts.isEmpty() + ? ImmutableJson.fields("availability", "partial", "facts", facts) + : ImmutableJson.fields("availability", "not-applicable", "facts", Map.of()); + var explanation = rule == null ? DiagnosticPayloads.unavailableExplanation() + : ImmutableJson.fields("id", check, "summary", rule, "rule", rule, "availability", "available"); + var suggested = rule == null ? List.of() : List.of(ImmutableJson.fields("id", check + ".inspect-context", + "description", frontend ? "Inspect the recorded declaration, expression types and actual resolution constraints." + : "Inspect the produced IR and its recorded origin at the detection point; the location does not establish cause.", + "evidenceFields", frontend ? List.of("semanticContext", "origin", "facts") : List.of("facts", "origin", "related"))); + return ImmutableJson.fields("checkId", check, "producer", ImmutableJson.fields("component", + frontend ? "compiler-frontend" : "compiler-backend", "owner", frontend ? "compiler/pbs" : "compiler", + "languageId", frontend ? "pbs" : null), "explanation", explanation, + "semanticContext", semantics, "suggestedChecks", suggested); + } + + public static Diagnostic attach(Diagnostic diagnostic, String check, Map semantics, FailureKind kind) { + return new Diagnostic(diagnostic.getSeverity(), diagnostic.getCode(), diagnostic.getPhase(), + diagnostic.getTemplateId(), diagnostic.getPlaceholders(), diagnostic.getMessage(), diagnostic.getSpan(), + diagnostic.getRelated().asList(), diagnostic.getContext().withEnrichment(describe(check, semantics)) + .withFailureKind(kind), diagnostic.getReportedPhase()); + } +} diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/FailureKind.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/FailureKind.java new file mode 100644 index 00000000..d448ab9a --- /dev/null +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/FailureKind.java @@ -0,0 +1,16 @@ +package p.studio.compiler.source.diagnostics; + +/** Evidence supplied by the detecting boundary, never inferred from message text. */ +public enum FailureKind { + PROGRAM_REJECTION("program-rejection"), + INTERNAL_FAILURE("internal-failure"), + VERIFICATION_LIMIT("verification-limit"), + INFRASTRUCTURE_FAILURE("infrastructure-failure"), + UNKNOWN("unknown"); + + private final String id; + + FailureKind(String id) { this.id = id; } + + public String id() { return id; } +} diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/RelatedSpan.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/RelatedSpan.java index 955193cb..85756fd0 100644 --- a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/RelatedSpan.java +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/RelatedSpan.java @@ -7,9 +7,18 @@ import p.studio.compiler.source.Span; public class RelatedSpan { private final String message; private final Span span; + private final String relation; + private final String role; public RelatedSpan(String message, Span span) { + this(message, span, "unspecified", "context"); + } + + public RelatedSpan(String message, Span span, String relation, String role) { this.message = message; this.span = span; + this.relation = java.util.Objects.requireNonNull(relation); + if (!"context".equals(role)) throw new IllegalArgumentException("related locations are context only"); + this.role = role; } } diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java new file mode 100644 index 00000000..352e212f --- /dev/null +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceAttribution.java @@ -0,0 +1,65 @@ +package p.studio.compiler.source.diagnostics; + +import p.studio.compiler.source.Span; + +import java.util.Set; + +/** Provenance and location precision are independent. An anchor never proves cause. */ +public record SourceAttribution( + String originKind, String locationKind, String role, Span span, String absenceReason) { + public SourceAttribution { + if (!Set.of("source", "generated", "unknown").contains(originKind) + || !Set.of("instruction", "function", "none").contains(locationKind) + || !Set.of("detection", "context").contains(role)) { + throw new IllegalArgumentException("invalid source attribution kind or role"); + } + if (span != null && span.isNone()) span = null; + if ("none".equals(locationKind)) { + if (span != null || !Set.of("no-emission-plan", "no-source-span", "generated-without-anchor", "unknown") + .contains(absenceReason)) throw new IllegalArgumentException("missing attribution requires an absence reason"); + } else if (span == null || absenceReason != null) { + throw new IllegalArgumentException("located attribution requires a real span and no absence reason"); + } + if (("function".equals(locationKind) || "generated".equals(originKind)) + && span != null && !"context".equals(role)) { + throw new IllegalArgumentException("function and generated anchors are context only"); + } + } + + public static SourceAttribution source(Span span) { + return span == null || span.isNone() ? unknown("no-source-span") + : new SourceAttribution("source", "instruction", "detection", span, null); + } + + public static SourceAttribution function(Span span) { + return span == null || span.isNone() ? unknown("no-source-span") + : new SourceAttribution("source", "function", "context", span, null); + } + + public static SourceAttribution generated(Span anchor) { + return anchor == null || anchor.isNone() + ? new SourceAttribution("generated", "none", "context", null, "generated-without-anchor") + : new SourceAttribution("generated", "instruction", "context", anchor, null); + } + + public static SourceAttribution unknown(String reason) { + return new SourceAttribution("unknown", "none", "detection", null, reason); + } + + @Override + public boolean equals(Object other) { + if (!(other instanceof SourceAttribution that)) return false; + return originKind.equals(that.originKind) && locationKind.equals(that.locationKind) && role.equals(that.role) + && java.util.Objects.equals(absenceReason, that.absenceReason) + && (span == null ? that.span == null : that.span != null + && span.getFileId().getId() == that.span.getFileId().getId() + && span.getStart() == that.span.getStart() && span.getEnd() == that.span.getEnd()); + } + + @Override + public int hashCode() { + return java.util.Objects.hash(originKind, locationKind, role, absenceReason, + span == null ? null : span.getFileId().getId(), span == null ? null : span.getStart(), + span == null ? null : span.getEnd()); + } +} diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceReference.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceReference.java new file mode 100644 index 00000000..2c86c34c --- /dev/null +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/SourceReference.java @@ -0,0 +1,24 @@ +package p.studio.compiler.source.diagnostics; + +import p.studio.compiler.source.tables.FileTableReader; +import java.util.LinkedHashMap; +import java.util.Map; + +/** Compilation-local identity only. Paths and timestamps do not establish a content revision. */ +public record SourceReference(int fileId, int projectId, String canonicalPath, String relativePath, + String sha256, boolean mixedRevisions) { + public SourceReference(int fileId, int projectId, String canonicalPath, String relativePath) { + this(fileId, projectId, canonicalPath, relativePath, null, false); + } + public static Map snapshot(FileTableReader files) { + if (files == null) return Map.of(); + var result = new LinkedHashMap(); + for (var id : files.identifiers()) { + var file = files.get(id); + if (file == null) continue; + result.put(id.getId(), new SourceReference(id.getId(), file.getProjectId().getIndex(), + file.getCanonPath().toString(), file.getRelativePath().toString(), file.observedSha256(), file.mixedRevisions())); + } + return Map.copyOf(result); + } +} diff --git a/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/VerificationContext.java b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/VerificationContext.java new file mode 100644 index 00000000..198c9da3 --- /dev/null +++ b/prometeu-compiler/prometeu-compiler-core/src/main/java/p/studio/compiler/source/diagnostics/VerificationContext.java @@ -0,0 +1,10 @@ +package p.studio.compiler.source.diagnostics; + +/** Coordinates belong to one checked program, not to an executed instruction. */ +public record VerificationContext( + String validationPoint, String passName, String pcSpace, String pcUnit, + int functionIndex, int pc, String functionName, String moduleName) { + public VerificationContext at(String point, String pass) { + return new VerificationContext(point, pass, pcSpace, pcUnit, functionIndex, pc, functionName, moduleName); + } +} diff --git a/prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/ConsumedSourceProjectionTest.java b/prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/ConsumedSourceProjectionTest.java new file mode 100644 index 00000000..1c607edf --- /dev/null +++ b/prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/ConsumedSourceProjectionTest.java @@ -0,0 +1,47 @@ +package p.studio.compiler.source.diagnostics; + +import org.junit.jupiter.api.Test; +import p.studio.compiler.models.SourceHandle; +import p.studio.compiler.messages.BuildingIssue; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.identifiers.*; +import java.nio.file.Path; +import java.nio.charset.StandardCharsets; +import java.util.*; +import java.util.concurrent.atomic.AtomicInteger; +import static org.junit.jupiter.api.Assertions.*; + +class ConsumedSourceProjectionTest { + @Test void observationAccessNeverRereadsProviderAndDetectsMixedBytes() { + var reads = new AtomicInteger(); + var handle = new SourceHandle(new ProjectId(0), Path.of("main.pbs"), Path.of("/fixture/main.pbs"), 0, 0, + path -> () -> (reads.incrementAndGet() == 1 ? "first" : "changed").getBytes(StandardCharsets.UTF_8)); + assertNull(handle.observedSha256()); assertTrue(handle.observedText().isEmpty()); assertEquals(0, reads.get()); + handle.readBytes(); String first = handle.observedSha256(); + assertEquals("first", handle.observedText().orElseThrow()); assertEquals(1, reads.get()); + handle.readBytes(); assertNotEquals(first, handle.observedSha256()); assertTrue(handle.mixedRevisions()); + assertEquals("changed", handle.observedText().orElseThrow()); assertEquals(2, reads.get()); + } + @Test void malformedObservedUtf8DoesNotSupplyInventedTextForRangeConversion() { + var handle = new SourceHandle(new ProjectId(0), Path.of("main.pbs"), Path.of("/fixture/main.pbs"), 1, 0, + path -> () -> new byte[]{(byte)0xff}); + handle.readBytes(); assertNotNull(handle.observedSha256()); assertTrue(handle.observedText().isEmpty()); + } + @Test void unicodeRangesRequireMatchingObservedRevisionAndFileIdIsAnalysisLocal() { + var root = Path.of("/fixture"); var id = new FileId(7); String text = "// á 😀\r\nfn x() {}\n"; + int start = text.substring(0, text.indexOf("x")).getBytes(StandardCharsets.UTF_8).length; + var issue = BuildingIssue.fromDiagnostic(new Diagnostic(Severity.Error, "E_SEM_TEST", "observed", new Span(id, start, start+1), List.of())); + var first = new SourceReference(7, 0, "/fixture/main.pbs", "main.pbs", "first-digest", false); + var value = CompilerDiagnosticProjection.issues(List.of(issue), Map.of(7, first), Map.of(7, text), root, "analysis-a").getFirst(); + var origin = (Map)value.get("origin"); var range = (Map)origin.get("range"); + assertEquals(Map.of("line", 1, "character", 3), range.get("start")); + assertEquals("first-digest", origin.get("revision")); + var second = new SourceReference(7, 1, "/fixture/other.pbs", "other.pbs", "second-digest", true); + var other = CompilerDiagnosticProjection.issues(List.of(issue), Map.of(7, second), Map.of(7, text), root, "analysis-b").getFirst(); + assertNotEquals(value.get("issueId"), other.get("issueId")); + assertEquals("file:///fixture/other.pbs", ((Map)other.get("origin")).get("uri")); + assertNull(((Map)other.get("origin")).get("range")); + var missing = BuildingIssue.fromDiagnostic(new Diagnostic(Severity.Error, "E_SEM_TEST", "locationless", Span.none(), List.of())); + assertNull(((Map)CompilerDiagnosticProjection.issues(List.of(missing), Map.of(), Map.of(), root, "c").getFirst().get("origin")).get("range")); + } +} diff --git a/prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/StructuredDiagnosticTest.java b/prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/StructuredDiagnosticTest.java new file mode 100644 index 00000000..4c6e2616 --- /dev/null +++ b/prometeu-compiler/prometeu-compiler-core/src/test/java/p/studio/compiler/source/diagnostics/StructuredDiagnosticTest.java @@ -0,0 +1,102 @@ +package p.studio.compiler.source.diagnostics; + +import org.junit.jupiter.api.Test; +import p.studio.compiler.exceptions.BuildException; +import p.studio.compiler.messages.BuildingIssue; +import p.studio.compiler.models.SourceHandle; +import p.studio.compiler.source.Span; +import p.studio.compiler.source.identifiers.FileId; +import p.studio.compiler.source.identifiers.ProjectId; +import p.studio.compiler.source.tables.FileTable; + +import java.nio.file.Path; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static org.junit.jupiter.api.Assertions.*; + +class StructuredDiagnosticTest { + @Test + void backendPhaseMustRoundTripWithoutInventingASemanticPhase() { + var issue = BuildingIssue.builder().error(true).code("MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT") + .phase("BACKEND_LOWER_TO_IRVM").message("ret mismatch") + .context(DiagnosticContext.unknown().withStage("BACKEND_LOWER_TO_IRVM") + .withFailureKind(FailureKind.INTERNAL_FAILURE)).build(); + var diagnostic = issue.toDiagnostic(); + assertEquals(DiagnosticPhase.UNKNOWN, diagnostic.getPhase()); + assertEquals("BACKEND_LOWER_TO_IRVM", diagnostic.getReportedPhase()); + assertEquals(issue.getPhase(), BuildingIssue.fromDiagnostic(diagnostic).getPhase()); + assertEquals(issue.getContext(), BuildingIssue.fromDiagnostic(diagnostic).getContext()); + } + @Test + void projectionMustPreservePhaseParametersRelatedAndLongSpan() { + var span = new Span(new FileId(2), 0, (long) Integer.MAX_VALUE + 12); + var related = new RelatedSpan("declared here", new Span(new FileId(3), 20, 25), "declaration", "context"); + var context = new DiagnosticContext("FrontendPhasePipelineStage", null, null, + FailureKind.PROGRAM_REJECTION, Map.of("argument", 7)); + var original = new Diagnostic(Severity.Error, "E_SEM_TEST", DiagnosticPhase.STATIC_SEMANTICS, + "semantic.test", Map.of("name", "value"), "Original message", span, List.of(related), context); + var issue = BuildingIssue.fromDiagnostic(original); + var projected = issue.toDiagnostic(); + assertEquals(0, issue.getStart()); + assertSame(span, projected.getSpan()); + assertEquals(original.getPhase(), projected.getPhase()); + assertEquals(original.getCode(), projected.getCode()); + assertEquals(original.getMessage(), projected.getMessage()); + assertEquals(original.getTemplateId(), projected.getTemplateId()); + assertEquals(original.getPlaceholders(), projected.getPlaceholders()); + assertEquals(context, projected.getContext()); + assertEquals("declaration", projected.getRelated().getFirst().getRelation()); + assertEquals("context", projected.getRelated().getFirst().getRole()); + } + + @Test + void provenanceMustRemainIndependentFromAvailability() { + var zero = new Span(new FileId(0), 0, 1); + assertEquals("detection", SourceAttribution.source(zero).role()); + assertEquals("context", SourceAttribution.generated(zero).role()); + assertEquals("generated-without-anchor", SourceAttribution.generated(null).absenceReason()); + assertEquals("unknown", SourceAttribution.source(Span.none()).originKind()); + assertEquals("function", SourceAttribution.function(zero).locationKind()); + assertEquals("context", SourceAttribution.function(zero).role()); + assertThrows(IllegalArgumentException.class, + () -> new SourceAttribution("generated", "instruction", "detection", zero, null)); + } + + @Test + void structuredParametersMustBeCopiedRecursively() { + var list = new ArrayList<>(List.of("before")); + var parameters = new HashMap(); + parameters.put("values", list); + var context = new DiagnosticContext(null, null, null, null, parameters); + list.clear(); parameters.clear(); + assertEquals(List.of("before"), context.parameters().get("values")); + assertThrows(UnsupportedOperationException.class, () -> context.parameters().put("x", 1)); + } + + @Test + void failuresMustKeepIndependentFileIdsAfterTablesAreCleared() { + var left = table("left"); + var right = table("right"); + var issues = new ArrayList<>(List.of(BuildingIssue.builder().error(true).code("E_SEM_TEST").build())); + var a = new BuildException("rejected", null, issues, "analyze", SourceReference.snapshot(left)); + var b = new BuildException("rejected", null, issues, "analyze", SourceReference.snapshot(right)); + left.clear(); right.clear(); issues.clear(); + assertEquals("/left/main.pbs", a.getSourceReferences().get(0).canonicalPath()); + assertEquals("/right/main.pbs", b.getSourceReferences().get(0).canonicalPath()); + assertEquals(1, a.getDiagnostics().size()); + assertTrue(a.hasDiagnosticPayload()); + assertThrows(UnsupportedOperationException.class, () -> a.getSourceReferences().clear()); + assertFalse(new BuildException("legacy").hasDiagnosticPayload()); + assertFalse(new BuildException("legacy", new IllegalStateException()).hasDiagnosticPayload()); + } + + private FileTable table(String root) { + var files = new FileTable(1); + files.register(new SourceHandle(new ProjectId(0), Path.of("main.pbs"), Path.of("/" + root + "/main.pbs"), + 0, 0, path -> () -> { throw new AssertionError("identity snapshots must not read live source"); })); + return files; + } +} diff --git a/prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackend.java b/prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackend.java index dd7d76c6..6becd06a 100644 --- a/prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackend.java +++ b/prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackend.java @@ -234,7 +234,7 @@ public class IRBackend implements IRBackendReader { function.returnSlots(), function.maxStackSlots(), ReadOnlyList.wrap(remappedInstructions), - function.span(), function.metadata()); + function.span(), function.metadata(), function.semanticFacts()); } private IRLifecycleFileDeclaration remapLifecycleFileDeclaration( diff --git a/prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackendExecutableFunction.java b/prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackendExecutableFunction.java index 45dcdf12..2658e424 100644 --- a/prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackendExecutableFunction.java +++ b/prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackendExecutableFunction.java @@ -22,7 +22,14 @@ public record IRBackendExecutableFunction( int maxStackSlots, ReadOnlyList instructions, Span span, - p.studio.compiler.models.registry.IRRegistry.FunctionMetadata metadata) { + p.studio.compiler.models.registry.IRRegistry.FunctionMetadata metadata, + java.util.Map semanticFacts) { + public IRBackendExecutableFunction(FileId fileId, ModuleId moduleId, String callableName, CallableId callableId, + int sourceStart, int sourceEnd, int paramSlots, int localSlots, int returnSlots, int maxStackSlots, + ReadOnlyList instructions, Span span, p.studio.compiler.models.registry.IRRegistry.FunctionMetadata metadata) { + this(fileId, moduleId, callableName, callableId, sourceStart, sourceEnd, paramSlots, localSlots, returnSlots, + maxStackSlots, instructions, span, metadata, java.util.Map.of()); + } public IRBackendExecutableFunction( FileId fileId, ModuleId moduleId, @@ -68,6 +75,7 @@ public record IRBackendExecutableFunction( } public IRBackendExecutableFunction { + semanticFacts = p.studio.utilities.json.ImmutableJson.object(semanticFacts); fileId = Objects.requireNonNull(fileId, "fileId"); moduleId = moduleId == null ? ModuleId.none() : moduleId; if (!moduleId.isNone()) { diff --git a/prometeu-infra/src/main/java/p/studio/utilities/json/DiagnosticPayloads.java b/prometeu-infra/src/main/java/p/studio/utilities/json/DiagnosticPayloads.java new file mode 100644 index 00000000..fd4c4647 --- /dev/null +++ b/prometeu-infra/src/main/java/p/studio/utilities/json/DiagnosticPayloads.java @@ -0,0 +1,85 @@ +package p.studio.utilities.json; + +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import java.util.*; + +/** One bounded public view for compiler/LSP and Studio adapters. Does not interpret source language rules. */ +public final class DiagnosticPayloads { + public static final int MAX_ISSUES = 1024; + public static final int MAX_BYTES = 1024 * 1024; + private static final ObjectMapper JSON = new ObjectMapper(); + private DiagnosticPayloads() { } + + public record View(List> issues, Map summary) { + public View { issues = issues.stream().map(ImmutableJson::object).toList(); summary = ImmutableJson.object(summary); } + } + + public static Map unavailableExplanation() { + return ImmutableJson.fields("id", null, "summary", null, "rule", null, "availability", "unavailable"); + } + public static Map unavailableSemantics() { + return ImmutableJson.fields("availability", "unavailable", "facts", Map.of()); + } + public static Map fact(Object value) { + return ImmutableJson.fields("value", value, "availability", "available", "reason", null); + } + public static Map missingFact(String reason) { + return ImmutableJson.fields("value", null, "availability", "not-recorded", "reason", reason); + } + public static Map limitation(String code, String message) { + return ImmutableJson.fields("code", code, "message", message); + } + + public static Map issue(String code, String severity, String message) { + return ImmutableJson.fields("issueId", UUID.randomUUID().toString(), + "producer", ImmutableJson.fields("component", "unknown", "owner", null, "languageId", null), + "code", code, "codeOrigin", "studio-adapter", "templateId", null, "templateParameters", Map.of(), + "checkId", null, "severity", severity, "phase", null, "stageId", null, "failureKind", "unknown", + "message", message, "facts", Map.of(), "explanation", unavailableExplanation(), + "semanticContext", unavailableSemantics(), "origin", null, "related", List.of(), + "suggestedChecks", List.of(), "limitations", List.of()); + } + + public static View view(List> input, String scope, String evaluation, + List> stages, String revisionCoverage) { + long errors = input.stream().filter(i -> "ERROR".equals(i.get("severity"))).count(); + long warnings = input.stream().filter(i -> "WARNING".equals(i.get("severity"))).count(); + long infos = input.stream().filter(i -> "INFO".equals(i.get("severity"))).count(); + var issues = new ArrayList>(); + int bytes = 2; + for (var issue : input) { + final int size; + try { size = JSON.writeValueAsBytes(issue).length + (issues.isEmpty() ? 0 : 1); } + catch (JsonProcessingException failure) { throw new IllegalArgumentException("Non-JSON diagnostic", failure); } + if (issues.size() == MAX_ISSUES || bytes + size > MAX_BYTES) break; + issues.add(issue); bytes += size; + } + boolean complete = issues.size() == input.size(); + var limitations = complete ? List.of() : List.of(ImmutableJson.fields("code", "LIMIT_EXCEEDED", + "message", "Diagnostic details exceed the public payload budget", "maxIssues", MAX_ISSUES, + "maxBytes", MAX_BYTES, "totalIssues", input.size())); + var summary = ImmutableJson.fields("scope", scope, "validationStatus", evaluation, + "counts", ImmutableJson.fields("errors", errors, "warnings", warnings, "infos", infos), + "stages", stages, "coverage", ImmutableJson.fields("details", complete ? "complete" : "partial", + "revisions", revisionCoverage, "limitations", limitations)); + return new View(issues, summary); + } + + public static String evaluate(List> issues) { + if (issues.stream().anyMatch(i -> "ERROR".equals(i.get("severity")) + && Set.of("internal-failure", "infrastructure-failure", "verification-limit").contains(Objects.toString(i.get("failureKind"), "unknown")))) return "failed"; + return issues.stream().anyMatch(i -> "ERROR".equals(i.get("severity"))) ? "rejected" : "passed"; + } + + public static Map stage(String id, String status) { + return ImmutableJson.fields("stageId", id, "status", status); + } + + public static Map legacySummary(String scope) { + return ImmutableJson.fields("scope", scope, "validationStatus", "not-evaluated", + "counts", ImmutableJson.fields("errors", null, "warnings", null, "infos", null), "stages", List.of(), + "coverage", ImmutableJson.fields("details", "unavailable", "revisions", "unavailable", + "limitations", List.of(limitation("LEGACY_DIAGNOSTICS", "Producer supplied only legacy diagnostics")))); + } +} diff --git a/prometeu-infra/src/main/java/p/studio/utilities/json/ImmutableJson.java b/prometeu-infra/src/main/java/p/studio/utilities/json/ImmutableJson.java new file mode 100644 index 00000000..6e7b1e7d --- /dev/null +++ b/prometeu-infra/src/main/java/p/studio/utilities/json/ImmutableJson.java @@ -0,0 +1,31 @@ +package p.studio.utilities.json; + +import java.util.*; + +/** Immutable JSON-shaped values, including explicit null observations. */ +public final class ImmutableJson { + private ImmutableJson() { } + public static Map object(Map source) { + var result = new LinkedHashMap(); + if (source != null) source.forEach((key, value) -> result.put(Objects.requireNonNull(key), value(value))); + return Collections.unmodifiableMap(result); + } + public static Object value(Object source) { + if (source == null || source instanceof String || source instanceof Boolean || source instanceof Byte + || source instanceof Short || source instanceof Integer || source instanceof Long || source instanceof Float + || source instanceof Double || source instanceof java.math.BigInteger || source instanceof java.math.BigDecimal) return source; + if (source instanceof Map values) { + var result = new LinkedHashMap(); + values.forEach((key, value) -> result.put((String) key, value(value))); + return Collections.unmodifiableMap(result); + } + if (source instanceof Collection values) return values.stream().map(ImmutableJson::value).toList(); + throw new IllegalArgumentException("Expected JSON scalar, map or collection, got " + source.getClass().getName()); + } + public static Map fields(Object... pairs) { + if (pairs.length % 2 != 0) throw new IllegalArgumentException("Expected key/value pairs"); + var result = new LinkedHashMap(); + for (int i = 0; i < pairs.length; i += 2) result.put((String) pairs[i], pairs[i + 1]); + return object(result); + } +} diff --git a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentAnalysis.java b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentAnalysis.java index 1c43c4eb..d417e36f 100644 --- a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentAnalysis.java +++ b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentAnalysis.java @@ -4,9 +4,12 @@ import java.util.List; import java.util.Objects; public record BaselineDocumentAnalysis( - List issues) { + List issues, + java.util.Map details) { + public BaselineDocumentAnalysis(List issues) { this(issues, java.util.Map.of()); } public BaselineDocumentAnalysis { issues = List.copyOf(Objects.requireNonNull(issues, "issues")); + details = p.studio.utilities.json.ImmutableJson.object(details); } } diff --git a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentIssue.java b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentIssue.java index c24532b6..dd380765 100644 --- a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentIssue.java +++ b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/messages/BaselineDocumentIssue.java @@ -10,13 +10,19 @@ public record BaselineDocumentIssue( BaselineIssueSeverity severity, String source, String message, - String code) { + String code, + java.util.Map data) { + public BaselineDocumentIssue(int startLine, int startCharacter, int endLine, int endCharacter, + BaselineIssueSeverity severity, String source, String message, String code) { + this(startLine, startCharacter, endLine, endCharacter, severity, source, message, code, java.util.Map.of()); + } public BaselineDocumentIssue { severity = Objects.requireNonNull(severity, "severity"); source = requireText(source, "source"); message = requireText(message, "message"); code = code == null ? "" : code.trim(); + data = p.studio.utilities.json.ImmutableJson.object(data); } private static String requireText( diff --git a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridge.java b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridge.java index 3d5a0e3d..2aaa059c 100644 --- a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridge.java +++ b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridge.java @@ -200,13 +200,31 @@ public final class CompilerLanguageServiceBridge implements LanguageServiceBridg final String text) { Objects.requireNonNull(context, "context"); final Path documentPath = normalizeDocumentPath(documentUri); - final String effectiveText = StringUtils.isBlank(text) ? "" : text; + final String effectiveText = text == null ? "" : text; final AnalysisSnapshot snapshot = analyzeProject(context, Map.of(documentPath, effectiveText)); + var analysisId = java.util.UUID.randomUUID().toString(); + var sources = p.studio.compiler.source.diagnostics.SourceReference.snapshot(snapshot.fileTable()); + var allIssues = p.studio.compiler.source.diagnostics.CompilerDiagnosticProjection.issues(snapshot.diagnostics(), sources, + p.studio.compiler.source.diagnostics.CompilerDiagnosticProjection.capturedText(snapshot.fileTable()), context.projectRoot(), analysisId); + var view = p.studio.utilities.json.DiagnosticPayloads.view(allIssues, "project", + p.studio.utilities.json.DiagnosticPayloads.evaluate(allIssues), java.util.List.of( + p.studio.utilities.json.DiagnosticPayloads.stage("analysis", p.studio.utilities.json.DiagnosticPayloads.evaluate(allIssues))), "partial"); + String digest; + try { digest = java.util.HexFormat.of().formatHex(java.security.MessageDigest.getInstance("SHA-256") + .digest(effectiveText.getBytes(StandardCharsets.UTF_8))); } + catch (java.security.NoSuchAlgorithmException impossible) { throw new IllegalStateException(impossible); } + var details = p.studio.utilities.json.ImmutableJson.fields("analysisId", analysisId, + "document", p.studio.utilities.json.ImmutableJson.fields("uri", documentUri, "sha256", digest), + "issues", view.issues(), "summary", view.summary(), + "configuration", p.studio.utilities.json.ImmutableJson.fields("languageId", snapshot.frontendSpec().getLanguageId(), + "sdkVersion", snapshot.resolvedWorkspace().stdlib(), "target", snapshot.resolvedWorkspace().target().name(), + "vmProfile", "core-v1", "revisionAvailability", "not-recorded"), + "inputs", p.studio.compiler.source.diagnostics.CompilerDiagnosticProjection.inputs(sources, context.projectRoot())); return new BaselineDocumentAnalysis(mapDiagnostics( snapshot, documentPath, effectiveText, - context.languageId())); + context.languageId(), allIssues, view.issues(), analysisId), details); } @Override @@ -975,10 +993,13 @@ public final class CompilerLanguageServiceBridge implements LanguageServiceBridg final AnalysisSnapshot snapshot, final Path documentPath, final String text, - final String languageId) { + final String languageId, final List> allIssues, + final List> visibleIssues, final String analysisId) { final ArrayList issues = new ArrayList<>(); - final DocumentPositionMapper positionMapper = new DocumentPositionMapper(text); + int diagnosticIndex = -1; + var visibleIds = visibleIssues.stream().map(i -> (String) i.get("issueId")).collect(java.util.stream.Collectors.toSet()); for (final BuildingIssue diagnostic : snapshot.diagnostics()) { + diagnosticIndex++; if (diagnostic.getFileId() == null || diagnostic.getFileId() < 0) { continue; } @@ -990,29 +1011,37 @@ public final class CompilerLanguageServiceBridge implements LanguageServiceBridg if (!sourceHandle.getCanonPath().toAbsolutePath().normalize().equals(documentPath)) { continue; } - issues.add(toBaselineIssue(diagnostic, positionMapper, languageId)); + if (diagnostic.getStart() == null || diagnostic.getEnd() == null) continue; + var projected = allIssues.get(diagnosticIndex); + var origin = (Map)projected.get("origin"); + if (origin == null || !(origin.get("range") instanceof Map recordedRange)) continue; + var identity = (String) projected.get("issueId"); + var data = p.studio.utilities.json.ImmutableJson.fields("prometeu", p.studio.utilities.json.ImmutableJson.fields( + "version", 1, "analysisId", analysisId, "issueId", identity, + "issue", visibleIds.contains(identity) ? projected : null, + "limitations", visibleIds.contains(identity) ? java.util.List.of() : java.util.List.of( + p.studio.utilities.json.DiagnosticPayloads.limitation("LIMIT_EXCEEDED", "Issue details omitted by public budget")))); + issues.add(toBaselineIssue(diagnostic, recordedRange, languageId, data)); } return List.copyOf(issues); } private BaselineDocumentIssue toBaselineIssue( final BuildingIssue diagnostic, - final DocumentPositionMapper positionMapper, - final String languageId) { - final int startOffset = diagnostic.getStart() == null ? 0 : diagnostic.getStart(); - final int endOffset = diagnostic.getEnd() == null ? startOffset : Math.max(startOffset, diagnostic.getEnd()); - final DocumentPosition start = positionMapper.positionOf(startOffset); - final DocumentPosition end = positionMapper.positionOf(endOffset); + final Map recordedRange, + final String languageId, final Map data) { + final var start = (Map)recordedRange.get("start"); + final var end = (Map)recordedRange.get("end"); final String code = diagnostic.getCode() == null ? "" : diagnostic.getCode().trim(); return new BaselineDocumentIssue( - start.line(), - start.character(), - end.line(), - end.character(), + ((Number)start.get("line")).intValue(), + ((Number)start.get("character")).intValue(), + ((Number)end.get("line")).intValue(), + ((Number)end.get("character")).intValue(), diagnostic.isError() ? BaselineIssueSeverity.ERROR : BaselineIssueSeverity.WARNING, languageId, diagnostic.getMessage(), - code); + code, data); } private Path normalizeDocumentPath(final String documentUri) { diff --git a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/ExternalSourceLanguageServer.java b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/ExternalSourceLanguageServer.java index acf2e521..67b293e7 100644 --- a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/ExternalSourceLanguageServer.java +++ b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/ExternalSourceLanguageServer.java @@ -8,6 +8,11 @@ import java.util.concurrent.CompletableFuture; public interface ExternalSourceLanguageServer extends LanguageServer { record Request(String consumerId, String uri) {} record AnimationOriginRequest(String consumerId,String uri,int offset) {} + record DiagnosticAnalysisRequest(org.eclipse.lsp4j.VersionedTextDocumentIdentifier textDocument, String contentSha256) {} + @JsonRequest("prometeu/documentAnalysis") default CompletableFuture documentAnalysis(DiagnosticAnalysisRequest request) { + return CompletableFuture.failedFuture(new org.eclipse.lsp4j.jsonrpc.ResponseErrorException( + new org.eclipse.lsp4j.jsonrpc.messages.ResponseError(-32601, "Analysis details unavailable", null))); + } @JsonRequest("prometeu/openAnimationOrigin") CompletableFuture openAnimationOrigin(AnimationOriginRequest request); @JsonRequest("prometeu/readExternalSource") CompletableFuture readExternalSource(Request request); @JsonRequest("prometeu/retainExternalSource") CompletableFuture retainExternalSource(Request request); diff --git a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuLanguageServer.java b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuLanguageServer.java index 7c3fa05e..9827ef68 100644 --- a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuLanguageServer.java +++ b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuLanguageServer.java @@ -23,6 +23,14 @@ public final class PrometeuLanguageServer implements ExternalSourceLanguageServe private final WorkspaceService workspaceService; private volatile LanguageClient client; private volatile boolean shutdownRequested; + private boolean diagnosticAnalysisNegotiated; + + @Override public CompletableFuture documentAnalysis(DiagnosticAnalysisRequest request) { + if (!diagnosticAnalysisNegotiated || !(textDocumentService instanceof PrometeuTextDocumentService service)) + return CompletableFuture.failedFuture(new org.eclipse.lsp4j.jsonrpc.ResponseErrorException( + new org.eclipse.lsp4j.jsonrpc.messages.ResponseError(-32601, "Diagnostic analysis capability was not negotiated", null))); + return service.documentAnalysis(request).thenApply(value -> new com.google.gson.Gson().toJsonTree(value).getAsJsonObject()); + } public PrometeuLanguageServer( final LspProjectContext project, @@ -43,6 +51,7 @@ public final class PrometeuLanguageServer implements ExternalSourceLanguageServe public void disconnected() { if (externalSources != null && consumerId != null) externalSources.disconnect(consumerId); + if (textDocumentService instanceof PrometeuTextDocumentService service) service.clearAnalyses(); } private void requireConsumer(Request request) { @@ -120,6 +129,17 @@ public final class PrometeuLanguageServer implements ExternalSourceLanguageServe final var result = protocolMessageMapper.mapInitializeResult(languageServiceBridge.describeServer(project)); final var gson = new com.google.gson.Gson(); final var capability = gson.toJsonTree(params.getCapabilities() == null ? null : params.getCapabilities().getExperimental()); + if (languageServiceBridge instanceof CompilerLanguageServiceBridge && capability.isJsonObject() + && capability.getAsJsonObject().has("prometeuDiagnosticAnalysis") + && capability.getAsJsonObject().get("prometeuDiagnosticAnalysis").isJsonObject() + && new com.google.gson.JsonPrimitive(1).equals(capability.getAsJsonObject().getAsJsonObject("prometeuDiagnosticAnalysis").get("version"))) { + diagnosticAnalysisNegotiated = true; + var experimental = gson.toJsonTree(result.getCapabilities().getExperimental()); + var values = experimental.isJsonObject() ? experimental.getAsJsonObject() : new com.google.gson.JsonObject(); + values.add("prometeuDiagnosticAnalysis", gson.toJsonTree(java.util.Map.of("version", 1, + "method", "prometeu/documentAnalysis", "diagnosticDataVersion", 1))); + result.getCapabilities().setExperimental(values); + } if (externalSources != null && languageServiceBridge instanceof CompilerLanguageServiceBridge bridge && bridge.supportsExternalSources(project) && capability.isJsonObject() && capability.getAsJsonObject().has("prometeuExternalSources") diff --git a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuTextDocumentService.java b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuTextDocumentService.java index 0ec83f0e..ce0a53fd 100644 --- a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuTextDocumentService.java +++ b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuTextDocumentService.java @@ -28,6 +28,8 @@ public final class PrometeuTextDocumentService implements TextDocumentService { private final LanguageServiceBridge languageServiceBridge; private final ProtocolMessageMapper protocolMessageMapper; private final ConcurrentMap documentTextByUri = new ConcurrentHashMap<>(); + private final ConcurrentMap documentVersionByUri = new ConcurrentHashMap<>(); + private final ConcurrentMap>> analysisByUri = new ConcurrentHashMap<>(); private volatile LanguageClient client; private p.studio.lsp.services.compiler.ExternalSourceRegistry externalSources; private String externalConsumer; @@ -90,6 +92,7 @@ public final class PrometeuTextDocumentService implements TextDocumentService { if (known.isPresent() && known.orElseThrow().readOnly()) text = known.orElseThrow().text(); } documentTextByUri.put(uri, text); + documentVersionByUri.put(uri, params.getTextDocument().getVersion()); publishAnalysis(uri, text); } @@ -101,6 +104,7 @@ public final class PrometeuTextDocumentService implements TextDocumentService { ? "" : params.getContentChanges().getFirst().getText(); documentTextByUri.put(uri, text); + documentVersionByUri.put(uri, params.getTextDocument().getVersion()); publishAnalysis(uri, text); } @@ -110,6 +114,8 @@ public final class PrometeuTextDocumentService implements TextDocumentService { if (externalSources != null) externalSources.release(externalConsumer, params.getTextDocument().getUri()); return; } documentTextByUri.remove(params.getTextDocument().getUri()); + documentVersionByUri.remove(params.getTextDocument().getUri()); + analysisByUri.remove(params.getTextDocument().getUri()); final LanguageClient currentClient = client; if (currentClient == null) { return; @@ -431,12 +437,52 @@ public final class PrometeuTextDocumentService implements TextDocumentService { private void publishAnalysis( final String uri, final String text) { - final LanguageClient currentClient = client; - if (currentClient == null) { - return; + var result = new CompletableFuture>(); + analysisByUri.put(uri, result); + var version = documentVersionByUri.get(uri); + try { + var analysis = languageServiceBridge.analyzeDocument(project, uri, text); + var envelope = new java.util.LinkedHashMap<>(analysis.details()); + var document = new java.util.LinkedHashMap(); + if (envelope.get("document") instanceof java.util.Map captured) + captured.forEach((key, value) -> document.put((String) key, value)); + document.put("uri", uri); document.put("version", version); + envelope.put("document", p.studio.utilities.json.ImmutableJson.object(document)); + result.complete(p.studio.utilities.json.ImmutableJson.object(envelope)); + var current = client; + if (current != null) current.publishDiagnostics(protocolMessageMapper.mapDiagnostics(uri, analysis)); + } catch (RuntimeException failure) { + result.completeExceptionally(new ResponseErrorException(new ResponseError(-32603, + "Project analysis failed", java.util.Map.of("reason", "ANALYSIS_INTERNAL_FAILURE")))); + var current = client; + if (current != null) current.logMessage(protocolMessageMapper.mapErrorMessage("Project analysis failed")); } - currentClient.publishDiagnostics(protocolMessageMapper.mapDiagnostics( - uri, - languageServiceBridge.analyzeDocument(project, uri, text))); + } + + CompletableFuture> documentAnalysis(ExternalSourceLanguageServer.DiagnosticAnalysisRequest request) { + if (request == null || request.textDocument() == null || request.contentSha256() == null) + return CompletableFuture.failedFuture(new ResponseErrorException(new ResponseError(-32602, "Analysis document and digest are required", null))); + var uri = request.textDocument().getUri(); + var pending = analysisByUri.get(uri); + if (pending == null) return CompletableFuture.failedFuture(analysisUnavailable()); + return pending.thenApply(result -> { + if (!documentTextByUri.containsKey(uri)) throw analysisUnavailable(); + var document = (java.util.Map) result.get("document"); + if (analysisByUri.get(uri) != pending || !Objects.equals(documentVersionByUri.get(uri), request.textDocument().getVersion()) + || document == null || !Objects.equals(document.get("sha256"), request.contentSha256()) + || !Objects.equals(document.get("version"), request.textDocument().getVersion())) + throw new ResponseErrorException(new ResponseError(-32020, "Analysis revision mismatch", + java.util.Map.of("reason", "ANALYSIS_REVISION_MISMATCH"))); + return result; + }); + } + + private ResponseErrorException analysisUnavailable() { + return new ResponseErrorException(new ResponseError(-32021, "Analysis result is unavailable", + java.util.Map.of("reason", "ANALYSIS_UNAVAILABLE"))); + } + + void clearAnalyses() { + analysisByUri.clear(); documentVersionByUri.clear(); documentTextByUri.clear(); } } diff --git a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/mapping/Lsp4jProtocolMessageMapper.java b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/mapping/Lsp4jProtocolMessageMapper.java index f8f9d9eb..4d11c81b 100644 --- a/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/mapping/Lsp4jProtocolMessageMapper.java +++ b/prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/mapping/Lsp4jProtocolMessageMapper.java @@ -493,6 +493,7 @@ public final class Lsp4jProtocolMessageMapper implements ProtocolMessageMapper { diagnostic.setSeverity(mapSeverity(issue.severity())); diagnostic.setSource(issue.source()); diagnostic.setMessage(issue.message()); + if (!issue.data().isEmpty()) diagnostic.setData(issue.data()); if (!issue.code().isBlank()) { diagnostic.setCode(Either.forLeft(issue.code())); } diff --git a/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/ExternalSourceDevelopmentHostTest.java b/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/ExternalSourceDevelopmentHostTest.java index e788344c..92cabee0 100644 --- a/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/ExternalSourceDevelopmentHostTest.java +++ b/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/ExternalSourceDevelopmentHostTest.java @@ -38,8 +38,26 @@ class ExternalSourceDevelopmentHostTest { .endpoint(new LspServerEndpoint("127.0.0.1", 0)).build(), new LspProjectContext("dev", "pbs", root), new CompilerLanguageServiceBridge()); host.start(); + final var discoveryWorker = java.util.concurrent.Executors.newSingleThreadExecutor(); + final Path discovery = Files.createDirectories(root.resolve(".studio")).resolve("lsp.json"); + final var discoveryTask = discoveryWorker.submit(() -> { + try { + awaitMarker(root.resolve(".studio/discover-request")); + publish(discovery, root, host, "initial"); + awaitMarker(root.resolve(".studio/restart-request")); + Files.delete(discovery); + host.close(); + final var replacement = new TcpLspServerHost(LspServerConfiguration.builder() + .endpoint(new LspServerEndpoint("127.0.0.1", 0)).build(), new LspProjectContext("dev", "pbs", root), + new CompilerLanguageServiceBridge()); + replacement.start(); + try { + publish(discovery, root, replacement, "replacement"); + awaitMarker(root.resolve(".studio/finished")); + } finally { replacement.close(); } + } catch (Exception failure) { throw new RuntimeException(failure); } + }); try { - Files.writeString(root.resolve(".vscode/settings.json"), "{\"prometeu.studio.port\":" + host.endpoint().orElseThrow().port() + "}"); final String executable = System.getenv().getOrDefault("PROMETEU_VSCODE_EXECUTABLE", "/Applications/Visual Studio Code.app/Contents/MacOS/Code"); final Path extension = repository.resolve("tools/vscode-extension"); final var builder = new ProcessBuilder(executable, "--no-sandbox", "--disable-extensions", "--disable-workspace-trust", @@ -53,11 +71,26 @@ class ExternalSourceDevelopmentHostTest { assertTrue(process.waitFor(90, TimeUnit.SECONDS), "VS Code test timed out: " + log); assertEquals(0, process.exitValue(), () -> read(log)); } finally { process.destroyForcibly(); } + discoveryTask.get(10, TimeUnit.SECONDS); assertEquals(libraryText, Files.readString(library.resolve("src/shared/main.pbs"))); try (var directories = Files.list(root.resolve(".workspace"))) { assertEquals(java.util.List.of("repos"), directories.map(p -> p.getFileName().toString()).toList(), "No editorial SDK cache"); } - } finally { host.close(); } + } finally { discoveryTask.cancel(true); discoveryWorker.shutdownNow(); host.close(); } + } + private static void awaitMarker(Path marker) throws Exception { + long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(80); + while (!Files.exists(marker)) { + if (System.nanoTime() > deadline) throw new IllegalStateException("Marker timed out: " + marker); + Thread.sleep(50); + } + } + private static void publish(Path discovery, Path root, TcpLspServerHost host, String session) throws Exception { + var temporary = discovery.resolveSibling("lsp.tmp"); + new com.fasterxml.jackson.databind.ObjectMapper().writeValue(temporary.toFile(), java.util.Map.of( + "schemaVersion", 1, "projectRoot", root.toString(), "sessionId", session, + "processId", ProcessHandle.current().pid(), "host", "127.0.0.1", "port", host.endpoint().orElseThrow().port())); + Files.move(temporary, discovery, StandardCopyOption.ATOMIC_MOVE, StandardCopyOption.REPLACE_EXISTING); } private static String read(Path path) { try { return Files.readString(path); } catch (Exception e) { return e.toString(); } } } diff --git a/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridgeTest.java b/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridgeTest.java index 94d6b902..301ca904 100644 --- a/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridgeTest.java +++ b/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridgeTest.java @@ -939,12 +939,24 @@ class CompilerLanguageServiceBridgeTest { } @Test - void workspaceSymbolsSearchPhysicalNamedDeclarationsWithoutAnOpenDocument() { - final Path projectRoot = findRepoRoot(Path.of("").toAbsolutePath().normalize()) - .resolve("test-projects") - .resolve("main") - .toAbsolutePath() - .normalize(); + void workspaceSymbolsSearchPhysicalNamedDeclarationsWithoutAnOpenDocument(@TempDir Path temporary) throws IOException { + final Path projectRoot = temporary.toRealPath(); + Files.createDirectories(projectRoot.resolve("src")); + Files.writeString(projectRoot.resolve("prometeu.json"), """ + {"name":"main","version":"1.0.0","language":"pbs","stdlib":"1","target":"Game","dependencies":[]} + """); + Files.writeString(projectRoot.resolve("src/main.pbs"), """ + import { Log } from @sdk:log; + import { Composer } from @sdk:composer; + declare struct Bla(a: int) {} + [Init] fn init() -> void {} + [Frame] fn frame() -> void {} + """); + Files.writeString(projectRoot.resolve("src/mod.barrel"), """ + pub struct Bla; + pub fn init() -> void; + pub fn frame() -> void; + """); final CompilerLanguageServiceBridge bridge = new CompilerLanguageServiceBridge(); final var context = new LspProjectContext("main", "pbs", projectRoot); diff --git a/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/protocol/DiagnosticAnalysisProtocolTest.java b/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/protocol/DiagnosticAnalysisProtocolTest.java new file mode 100644 index 00000000..82543728 --- /dev/null +++ b/prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/protocol/DiagnosticAnalysisProtocolTest.java @@ -0,0 +1,49 @@ +package p.studio.lsp.services.protocol; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import org.eclipse.lsp4j.*; +import org.eclipse.lsp4j.jsonrpc.ResponseErrorException; +import p.studio.lsp.messages.LspProjectContext; +import p.studio.lsp.services.compiler.CompilerLanguageServiceBridge; +import java.nio.file.*; +import java.util.*; +import java.util.concurrent.CompletionException; +import static org.junit.jupiter.api.Assertions.*; + +class DiagnosticAnalysisProtocolTest { + @TempDir Path root; + @Test void retainedAnalysisNegotiatesOnceChecksRevisionAndClearsOnClose() throws Exception { + root = root.toRealPath(); Files.createDirectories(root.resolve("src")); + Files.writeString(root.resolve("prometeu.json"), "{\"name\":\"test\",\"version\":\"1\",\"language\":\"pbs\",\"stdlib\":\"1\",\"target\":\"Game\",\"dependencies\":[]}"); + var source = root.resolve("src/main.pbs"); String text = "// á 😀\r\nfn main() -> int { return 1; }\n"; Files.writeString(source, text); + var server = new PrometeuLanguageServer(new LspProjectContext("test", "pbs", root), new CompilerLanguageServiceBridge()); + var init = new InitializeParams(); init.setRootUri(root.toUri().toString()); init.setCapabilities(new ClientCapabilities()); + var legacy = server.initialize(init).join(); + assertFalse(new com.google.gson.Gson().toJsonTree(legacy.getCapabilities().getExperimental()).toString().contains("prometeuDiagnosticAnalysis")); + var id = new VersionedTextDocumentIdentifier(source.toUri().toString(), 1); + String digest = HexFormat.of().formatHex(java.security.MessageDigest.getInstance("SHA-256").digest(text.getBytes(java.nio.charset.StandardCharsets.UTF_8))); + var request = new ExternalSourceLanguageServer.DiagnosticAnalysisRequest(id, digest); + assertCode(-32601, () -> server.documentAnalysis(request).join()); + init.getCapabilities().setExperimental(Map.of("prometeuDiagnosticAnalysis", Map.of("version", 1))); + var rich = server.initialize(init).join(); assertTrue(new com.google.gson.Gson().toJsonTree(rich.getCapabilities().getExperimental()).toString().contains("prometeu/documentAnalysis")); + assertCode(-32021, () -> server.documentAnalysis(request).join()); + server.getTextDocumentService().didOpen(new DidOpenTextDocumentParams(new TextDocumentItem(id.getUri(), "pbs", 1, text))); + var first = server.documentAnalysis(request).join(); + assertEquals(first, server.documentAnalysis(request).join(), "Request returns retained analysis identity"); + assertEquals(digest, first.getAsJsonObject("document").get("sha256").getAsString()); + var wrong = new ExternalSourceLanguageServer.DiagnosticAnalysisRequest(id, "different"); + assertCode(-32020, () -> server.documentAnalysis(wrong).join()); + var changed = new VersionedTextDocumentIdentifier(id.getUri(), 2); + server.getTextDocumentService().didChange(new DidChangeTextDocumentParams(changed, List.of(new TextDocumentContentChangeEvent(text)))); + assertCode(-32020, () -> server.documentAnalysis(request).join()); + var second = server.documentAnalysis(new ExternalSourceLanguageServer.DiagnosticAnalysisRequest(changed, digest)).join(); + assertNotEquals(first.get("analysisId"), second.get("analysisId")); + server.getTextDocumentService().didClose(new DidCloseTextDocumentParams(new TextDocumentIdentifier(id.getUri()))); + assertCode(-32021, () -> server.documentAnalysis(request).join()); server.disconnected(); + } + static void assertCode(int code, Runnable work) { + var failure = assertThrows(CompletionException.class, work::run); + assertEquals(code, assertInstanceOf(ResponseErrorException.class, failure.getCause()).getResponseError().getCode()); + } +} diff --git a/prometeu-studio-api/build.gradle.kts b/prometeu-studio-api/build.gradle.kts index 8a5dd685..8f7478a6 100644 --- a/prometeu-studio-api/build.gradle.kts +++ b/prometeu-studio-api/build.gradle.kts @@ -2,4 +2,4 @@ plugins { id("gradle.java-library-conventions") } -dependencies { api(project(":prometeu-animation")) } +dependencies { api(project(":prometeu-animation")); api(project(":prometeu-infra")) } diff --git a/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationFailure.java b/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationFailure.java index 1ab266a4..b6187e9c 100644 --- a/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationFailure.java +++ b/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationFailure.java @@ -7,20 +7,24 @@ import java.util.LinkedHashMap; import java.util.Collections; /** Stable domain failure codes, independent of HTTP status and JSON-RPC errors. */ -public record AutomationFailure(Code code, String message, Map runtimeError) { +public record AutomationFailure(Code code, String message, Map runtimeError, Map details) { public AutomationFailure(Code code, String message) { this(code, message, Map.of()); } + public AutomationFailure(Code code, String message, Map runtimeError) { this(code, message, runtimeError, Map.of()); } public enum Code { PROJECT_NOT_OPEN, NOT_GRANTED, INVALID_TASK, BUSY, CLOSED, CLEANUP_FAILED, UNSUPPORTED_LANGUAGE, UNSUPPORTED_CAPABILITY, REFERENCE_NOT_FOUND, DOCUMENTATION_UNAVAILABLE, OUTSIDE_PROJECT_SCOPE, READ_ONLY_SCOPE, OPERATION_NOT_FOUND, CLIENT_REQUEST_CONFLICT, RUNTIME_UNAVAILABLE, RUNTIME_INCOMPATIBLE, SESSION_NOT_FOUND, BUILD_NOT_FOUND, - ANIMATION_INVALID, ANIMATION_CONFLICT, NO_FRAME_AVAILABLE, LIMIT_EXCEEDED, NOT_CANCELABLE, MEMCARD_ERROR, INFRASTRUCTURE_FAILURE + ANIMATION_INVALID, ANIMATION_CONFLICT, NO_FRAME_AVAILABLE, LIMIT_EXCEEDED, NOT_CANCELABLE, MEMCARD_ERROR, INFRASTRUCTURE_FAILURE, + LANGUAGE_QUERY_TIMEOUT, LANGUAGE_QUERY_CANCELLED, LANGUAGE_SERVER_UNAVAILABLE, LANGUAGE_QUERY_PROTOCOL_FAILURE, + LANGUAGE_QUERY_INTERNAL_FAILURE, LANGUAGE_QUERY_CLEANUP_FAILED, LANGUAGE_QUERY_REVISION_MISMATCH } public AutomationFailure { Objects.requireNonNull(code); Objects.requireNonNull(message); var copy = new LinkedHashMap(); if (runtimeError != null) runtimeError.forEach((key, value) -> copy.put(key, freeze(value))); runtimeError = Collections.unmodifiableMap(copy); + details = p.studio.utilities.json.ImmutableJson.object(details); } private static Object freeze(Object value) { if (value instanceof Map map) { diff --git a/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationOutcome.java b/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationOutcome.java index 936bfb42..28fa8c97 100644 --- a/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationOutcome.java +++ b/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationOutcome.java @@ -1,7 +1,10 @@ package p.studio.api.automation; import java.util.List; public record AutomationOutcome(Kind kind, long requestedFrames, long completedFrames, - List diagnostics, CanonicalCapture capture) { + List diagnostics, CanonicalCapture capture, java.util.Map diagnosticResult) { + public AutomationOutcome(Kind kind, long requestedFrames, long completedFrames, List diagnostics, CanonicalCapture capture) { + this(kind, requestedFrames, completedFrames, diagnostics, capture, java.util.Map.of()); + } public enum Kind { SUCCEEDED, TERMINATED, GUEST_FAULT, INFRASTRUCTURE_FAILURE, CANCELLED, ACTION_REQUIRED } - public AutomationOutcome { diagnostics = List.copyOf(diagnostics); } + public AutomationOutcome { diagnostics = List.copyOf(diagnostics); diagnosticResult = p.studio.utilities.json.ImmutableJson.object(diagnosticResult); } } diff --git a/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSnapshot.java b/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSnapshot.java index 7b3fba5b..7b7ec3b0 100644 --- a/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSnapshot.java +++ b/prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSnapshot.java @@ -4,8 +4,11 @@ import java.util.List; import p.studio.api.operation.OperationSnapshot; public record AutomationSnapshot(Path projectRoot, ControlState state, boolean handoffPending, boolean closed, int manualOperations, TaskIdentity task, OperationSnapshot operation, - CanonicalCapture capture, boolean stale, List diagnostics, List calls) { - public AutomationSnapshot { diagnostics = List.copyOf(diagnostics); calls = List.copyOf(calls); } + CanonicalCapture capture, boolean stale, List diagnostics, List calls, java.util.Map diagnosticResult) { + public AutomationSnapshot(Path root, ControlState state, boolean pending, boolean closed, int manualOperations, TaskIdentity task, OperationSnapshot operation, CanonicalCapture capture, boolean stale, List diagnostics, List calls) { + this(root, state, pending, closed, manualOperations, task, operation, capture, stale, diagnostics, calls, java.util.Map.of()); + } + public AutomationSnapshot { diagnostics = List.copyOf(diagnostics); calls = List.copyOf(calls); diagnosticResult = p.studio.utilities.json.ImmutableJson.object(diagnosticResult); } public boolean manualAllowed() { return !closed && !handoffPending && state == ControlState.MANUAL; } public boolean canGrant() { return manualAllowed() && manualOperations == 0; } public boolean canReclaim() { return !closed && state != ControlState.MANUAL; } diff --git a/prometeu-studio-api/src/main/java/p/studio/api/diagnostic/StudioDiagnostic.java b/prometeu-studio-api/src/main/java/p/studio/api/diagnostic/StudioDiagnostic.java index 2e14d94f..96328144 100644 --- a/prometeu-studio-api/src/main/java/p/studio/api/diagnostic/StudioDiagnostic.java +++ b/prometeu-studio-api/src/main/java/p/studio/api/diagnostic/StudioDiagnostic.java @@ -1,8 +1,13 @@ package p.studio.api.diagnostic; import java.util.Objects; +import java.util.Map; +import java.util.LinkedHashMap; +import p.studio.utilities.json.ImmutableJson; +import p.studio.utilities.json.DiagnosticPayloads; -public record StudioDiagnostic(String code, DiagnosticSeverity severity, String message) { +public record StudioDiagnostic(String code, DiagnosticSeverity severity, String message, Map details) { + public StudioDiagnostic(String code, DiagnosticSeverity severity, String message) { this(code, severity, message, Map.of()); } public StudioDiagnostic { Objects.requireNonNull(code, "code"); Objects.requireNonNull(severity, "severity"); @@ -10,5 +15,21 @@ public record StudioDiagnostic(String code, DiagnosticSeverity severity, String if (code.isBlank()) { throw new IllegalArgumentException("code must not be blank"); } + var complete = new LinkedHashMap<>(DiagnosticPayloads.issue(code, severity.name(), message)); + if (details != null) complete.putAll(details); + if (!(complete.get("issueId") instanceof String identity) || identity.isBlank()) + complete.put("issueId", java.util.UUID.randomUUID().toString()); + details = ImmutableJson.object(complete); + } + + public static StudioDiagnostic fromMap(Map value) { + return new StudioDiagnostic((String) value.get("code"), DiagnosticSeverity.valueOf((String) value.get("severity")), + (String) value.get("message"), value); + } + + public Map toMap() { + var value = new LinkedHashMap<>(details); + value.put("code", code); value.put("severity", severity.name()); value.put("message", message); + return ImmutableJson.object(value); } } diff --git a/prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPreparationStatus.java b/prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPreparationStatus.java index 2cd5b103..41373edf 100644 --- a/prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPreparationStatus.java +++ b/prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPreparationStatus.java @@ -2,5 +2,6 @@ package p.studio.api.shipper; public enum ShipperPreparationStatus { SUCCESS, - FAILED + FAILED, + CANCELLED } diff --git a/prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPrepareResult.java b/prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPrepareResult.java index 2cf383a0..01ef84c6 100644 --- a/prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPrepareResult.java +++ b/prometeu-studio-api/src/main/java/p/studio/api/shipper/ShipperPrepareResult.java @@ -3,19 +3,45 @@ package p.studio.api.shipper; import java.nio.file.Path; import java.util.List; import java.util.Objects; +import java.util.Map; +import p.studio.api.diagnostic.StudioDiagnostic; +import p.studio.utilities.json.ImmutableJson; +import p.studio.utilities.json.DiagnosticPayloads; public record ShipperPrepareResult( ShipperPreparationStatus status, List logs, Path manifestPath, List emittedArtifacts, - List diagnostics) { + List diagnostics, + List issues, + Map summary, + Map context) { + public ShipperPrepareResult(ShipperPreparationStatus status, List logs, Path manifestPath, + List emittedArtifacts, List diagnostics) { + this(status, logs, manifestPath, emittedArtifacts, diagnostics, List.of(), DiagnosticPayloads.legacySummary("build"), Map.of()); + } public ShipperPrepareResult { Objects.requireNonNull(status, "status"); logs = List.copyOf(Objects.requireNonNull(logs, "logs")); manifestPath = manifestPath == null ? null : manifestPath.toAbsolutePath().normalize(); emittedArtifacts = List.copyOf(Objects.requireNonNull(emittedArtifacts, "emittedArtifacts")); diagnostics = List.copyOf(Objects.requireNonNull(diagnostics, "diagnostics")); + issues = List.copyOf(issues); summary = ImmutableJson.object(summary); context = ImmutableJson.object(context); + } + + public Map diagnosticView() { + return ImmutableJson.fields("issues", issues.stream().map(StudioDiagnostic::toMap).toList(), "summary", summary, "context", context); + } + + public ShipperPrepareResult withContext(Map additions) { + var merged = new java.util.LinkedHashMap<>(context); merged.putAll(additions); + return new ShipperPrepareResult(status, logs, manifestPath, emittedArtifacts, diagnostics, issues, summary, merged); + } + + public ShipperPrepareResult asCancelled() { + var cancelled = new java.util.LinkedHashMap<>(summary); cancelled.put("validationStatus", "cancelled"); + return new ShipperPrepareResult(ShipperPreparationStatus.CANCELLED, logs, null, List.of(), diagnostics, issues, cancelled, context); } public boolean success() { diff --git a/prometeu-studio-api/src/test/java/p/studio/api/diagnostic/DiagnosticPayloadTest.java b/prometeu-studio-api/src/test/java/p/studio/api/diagnostic/DiagnosticPayloadTest.java new file mode 100644 index 00000000..7fc382c9 --- /dev/null +++ b/prometeu-studio-api/src/test/java/p/studio/api/diagnostic/DiagnosticPayloadTest.java @@ -0,0 +1,41 @@ +package p.studio.api.diagnostic; + +import org.junit.jupiter.api.Test; +import p.studio.utilities.json.*; +import com.fasterxml.jackson.databind.ObjectMapper; +import java.util.*; +import static org.junit.jupiter.api.Assertions.*; + +class DiagnosticPayloadTest { + @Test void boundsWholeIssuesByCountAndUtf8BytesWithoutChangingEvaluation() throws Exception { + var all = new ArrayList>(); + for (int i = 0; i < 1030; i++) all.add(DiagnosticPayloads.issue("TEST", "ERROR", "failure " + i)); + var view = DiagnosticPayloads.view(all, "project", "rejected", List.of(), "partial"); + assertEquals(1024, view.issues().size()); + assertEquals(1030L, ((Map)view.summary().get("counts")).get("errors")); + assertEquals("rejected", view.summary().get("validationStatus")); + assertEquals("partial", ((Map)view.summary().get("coverage")).get("details")); + assertTrue(view.summary().toString().contains("LIMIT_EXCEEDED")); + var large = DiagnosticPayloads.issue("LARGE", "ERROR", "😀".repeat(300_000)); + var bytes = DiagnosticPayloads.view(List.of(all.getFirst(), large, all.getLast()), "build", "failed", List.of(), "partial"); + assertEquals(List.of(all.getFirst()), bytes.issues()); + assertTrue(new ObjectMapper().writeValueAsBytes(bytes.issues()).length <= DiagnosticPayloads.MAX_BYTES); + assertEquals(3L, ((Map)bytes.summary().get("counts")).get("errors")); + } + @Test void issueIdentityAndKnownNullSurviveImmutableNeutralRoundTrip() { + var input = new LinkedHashMap<>(DiagnosticPayloads.issue("ORIGINAL", "WARNING", "observed")); + var facts = new LinkedHashMap(); facts.put("expectedType", DiagnosticPayloads.fact(null)); + input.put("semanticContext", ImmutableJson.fields("availability", "partial", "facts", facts)); + var issue = StudioDiagnostic.fromMap(input); input.clear(); facts.clear(); + assertEquals(issue.toMap(), StudioDiagnostic.fromMap(issue.toMap()).toMap()); + assertEquals(issue.toMap().get("issueId"), issue.toMap().get("issueId")); + assertTrue(issue.toMap().toString().contains("expectedType")); + assertThrows(UnsupportedOperationException.class, () -> issue.toMap().put("code", "other")); + var legacy = new StudioDiagnostic("OLD", DiagnosticSeverity.INFO, "legacy"); + assertEquals(legacy.toMap().get("issueId"), legacy.toMap().get("issueId")); + var additive = new StudioDiagnostic("PARTIAL", DiagnosticSeverity.INFO, "custom details", Map.of("facts", Map.of("observed", 1))); + assertEquals(additive.toMap().get("issueId"), additive.toMap().get("issueId")); + assertEquals(additive.toMap(), StudioDiagnostic.fromMap(additive.toMap()).toMap()); + assertNull(((Map)DiagnosticPayloads.legacySummary("build").get("counts")).get("errors")); + } +} diff --git a/prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryExecution.java b/prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryExecution.java new file mode 100644 index 00000000..75984671 --- /dev/null +++ b/prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryExecution.java @@ -0,0 +1,71 @@ +package p.studio.core.language; + +import p.studio.api.automation.*; +import p.studio.utilities.json.ImmutableJson; +import java.util.*; +import java.util.concurrent.*; +import java.util.concurrent.atomic.AtomicReference; + +/** Per-admitted-call budget/resources. Session and operation handle retain authority and admission. */ +public final class LanguageQueryExecution { + private final String queryId = UUID.randomUUID().toString(); + private final long executionMillis, cleanupMillis, deadline; + private final String operation; + private final List cancellations = new CopyOnWriteArrayList<>(); + private final AtomicReference primary = new AtomicReference<>(); + private volatile String cleanup = "not-started", method; + private volatile boolean cancelled, cleanupFailed; + private volatile Map context = Map.of(); + public void correlate(Map additions) { + var merged = new LinkedHashMap<>(context); merged.putAll(additions); context = ImmutableJson.object(merged); + } + + public LanguageQueryExecution(String operation, long executionMillis, long cleanupMillis) { + this.operation = operation; this.method = operation; this.executionMillis = executionMillis; this.cleanupMillis = cleanupMillis; + this.deadline = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(executionMillis); + } + public String queryId() { return queryId; } + public long deadlineNanos() { return deadline; } + public long responseDeadlineNanos() { return deadline + TimeUnit.MILLISECONDS.toNanos(cleanupMillis); } + public void method(String method) { this.method = method; } + public void own(Runnable cancellation) { + cancellations.add(cancellation); + if (cancelled) cancellation.run(); + } + public void cancel() { + cancelled = true; + for (var action : cancellations) try { action.run(); } catch (RuntimeException failure) { + cleanupFailed = true; cleanup = "failed"; + record(AutomationFailure.Code.LANGUAGE_QUERY_CLEANUP_FAILED, "Language query resource cleanup failed", Map.of()); + } + } + public void record(AutomationFailure failure) { primary.compareAndSet(null, failure); } + public boolean hasFailure() { return primary.get() != null; } + public void record(AutomationFailure.Code code, String message, Map details) { + record(new AutomationFailure(code, message, Map.of(), details)); + } + + /** Keep the managed worker alive until its owned executor really stops, even after the caller's response budget. */ + public void finishWorkers(ExecutorService workers) { + cleanup = "running"; workers.shutdownNow(); + boolean interrupted = Thread.interrupted(); + try { + while (!workers.isTerminated()) { + try { workers.awaitTermination(50, TimeUnit.MILLISECONDS); } + catch (InterruptedException stop) { interrupted = true; } + if (!workers.isTerminated() && System.nanoTime() >= responseDeadlineNanos()) cleanup = "pending"; + } + cleanup = "terminated"; + } finally { if (interrupted) Thread.currentThread().interrupt(); } + } + + public AutomationException exception(AutomationFailure.Code fallback, String message, boolean workerTerminated) { + var failure = primary.get(); + if (failure == null) { record(fallback, message, Map.of()); failure = primary.get(); } + var details = new LinkedHashMap<>(failure.details()); details.putAll(context); + details.putAll(ImmutableJson.fields("component", "lsp", "operation", operation, "method", method, + "queryId", queryId, "executionBudgetMs", executionMillis, "cleanupBudgetMs", cleanupMillis, + "workerTerminated", workerTerminated, "cleanup", cleanupFailed ? "failed" : workerTerminated ? "terminated" : cleanup)); + return new AutomationException(new AutomationFailure(failure.code(), failure.message(), failure.runtimeError(), details)); + } +} diff --git a/prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryPort.java b/prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryPort.java index cb066a75..b214061a 100644 --- a/prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryPort.java +++ b/prometeu-studio-core/src/main/java/p/studio/core/language/LanguageQueryPort.java @@ -6,5 +6,9 @@ import java.util.Map; /** Application adapter to the existing language server; never a replacement compiler. */ public interface LanguageQueryPort { Map query(TaskIdentity task, String operation, Map parameters) throws Exception; + default Map query(TaskIdentity task, String operation, Map parameters, + LanguageQueryExecution execution) throws Exception { + return query(task, operation, parameters); + } void endTask(TaskIdentity task); } diff --git a/prometeu-studio-core/src/main/java/p/studio/core/language/TaskLanguageQueries.java b/prometeu-studio-core/src/main/java/p/studio/core/language/TaskLanguageQueries.java index 1166787e..e2fa020c 100644 --- a/prometeu-studio-core/src/main/java/p/studio/core/language/TaskLanguageQueries.java +++ b/prometeu-studio-core/src/main/java/p/studio/core/language/TaskLanguageQueries.java @@ -12,9 +12,14 @@ public final class TaskLanguageQueries implements LanguageQueries { private final ProjectAccessRegistry projects; private final LanguageQueryPort language; private final Set registered = ConcurrentHashMap.newKeySet(); + private final long executionMillis, cleanupMillis; public TaskLanguageQueries(ProjectAccessRegistry projects, LanguageQueryPort language) { + this(projects, language, 10_000, 2_000); + } + public TaskLanguageQueries(ProjectAccessRegistry projects, LanguageQueryPort language, long executionMillis, long cleanupMillis) { this.projects = Objects.requireNonNull(projects); this.language = Objects.requireNonNull(language); + this.executionMillis = executionMillis; this.cleanupMillis = cleanupMillis; } @Override public Map query(Path root, String taskId, String operation, Map parameters) { @@ -25,30 +30,63 @@ public final class TaskLanguageQueries implements LanguageQueries { catch (RuntimeException failure) { registered.remove(task); throw failure; } } var result = new AtomicReference>(); + var execution = new LanguageQueryExecution(operation, executionMillis, cleanupMillis); + execution.correlate(p.studio.utilities.json.ImmutableJson.fields("projectRoot", task.projectRoot().toString(), "taskId", task.value())); var handle = session.submit(task, "LSP " + operation, () -> { - result.set(language.query(task, operation, parameters)); - return new AutomationOutcome(AutomationOutcome.Kind.SUCCEEDED, 0, 0, List.of(), null); + var reply = language.query(task, operation, parameters, execution); + if (execution.hasFailure()) throw execution.exception(AutomationFailure.Code.LANGUAGE_QUERY_INTERNAL_FAILURE, "Language query failed", false); + result.set(reply); + Map view = Map.of(); + if (reply.get("analysis") instanceof Map analysis && analysis.get("summary") != null) { + view = p.studio.utilities.json.ImmutableJson.fields("issues", analysis.getOrDefault("issues", null), + "summary", analysis.get("summary"), "context", reply.getOrDefault("context", Map.of())); + } + return new AutomationOutcome(AutomationOutcome.Kind.SUCCEEDED, 0, 0, List.of(), null, view); }); + execution.correlate(Map.of("operationId", handle.id().value())); try { // A failed result must also wait for worker termination and admission // cleanup before the caller can issue its next query. - handle.completion().handle((outcome, failure) -> null) - .thenCompose(ignored -> handle.termination()).toCompletableFuture().get(12, TimeUnit.SECONDS); - handle.completion().toCompletableFuture().get(); + handle.completion().toCompletableFuture().get(Math.max(1, execution.deadlineNanos() - System.nanoTime()), TimeUnit.NANOSECONDS); + handle.termination().toCompletableFuture().get(Math.max(1, execution.responseDeadlineNanos() - System.nanoTime()), TimeUnit.NANOSECONDS); requireTask(session, taskId); - return Objects.requireNonNull(result.get()); + var reply = new LinkedHashMap<>(Objects.requireNonNull(result.get())); + if (reply.get("context") instanceof Map context) { + var correlated = new LinkedHashMap(); context.forEach((key, value) -> correlated.put((String) key, value)); + correlated.put("operationId", handle.id().value()); reply.put("context", correlated); + } + return p.studio.utilities.json.ImmutableJson.object(reply); } catch (ExecutionException failure) { - if (failure.getCause() instanceof RuntimeException cause) throw cause; - throw new AutomationException(AutomationFailure.Code.INFRASTRUCTURE_FAILURE, "LSP query failed"); + awaitCleanup(handle, execution); + if (failure.getCause() instanceof AutomationException domain) { + execution.record(domain.failure()); + throw execution.exception(domain.failure().code(), domain.getMessage(), handle.termination().toCompletableFuture().isDone()); + } + if (failure.getCause() instanceof ControlDeniedException denied) throw denied; + if (failure.getCause() instanceof IllegalArgumentException parametersFailure) throw parametersFailure; + throw execution.exception(AutomationFailure.Code.LANGUAGE_QUERY_INTERNAL_FAILURE, "Language query failed", + handle.termination().toCompletableFuture().isDone()); } catch (InterruptedException failure) { - handle.cancel(); Thread.currentThread().interrupt(); - throw new AutomationException(AutomationFailure.Code.INFRASTRUCTURE_FAILURE, "LSP query interrupted"); - } catch (TimeoutException | CancellationException failure) { - handle.cancel(); - throw new AutomationException(AutomationFailure.Code.INFRASTRUCTURE_FAILURE, "LSP query cancelled or timed out"); + execution.record(AutomationFailure.Code.LANGUAGE_QUERY_CANCELLED, "Language query interrupted", Map.of()); + execution.cancel(); handle.cancel(); Thread.currentThread().interrupt(); + throw execution.exception(AutomationFailure.Code.LANGUAGE_QUERY_CANCELLED, "Language query interrupted", handle.termination().toCompletableFuture().isDone()); + } catch (TimeoutException failure) { + execution.record(AutomationFailure.Code.LANGUAGE_QUERY_TIMEOUT, "Language query timed out", Map.of()); + execution.cancel(); handle.cancel(); awaitCleanup(handle, execution); + throw execution.exception(AutomationFailure.Code.LANGUAGE_QUERY_TIMEOUT, "Language query timed out", handle.termination().toCompletableFuture().isDone()); + } catch (CancellationException failure) { + execution.record(AutomationFailure.Code.LANGUAGE_QUERY_CANCELLED, "Language query cancelled", Map.of()); + execution.cancel(); handle.cancel(); awaitCleanup(handle, execution); + throw execution.exception(AutomationFailure.Code.LANGUAGE_QUERY_CANCELLED, "Language query cancelled", handle.termination().toCompletableFuture().isDone()); } } + private static void awaitCleanup(p.studio.api.operation.OperationHandle handle, LanguageQueryExecution execution) { + try { handle.termination().toCompletableFuture().get(Math.max(1, execution.responseDeadlineNanos() - System.nanoTime()), TimeUnit.NANOSECONDS); } + catch (InterruptedException stopped) { Thread.currentThread().interrupt(); } + catch (ExecutionException | TimeoutException ignored) { /* The response reports actual termination separately. */ } + } + private static TaskIdentity requireTask(AutomationSession session, String id) { var snapshot = session.snapshot(); if (snapshot.closed() || snapshot.state() != ControlState.AGENT_WORKING || snapshot.task() == null || !snapshot.task().value().equals(id)) diff --git a/prometeu-studio-core/src/main/java/p/studio/core/session/DefaultAutomationSession.java b/prometeu-studio-core/src/main/java/p/studio/core/session/DefaultAutomationSession.java index 131eace4..b7e5494d 100644 --- a/prometeu-studio-core/src/main/java/p/studio/core/session/DefaultAutomationSession.java +++ b/prometeu-studio-core/src/main/java/p/studio/core/session/DefaultAutomationSession.java @@ -26,6 +26,7 @@ public final class DefaultAutomationSession implements AutomationSession { private ManagedHeadlessSession runtime; private CanonicalCapture capture; private List diagnostics = List.of(); + private Map diagnosticResult = Map.of(); private CompletableFuture returning; private final List manualCancellation = new ArrayList<>(); private final List taskCleanup = new ArrayList<>(); @@ -79,7 +80,7 @@ public final class DefaultAutomationSession implements AutomationSession { @Override public synchronized AutomationSnapshot snapshot() { return new AutomationSnapshot(root, state, handoffPending, closed, manualOperations, task, - active == null ? null : active.snapshot(), capture, stale, diagnostics, List.copyOf(calls)); + active == null ? null : active.snapshot(), capture, stale, diagnostics, List.copyOf(calls), diagnosticResult); } @Override public OperationSubscription subscribe(Consumer listener) { @@ -166,6 +167,7 @@ public final class DefaultAutomationSession implements AutomationSession { if (closed) return ControlResult.of(ControlResult.Status.CLOSED, "Project closed"); if (state != ControlState.WAITING_FOR_AGENT || handoffPending) return ControlResult.of(ControlResult.Status.NOT_GRANTED, "Human grant required"); task = new TaskIdentity(root, UUID.randomUUID().toString()); + diagnosticResult = Map.of(); diagnostics = List.of(); state = ControlState.AGENT_WORKING; record("acquire"); publish(); return new ControlResult(ControlResult.Status.ACQUIRED, task, ""); } @@ -212,7 +214,7 @@ public final class DefaultAutomationSession implements AutomationSession { operation = active; ownedRuntime = runtime; idle = manualIdle; publisherIdle = publicationIdle; cancellations = closing ? List.copyOf(manualCancellation) : List.of(); participants = closing ? List.of() : List.copyOf(documents); - cleanups = List.copyOf(taskCleanup); taskCleanup.clear(); + cleanups = List.copyOf(taskCleanup); publication = connection; connection = null; if (publication != null) publication.invalidate(); publish(); @@ -239,8 +241,9 @@ public final class DefaultAutomationSession implements AutomationSession { cleanup.whenComplete((v, failure) -> { synchronized (this) { if (failure == null) { + taskCleanup.removeAll(cleanups); runtime = null; busy = false; state = ControlState.MANUAL; - diagnostics = List.of(); publish(); + diagnostics = List.of(); diagnosticResult = Map.of(); publish(); result.complete(ControlResult.of(ControlResult.Status.RETURNED, "")); } else { diagnostics = List.of(message(failure)); publish(); @@ -256,8 +259,11 @@ public final class DefaultAutomationSession implements AutomationSession { requireTask(identity); if (busy) throw new ControlDeniedException(ControlResult.Status.BUSY); busy = true; record(summary); + diagnosticResult = Map.of(); + var finalResult = new java.util.concurrent.atomic.AtomicReference(); try { active = executor.submit(summary, () -> { var result = work.call(); + finalResult.set(result); // Cancellation acknowledgement can precede a cooperative final result. Publish // its known frame before worker termination, but never after task revocation. synchronized (this) { @@ -287,7 +293,23 @@ public final class DefaultAutomationSession implements AutomationSession { }); var settled = operation.termination().whenComplete((v, f) -> { subscription.unsubscribe(); - synchronized (this) { if (active == operation) { busy = false; publish(); } } + synchronized (this) { if (active == operation) { + busy = false; + var result = finalResult.get(); + if (valid(identity) && result != null && !result.diagnosticResult().isEmpty()) { + var view = new LinkedHashMap<>(result.diagnosticResult()); + if (operation.snapshot().state() == OperationState.CANCELLED) { + var resultSummary = new LinkedHashMap<>((Map)view.getOrDefault("summary", Map.of())); + resultSummary.put("validationStatus", "cancelled"); view.put("summary", resultSummary); + } + var context = new LinkedHashMap<>((Map) view.getOrDefault("context", Map.of())); + context.put("operationId", operation.id().value()); + if (operation.snapshot().state() == OperationState.CANCELLED && context.containsKey("buildId")) context.put("buildId", null); + view.put("context", context); + diagnosticResult = p.studio.utilities.json.ImmutableJson.object(view); + } + publish(); + } } }); // Waiting on the raw worker future does not wait for its dependent // callbacks. Expose the stage that also releases session admission. diff --git a/prometeu-studio-core/src/main/java/p/studio/core/session/DefaultTaskTools.java b/prometeu-studio-core/src/main/java/p/studio/core/session/DefaultTaskTools.java index 818915af..d7747573 100644 --- a/prometeu-studio-core/src/main/java/p/studio/core/session/DefaultTaskTools.java +++ b/prometeu-studio-core/src/main/java/p/studio/core/session/DefaultTaskTools.java @@ -38,12 +38,16 @@ public final class DefaultTaskTools implements TaskTools { // Artifacts are mutable in place. Old IDs must never boot newly overwritten files. data.builds.clear(); var result = shipper.prepareNow(catalog.openProject(data.task.projectRoot()), ignored -> {}); - record.build = result; + if (Thread.currentThread().isInterrupted() || record.handle != null && record.handle.snapshot().state() == OperationState.CANCELLED) result = result.asCancelled(); if (result.success() && !Thread.currentThread().isInterrupted()) { record.buildId = UUID.randomUUID().toString(); data.builds.put(record.buildId, result); } - return new AutomationOutcome(AutomationOutcome.Kind.SUCCEEDED, 0, 0, result.diagnostics(), null); + record.build = result.withContext(p.studio.utilities.json.ImmutableJson.fields("projectRoot", data.task.projectRoot().toString(), + "taskId", data.task.value(), "clientRequestId", record.request, "buildId", record.buildId)); + if (record.buildId != null) data.builds.put(record.buildId, record.build); + return new AutomationOutcome(result.status() == p.studio.api.shipper.ShipperPreparationStatus.CANCELLED + ? AutomationOutcome.Kind.CANCELLED : AutomationOutcome.Kind.SUCCEEDED, 0, 0, result.diagnostics(), null, record.build.diagnosticView()); }); } @@ -215,13 +219,18 @@ public final class DefaultTaskTools implements TaskTools { var snapshot = record.handle.snapshot(); if (!done && (snapshot.state() == OperationState.SUCCEEDED || snapshot.state() == OperationState.FAILED)) snapshot = new OperationSnapshot(snapshot.id(), OperationState.RUNNING, snapshot.updatedAt(), snapshot.summary()); + if (done && snapshot.state() == OperationState.CANCELLED && record.build != null) { + if (record.buildId != null) data.builds.remove(record.buildId); + record.buildId = null; + record.build = record.build.asCancelled().withContext(p.studio.utilities.json.ImmutableJson.fields("buildId", null)); + } var current = data.session.snapshot(); var captured = record.runtime == null ? null : record.runtime.capture(); boolean stale = captured != null && (current.stale() || current.capture() == null || !captured.sessionId().equals(current.capture().sessionId()) || !captured.buildId().equals(current.capture().buildId()) || !captured.logicalFrameIndex().equals(current.capture().logicalFrameIndex()) || !captured.frameId().equals(current.capture().frameId())); return new TrackedOperation(snapshot, record.request, record.progress, - done ? record.buildId : null, done ? record.build : null, done ? record.runtime : null, done ? record.failure : null, + done ? record.buildId : null, done && record.build != null ? record.build.withContext(Map.of("operationId", record.handle.id().value())) : null, done ? record.runtime : null, done ? record.failure : null, done, stale); } private static AutomationException failure(AutomationFailure.Code code, String message) { return new AutomationException(code, message); } diff --git a/prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildFailure.java b/prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildFailure.java new file mode 100644 index 00000000..27dfd845 --- /dev/null +++ b/prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildFailure.java @@ -0,0 +1,19 @@ +package p.studio.core.shipper; + +import p.studio.api.diagnostic.StudioDiagnostic; +import p.studio.utilities.json.ImmutableJson; +import java.util.List; +import java.util.Map; + +/** Application-adapted compiler rejection; Core never imports compiler exception classes. */ +public final class CompilerBuildFailure extends RuntimeException { + private final List issues; + private final Map context; + private final boolean payloadAvailable; + public CompilerBuildFailure(String message, List issues, Map context, boolean payloadAvailable) { + super(message); this.issues = List.copyOf(issues); this.context = ImmutableJson.object(context); this.payloadAvailable = payloadAvailable; + } + public List issues() { return issues; } + public Map context() { return context; } + public boolean payloadAvailable() { return payloadAvailable; } +} diff --git a/prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildGateway.java b/prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildGateway.java index 9aea8814..c3aea745 100644 --- a/prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildGateway.java +++ b/prometeu-studio-core/src/main/java/p/studio/core/shipper/CompilerBuildGateway.java @@ -4,15 +4,22 @@ import p.studio.api.project.ProjectReference; import java.nio.file.Path; import java.util.List; +import java.util.Map; +import p.studio.api.diagnostic.StudioDiagnostic; import java.util.function.Consumer; public interface CompilerBuildGateway { CompilerBuildOutput compile(ProjectReference project, Consumer logSink); - record CompilerBuildOutput(Path bytecodeArtifact, List requiredCapabilities) { + record CompilerBuildOutput(Path bytecodeArtifact, List requiredCapabilities, + List issues, Map context) { + public CompilerBuildOutput(Path bytecodeArtifact, List requiredCapabilities) { + this(bytecodeArtifact, requiredCapabilities, List.of(), Map.of()); + } public CompilerBuildOutput { bytecodeArtifact = bytecodeArtifact == null ? null : bytecodeArtifact.toAbsolutePath().normalize(); requiredCapabilities = List.copyOf(requiredCapabilities); + issues = List.copyOf(issues); context = p.studio.utilities.json.ImmutableJson.object(context); } } } diff --git a/prometeu-studio-core/src/main/java/p/studio/core/shipper/StudioShipperService.java b/prometeu-studio-core/src/main/java/p/studio/core/shipper/StudioShipperService.java index 421109ee..758447a4 100644 --- a/prometeu-studio-core/src/main/java/p/studio/core/shipper/StudioShipperService.java +++ b/prometeu-studio-core/src/main/java/p/studio/core/shipper/StudioShipperService.java @@ -55,51 +55,130 @@ public final class StudioShipperService implements Shipper, SavedProjectPreparat } @Override public ShipperPrepareResult prepareNow(ProjectReference project, Consumer sink) { - Objects.requireNonNull(project, "project"); - Objects.requireNonNull(sink, "sink"); - final List logs = new ArrayList<>(); - final List diagnostics = new ArrayList<>(); + Objects.requireNonNull(project); Objects.requireNonNull(sink); + var logs = new ArrayList(); + var issues = new ArrayList(); + var stages = new java.util.LinkedHashMap(); + for (var stage : List.of("compiler-build", "pack-validation", "pack", "manifest")) stages.put(stage, "not-run"); + java.util.Map inputs = java.util.Map.of(); + String current = "compiler-build"; try { - checkCancelled(); - final CompilerBuildGateway.CompilerBuildOutput build = compiler.compile(project, + checkCancelled(); stages.put(current, "running"); + var build = compiler.compile(project, message -> emit(logs, sink, ShipperLogEntry.info(ShipperLogSource.BUILD, normalize(message)))); - checkCancelled(); - final var cartridge = p.studio.core.project.ProjectCartridgeConfiguration.adopt(project, mapper); - if ((cartridge.memcardSlots() != null) != build.requiredCapabilities().contains("memcard")) { + inputs = build.context().isEmpty() ? java.util.Map.of("projectRoot", project.rootPath().toString(), "compilerDiagnosticCoverage", "legacy") : build.context(); + issues.addAll(build.issues()); + var compilerEvaluation = p.studio.utilities.json.DiagnosticPayloads.evaluate(issues.stream().map(p.studio.api.diagnostic.StudioDiagnostic::toMap).toList()); + if (!"passed".equals(compilerEvaluation)) { + stages.put(current, compilerEvaluation); + return finish(ShipperPreparationStatus.FAILED, logs, null, List.of(), issues, stages, inputs, compilerEvaluation); + } + stages.put(current, "passed"); + checkCancelled(); current = "pack-validation"; stages.put(current, "running"); + var cartridge = p.studio.core.project.ProjectCartridgeConfiguration.adopt(project, mapper); + if ((cartridge.memcardSlots() != null) != build.requiredCapabilities().contains("memcard")) throw new IllegalArgumentException("memcard_slots and compiled memcard capability must be declared together"); - } - if (build.bytecodeArtifact() != null) { - emit(logs, sink, ShipperLogEntry.info(ShipperLogSource.BUILD, - "Prepared program bytecode at " + build.bytecodeArtifact())); - } - final PackerProjectContext context = new PackerProjectContext(project.name(), project.rootPath()); - final var validation = packer.validatePackWorkspace(new ValidatePackWorkspaceRequest(context)); + if (build.bytecodeArtifact() != null) emit(logs, sink, ShipperLogEntry.info(ShipperLogSource.BUILD, + "Prepared program bytecode at " + build.bytecodeArtifact())); + var context = new PackerProjectContext(project.name(), project.rootPath()); + var validation = packer.validatePackWorkspace(new ValidatePackWorkspaceRequest(context)); emit(logs, sink, logFor(validation.status(), ShipperLogSource.PACK_VALIDATION, validation.summary())); - validation.assets().forEach(asset -> asset.diagnostics().forEach(value -> diagnostics.add(value.message()))); - if (!validation.canPack()) { - return ShipperPrepareResult.failed(logs, diagnostics); + int validationIssueStart = issues.size(); + for (var asset : validation.assets()) for (var diagnostic : asset.diagnostics()) { + issues.add(packerIssue("PACKER_" + diagnostic.category().name(), diagnostic.severity().name(), diagnostic.message(), + p.studio.utilities.json.ImmutableJson.fields("category", diagnostic.category().name(), "blocking", diagnostic.blocking(), + "assetId", asset.assetId(), "assetName", asset.assetName(), "assetPath", asset.assetPath().toString(), + "evidencePath", diagnostic.evidencePath() == null ? null : diagnostic.evidencePath().toString(), + "bankAvailability", "not-recorded"), project, asset.assetPath())); } checkCancelled(); - final var packed = packer.packWorkspace(new PackWorkspaceRequest(context)); - checkCancelled(); - emit(logs, sink, logFor(packed.status(), ShipperLogSource.PACK, packed.summary())); + if (validation.status() != PackerOperationStatus.SUCCESS || !validation.canPack()) { + if (issues.size() == validationIssueStart) issues.add(packerIssue("PACKER_BUILD", "ERROR", validation.summary(), + java.util.Map.of("blocking", true, "category", "BUILD"), project, null)); + stages.put(current, "rejected"); + return finish(ShipperPreparationStatus.FAILED, logs, null, List.of(), issues, stages, inputs, "rejected"); + } + stages.put(current, "passed"); checkCancelled(); current = "pack"; stages.put(current, "running"); + var packed = packer.packWorkspace(new PackWorkspaceRequest(context)); + checkCancelled(); emit(logs, sink, logFor(packed.status(), ShipperLogSource.PACK, packed.summary())); if (packed.status() != PackerOperationStatus.SUCCESS) { - diagnostics.add(packed.summary()); - return ShipperPrepareResult.failed(logs, diagnostics); + issues.add(packerIssue("PACKER_BUILD", "ERROR", packed.summary(), java.util.Map.of("category", "BUILD", "blocking", true), project, null)); + stages.put(current, "rejected"); + return finish(ShipperPreparationStatus.FAILED, logs, null, List.of(), issues, stages, inputs, "rejected"); } - final List artifacts = packed.result().emittedArtifacts().stream() - .map(value -> value.path().toAbsolutePath().normalize()).toList(); + stages.put(current, "passed"); + var artifacts = packed.result().emittedArtifacts().stream().map(value -> value.path().toAbsolutePath().normalize()).toList(); artifacts.forEach(path -> emit(logs, sink, ShipperLogEntry.info(ShipperLogSource.PACK, "Emitted " + path))); - final Path manifest = writeManifest(project, build, logs, sink); - return new ShipperPrepareResult(ShipperPreparationStatus.SUCCESS, logs, manifest, artifacts, diagnostics); - } catch (IOException | RuntimeException exception) { - final String message = exception.getMessage() == null ? exception.getClass().getSimpleName() : exception.getMessage(); - diagnostics.add(message); + current = "manifest"; stages.put(current, "running"); checkCancelled(); + var manifest = writeManifest(project, build, logs, sink); checkCancelled(); stages.put(current, "passed"); + return finish(ShipperPreparationStatus.SUCCESS, logs, manifest, artifacts, issues, stages, inputs, "passed"); + } catch (java.util.concurrent.CancellationException cancelled) { + stages.put(current, "cancelled"); + return finish(ShipperPreparationStatus.CANCELLED, logs, null, List.of(), issues, stages, inputs, "cancelled"); + } catch (CompilerBuildFailure failure) { + issues.addAll(failure.issues()); inputs = failure.context(); + if (Thread.currentThread().isInterrupted()) { + stages.put(current, "cancelled"); + return finish(ShipperPreparationStatus.CANCELLED, logs, null, List.of(), issues, stages, inputs, "cancelled"); + } + var evaluation = failure.payloadAvailable() ? p.studio.utilities.json.DiagnosticPayloads.evaluate(issues.stream().map(p.studio.api.diagnostic.StudioDiagnostic::toMap).toList()) : "failed"; + if ("passed".equals(evaluation) || "failed".equals(inputs.get("validationStatus"))) evaluation = "failed"; + if (issues.isEmpty()) { + var unknown = new java.util.LinkedHashMap<>(p.studio.utilities.json.DiagnosticPayloads.issue("STUDIO_COMPILER_FAILURE", "ERROR", failure.getMessage())); + unknown.put("limitations", List.of(p.studio.utilities.json.DiagnosticPayloads.limitation("DIAGNOSTICS_UNAVAILABLE", "Compiler did not provide structured issues"))); + issues.add(p.studio.api.diagnostic.StudioDiagnostic.fromMap(unknown)); + } + stages.put(current, "rejected".equals(evaluation) ? "rejected" : "failed"); + emit(logs, sink, ShipperLogEntry.error(ShipperLogSource.BUILD, failure.getMessage())); + return finish(ShipperPreparationStatus.FAILED, logs, null, List.of(), issues, stages, inputs, evaluation); + } catch (IOException | RuntimeException failure) { + if (Thread.currentThread().isInterrupted()) { + stages.put(current, "cancelled"); + return finish(ShipperPreparationStatus.CANCELLED, logs, null, List.of(), issues, stages, inputs, "cancelled"); + } + String message = Objects.requireNonNullElse(failure.getMessage(), failure.getClass().getSimpleName()); + var value = new java.util.LinkedHashMap<>(p.studio.utilities.json.DiagnosticPayloads.issue("STUDIO_BUILD_FAILED", "ERROR", message)); + value.put("producer", p.studio.utilities.json.ImmutableJson.fields("component", "studio", "owner", "studio", "languageId", null)); + value.put("stageId", current); value.put("phase", current); + value.put("failureKind", failure instanceof IOException || failure.getCause() instanceof IOException ? "infrastructure-failure" : "unknown"); + issues.add(p.studio.api.diagnostic.StudioDiagnostic.fromMap(value)); stages.put(current, "failed"); emit(logs, sink, ShipperLogEntry.error(ShipperLogSource.BUILD, message)); - return ShipperPrepareResult.failed(logs, diagnostics); + return finish(ShipperPreparationStatus.FAILED, logs, null, List.of(), issues, stages, inputs, "failed"); } } + private ShipperPrepareResult finish(ShipperPreparationStatus status, List logs, Path manifest, + List artifacts, List issues, + java.util.Map stages, java.util.Map context, String evaluation) { + var view = p.studio.utilities.json.DiagnosticPayloads.view(issues.stream().map(p.studio.api.diagnostic.StudioDiagnostic::toMap).toList(), + "build", evaluation, stages.entrySet().stream().map(entry -> p.studio.utilities.json.DiagnosticPayloads.stage(entry.getKey(), entry.getValue())).toList(), "partial"); + var summary = new java.util.LinkedHashMap<>(view.summary()); + var coverage = new java.util.LinkedHashMap<>((java.util.Map)summary.get("coverage")); + var limitations = new ArrayList<>((List>)coverage.get("limitations")); + if ("legacy".equals(context.get("compilerDiagnosticCoverage"))) { + summary.put("counts", p.studio.utilities.json.ImmutableJson.fields("errors", null, "warnings", null, "infos", null)); + coverage.put("details", issues.isEmpty() ? "unavailable" : "partial"); + limitations.add(p.studio.utilities.json.DiagnosticPayloads.limitation("LEGACY_COMPILER_DIAGNOSTICS", "Compiler gateway did not supply a structured diagnostic collection")); + } + if (status == ShipperPreparationStatus.CANCELLED) { + coverage.put("details", "partial"); + limitations.add(p.studio.utilities.json.DiagnosticPayloads.limitation("CANCELLED_EVALUATION", "Only observations collected before cancellation are available")); + } + coverage.put("limitations", limitations); summary.put("coverage", coverage); + return new ShipperPrepareResult(status, logs, manifest, artifacts, issues.stream().map(p.studio.api.diagnostic.StudioDiagnostic::message).toList(), + view.issues().stream().map(p.studio.api.diagnostic.StudioDiagnostic::fromMap).toList(), summary, context); + } + + private p.studio.api.diagnostic.StudioDiagnostic packerIssue(String code, String severity, String message, + java.util.Map facts, ProjectReference project, Path path) { + var value = new java.util.LinkedHashMap<>(p.studio.utilities.json.DiagnosticPayloads.issue(code, severity, message)); + value.put("producer", p.studio.utilities.json.ImmutableJson.fields("component", "packer", "owner", "packer", "languageId", null)); + value.put("phase", "pack"); value.put("facts", facts); value.put("failureKind", "program-rejection"); + value.put("origin", p.studio.utilities.json.ImmutableJson.fields("uri", path != null && path.startsWith(project.rootPath()) ? path.toUri().toString() : null, + "span", null, "range", null, "availability", path == null ? "unavailable" : "partial")); + return p.studio.api.diagnostic.StudioDiagnostic.fromMap(value); + } + private static void checkCancelled() { if (Thread.currentThread().isInterrupted()) throw new java.util.concurrent.CancellationException("Build cancelled"); } diff --git a/prometeu-studio-core/src/test/java/p/studio/core/language/TaskLanguageQueriesTest.java b/prometeu-studio-core/src/test/java/p/studio/core/language/TaskLanguageQueriesTest.java index 431331e3..1fb87200 100644 --- a/prometeu-studio-core/src/test/java/p/studio/core/language/TaskLanguageQueriesTest.java +++ b/prometeu-studio-core/src/test/java/p/studio/core/language/TaskLanguageQueriesTest.java @@ -49,7 +49,10 @@ class TaskLanguageQueriesTest { assertEquals(ControlResult.Status.BUSY, assertThrows(ControlDeniedException.class, () -> session.submit(task, "overlap", () -> null)).status()); } finally { worker.stopped.complete(null); } - assertSame(failure, assertThrows(ExecutionException.class, () -> failed.get(5, TimeUnit.SECONDS)).getCause()); + var returned = assertThrows(ExecutionException.class, () -> failed.get(5, TimeUnit.SECONDS)).getCause(); + assertInstanceOf(AutomationException.class, returned); + assertEquals(failure.failure().code(), ((AutomationException)returned).failure().code()); + assertEquals(true, ((AutomationException)returned).failure().details().get("workerTerminated")); var next = caller.submit(() -> queries.query(root, task.value(), "definition", Map.of())); var nextWorker = submitted.poll(5, TimeUnit.SECONDS); assertNotNull(nextWorker); diff --git a/prometeu-studio-core/src/test/java/p/studio/core/session/DefaultAutomationSessionTest.java b/prometeu-studio-core/src/test/java/p/studio/core/session/DefaultAutomationSessionTest.java index ec7effbc..35e15aec 100644 --- a/prometeu-studio-core/src/test/java/p/studio/core/session/DefaultAutomationSessionTest.java +++ b/prometeu-studio-core/src/test/java/p/studio/core/session/DefaultAutomationSessionTest.java @@ -254,6 +254,15 @@ class DefaultAutomationSessionTest { assertEquals(CLOSED, await(grant).status()); assertTrue(s.snapshot().closed()); } + @Test void failedTaskResourceCleanupIsRetainedForExplicitRetry() { + var s = session(); s.grant(false).toCompletableFuture().join(); var identity = s.acquire().task(); + var attempts = new java.util.concurrent.atomic.AtomicInteger(); + s.onTaskEnd(identity, () -> { if (attempts.incrementAndGet() == 1) throw new IllegalStateException("release failed"); }); + assertEquals(CLEANUP_FAILED, await(s.reclaim()).status()); + assertEquals(ControlState.RETURNING_CONTROL, s.snapshot().state()); assertFalse(s.snapshot().manualAllowed()); + assertEquals(RETURNED, await(s.reclaim()).status()); assertEquals(2, attempts.get()); assertTrue(s.snapshot().manualAllowed()); + } + static class Documents implements DocumentHandoff { boolean dirty, failSave; int saves, refreshes; CompletableFuture save = CompletableFuture.completedFuture(null), refresh = CompletableFuture.completedFuture(null); diff --git a/prometeu-studio-core/src/test/java/p/studio/core/shipper/StructuredShipperTest.java b/prometeu-studio-core/src/test/java/p/studio/core/shipper/StructuredShipperTest.java new file mode 100644 index 00000000..8c00ee57 --- /dev/null +++ b/prometeu-studio-core/src/test/java/p/studio/core/shipper/StructuredShipperTest.java @@ -0,0 +1,82 @@ +package p.studio.core.shipper; + +import org.junit.jupiter.api.*; +import org.junit.jupiter.api.io.TempDir; +import p.studio.api.project.*; +import p.studio.api.operation.*; +import p.studio.api.shipper.*; +import p.studio.api.diagnostic.StudioDiagnostic; +import p.studio.utilities.json.*; +import p.packer.*; +import p.packer.messages.*; +import com.fasterxml.jackson.databind.ObjectMapper; +import java.nio.file.*; +import java.util.*; +import java.util.concurrent.*; +import java.lang.reflect.Proxy; +import static org.junit.jupiter.api.Assertions.*; + +class StructuredShipperTest { + @TempDir Path root; + StudioShipperService shipper(CompilerBuildGateway compiler, boolean cancelPack) { + var packer = (PackerWorkspaceService)Proxy.newProxyInstance(PackerWorkspaceService.class.getClassLoader(), new Class[]{PackerWorkspaceService.class}, (proxy, method, args) -> { + if (method.getName().equals("validatePackWorkspace")) { + if (cancelPack) throw new CancellationException("pack validation cancelled"); + return new ValidatePackWorkspaceResult(PackerOperationStatus.FAILED, "failed without assets", List.of()); + } + throw new AssertionError("No subsequent stage is allowed: " + method.getName()); + }); + var executor = new OperationExecutor() { public OperationHandle submit(String summary, Callable work) { throw new AssertionError(); } }; + return new StudioShipperService(compiler, packer, new ObjectMapper(), executor); + } + ProjectReference project() { return new ProjectReference("case", "1", "pbs", 1, ProjectTarget.Game, root); } + @Test void failedPackerWithEmptyAssetsCannotApproveAndKeepsCompilerWarning() throws Exception { + Files.writeString(root.resolve("prometeu.json"), "{\"app_id\":1}"); + var warning = StudioDiagnostic.fromMap(DiagnosticPayloads.issue("ORIGINAL_WARNING", "WARNING", "warning")); + var service = shipper((project, sink) -> new CompilerBuildGateway.CompilerBuildOutput(null, List.of(), List.of(warning), Map.of("analysisId", "original")), false); + var result = service.prepareNow(project(), ignored -> {}); + assertEquals(ShipperPreparationStatus.FAILED, result.status()); + assertEquals("rejected", result.summary().get("validationStatus")); + assertEquals(List.of("ORIGINAL_WARNING", "PACKER_BUILD"), result.issues().stream().map(StudioDiagnostic::code).toList()); + assertTrue(result.summary().toString().contains("not-run")); + assertFalse(Files.exists(root.resolve("build/manifest.json"))); + } + @Test void packerDiagnosticPreservesAssetEvidenceAndNeverInventsBankIdentity() throws Exception { + Files.writeString(root.resolve("prometeu.json"), "{\"app_id\":1}"); + var diagnostic = new p.packer.dtos.PackerDiagnosticDTO(p.packer.messages.diagnostics.PackerDiagnosticSeverity.ERROR, + p.packer.messages.diagnostics.PackerDiagnosticCategory.STRUCTURAL, "invalid asset", root.resolve("evidence.json"), true); + var asset = new p.packer.dtos.PackerPackValidationAssetDTO(42, "fixture", root.resolve("assets/fixture.json"), 1, List.of(diagnostic)); + var packer = (PackerWorkspaceService)Proxy.newProxyInstance(PackerWorkspaceService.class.getClassLoader(), new Class[]{PackerWorkspaceService.class}, (proxy, method, args) -> { + if (method.getName().equals("validatePackWorkspace")) return new ValidatePackWorkspaceResult(PackerOperationStatus.FAILED, "blocked", List.of(asset)); + throw new AssertionError(method.getName()); + }); + var executor = new OperationExecutor() { public OperationHandle submit(String summary, Callable work) { throw new AssertionError(); } }; + var service = new StudioShipperService((project, sink) -> new CompilerBuildGateway.CompilerBuildOutput(null,List.of()), packer, new ObjectMapper(), executor); + var result = service.prepareNow(project(), ignored -> {}); var issue = result.issues().getFirst().toMap(); + assertEquals("PACKER_STRUCTURAL", issue.get("code")); assertEquals("studio-adapter", issue.get("codeOrigin")); + var facts = (Map)issue.get("facts"); assertEquals(true, facts.get("blocking")); assertEquals(42, facts.get("assetId")); + assertEquals(root.resolve("evidence.json").toString(), facts.get("evidencePath")); + assertEquals("not-recorded", facts.get("bankAvailability")); assertFalse(facts.containsKey("bankId")); + } + @Test void neutralCompilerFailureKeepsPayloadAndDoesNotRunPacker() { + var value = new LinkedHashMap<>(DiagnosticPayloads.issue("PBC_INVALID_IR", "ERROR", "invalid RET")); + value.put("checkId", "compiler.verify.ret-stack-height"); value.put("failureKind", "program-rejection"); + value.put("facts", Map.of("expectedHeight", 0, "actualHeight", 1)); + var issue = StudioDiagnostic.fromMap(value); + var service = shipper((project, sink) -> { throw new CompilerBuildFailure("rejected", List.of(issue), Map.of("analysisId", "original"), true); }, false); + var result = service.prepareNow(project(), ignored -> {}); + assertEquals(issue.toMap(), result.issues().getFirst().toMap()); assertEquals("original", result.context().get("analysisId")); + assertEquals("rejected", result.summary().get("validationStatus")); + } + @Test void cancellationDuringCompileOrPackRemainsCancellation() throws Exception { + Files.writeString(root.resolve("prometeu.json"), "{\"app_id\":1}"); + for (boolean duringPack : List.of(false, true)) { + var result = shipper((project, sink) -> { + if (!duringPack) throw new CancellationException(); + return new CompilerBuildGateway.CompilerBuildOutput(null, List.of()); + }, duringPack).prepareNow(project(), ignored -> {}); + assertEquals(ShipperPreparationStatus.CANCELLED, result.status()); + assertEquals("cancelled", result.summary().get("validationStatus")); assertNull(result.manifestPath()); + } + } +} diff --git a/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticNavigation.java b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticNavigation.java new file mode 100644 index 00000000..43c5577f --- /dev/null +++ b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticNavigation.java @@ -0,0 +1,40 @@ +package p.studio.ui.javafx.diagnostics; + +import java.nio.file.*; +import java.net.URI; +import java.util.*; + +/** Read-only navigation: admission and revision checks precede any range selection. */ +public final class DiagnosticNavigation { + private DiagnosticNavigation() {} + public record Source(String status, Path path, String text, int start, int end) {} + public static Source read(Path root, Map origin) { + try { + if (!(origin.get("uri") instanceof String uri) || !uri.startsWith("file:")) + return new Source("Source unavailable; no admitted physical URI", null, "", 0, 0); + var path = Path.of(URI.create(uri)).toRealPath(); + if (!path.startsWith(root.toRealPath()) || !Files.isRegularFile(path)) + return new Source("Source unavailable outside project admission", null, "", 0, 0); + byte[] bytes; + try (var input = Files.newInputStream(path)) { bytes = input.readNBytes(4 * 1024 * 1024 + 1); } + if (bytes.length > 4 * 1024 * 1024) return new Source("Source exceeds navigation limit", null, "", 0, 0); + var text = java.nio.charset.StandardCharsets.UTF_8.newDecoder().decode(java.nio.ByteBuffer.wrap(bytes)).toString(); + var digest = HexFormat.of().formatHex(java.security.MessageDigest.getInstance("SHA-256").digest(bytes)); + if (origin.get("source") instanceof Map identity && "mixed".equals(identity.get("revisionAvailability"))) + return new Source("Mixed analysis revisions; showing current source read-only", path, text, 0, 0); + if (!digest.equals(origin.get("revision"))) + return new Source(origin.get("revision") == null ? "Revision unavailable; showing current source read-only" : "Stale diagnostic; showing changed source read-only", path, text, 0, 0); + if (!(origin.get("range") instanceof Map range)) return new Source("Current source; diagnostic has no range", path, text, 0, 0); + int start = offset(text, (Map) range.get("start")), end = offset(text, (Map) range.get("end")); + if (start < 0 || end < start) return new Source("Current source; range unavailable", path, text, 0, 0); + return new Source("Current source · read-only", path, text, start, end); + } catch (Exception unavailable) { return new Source("Source unavailable", null, "", 0, 0); } + } + private static int offset(String text, Map position) { + if (position == null || !(position.get("line") instanceof Number line) || !(position.get("character") instanceof Number character)) return -1; + int start = 0; + for (int i = 0; i < line.intValue(); i++) { start = text.indexOf('\n', start); if (start < 0) return -1; start++; } + int end = text.indexOf('\n', start); if (end < 0) end = text.length(); + return character.intValue() < 0 || start + character.intValue() > end ? -1 : start + character.intValue(); + } +} diff --git a/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticResultsPane.java b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticResultsPane.java new file mode 100644 index 00000000..8ad53001 --- /dev/null +++ b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/diagnostics/DiagnosticResultsPane.java @@ -0,0 +1,80 @@ +package p.studio.ui.javafx.diagnostics; + +import javafx.application.Platform; +import javafx.scene.control.*; +import javafx.scene.layout.VBox; +import javafx.stage.Stage; +import javafx.scene.Scene; +import java.nio.file.Path; +import java.util.*; +import java.util.concurrent.CompletableFuture; +import com.fasterxml.jackson.databind.ObjectMapper; + +/** UI of the canonical bounded public view, shared by DEV and build. */ +public final class DiagnosticResultsPane extends VBox { + private final Path root; + private Map displayed = Map.of(); + private static final ObjectMapper JSON = new ObjectMapper(); + public DiagnosticResultsPane(Path root) { super(8); this.root = root; setId("diagnostic-results"); setFillWidth(true); setMaxWidth(Double.MAX_VALUE); } + public void show(Map view) { + if (displayed.equals(view)) return; + displayed = view; getChildren().clear(); + if (view.isEmpty()) return; + var summary = (Map)view.getOrDefault("summary", Map.of()); + var counts = (Map)summary.getOrDefault("counts", null); + var status = new Label(Objects.toString(summary.get("scope"), "Result") + ": " + Objects.toString(summary.get("validationStatus"), "not evaluated") + + (counts == null ? "" : " · errors " + count(counts, "errors") + " · warnings " + count(counts, "warnings") + " · info " + count(counts, "infos"))); + status.setWrapText(true); getChildren().add(status); + var stages = (List)summary.getOrDefault("stages", null); + if (stages != null && !stages.isEmpty()) { + var stageText = new Label(stages.stream().map(raw -> { var stage = (Map)raw; return stage.get("stageId") + ": " + stage.get("status"); }).collect(java.util.stream.Collectors.joining(" · "))); + stageText.setWrapText(true); getChildren().add(stageText); + } + var coverage = (Map)summary.getOrDefault("coverage", null); + if (coverage != null) { + var coverageText = new Label("Details: " + coverage.get("details") + " · input revisions: " + coverage.get("revisions")); + coverageText.setWrapText(true); getChildren().add(coverageText); + if (coverage.get("limitations") instanceof List limits && !limits.isEmpty()) { + var limitsText = new Label(pretty(limits)); limitsText.setWrapText(true); getChildren().add(limitsText); + } + } + for (var raw : (List) view.getOrDefault("issues", List.of())) { + var issue = (Map) raw; + var explanation = (Map) issue.getOrDefault("explanation", Map.of()); + var body = new VBox(6); + var rule = new Label(Objects.toString(explanation.get("summary"), "Explanation unavailable")); rule.setWrapText(true); + body.getChildren().add(rule); + for (var key : List.of("checkId", "facts", "semanticContext", "origin", "related", "suggestedChecks", "limitations")) { + var details = new TextArea(pretty(issue.get(key))); details.setEditable(false); details.setWrapText(true); details.setPrefRowCount(4); + var section = new TitledPane(key, details); section.setAnimated(false); section.setExpanded(false); body.getChildren().add(section); + } + addOrigin(body, "Open source", issue.get("origin")); + for (var related : (List) issue.getOrDefault("related", List.of())) { + var relation = (Map) related; + addOrigin(body, "Open related source", relation.get("origin")); + } + var item = new TitledPane(issue.get("severity") + " · " + issue.get("code") + " · " + issue.get("message"), body); + item.setAnimated(false); item.setExpanded(false); item.setId("diagnostic-" + issue.get("issueId")); getChildren().add(item); + } + } + private void addOrigin(VBox body, String label, Object raw) { + if (!(raw instanceof Map)) return; + var origin = (Map) raw; + var button = new Button(label); button.setDisable(origin.get("uri") == null); + button.setOnAction(event -> { + button.setDisable(true); + CompletableFuture.supplyAsync(() -> DiagnosticNavigation.read(root, origin)).thenAccept(source -> Platform.runLater(() -> { + button.setDisable(false); + var text = new TextArea(source.text()); text.setEditable(false); text.selectRange(source.start(), source.end()); + var window = new Stage(); window.setTitle(source.status()); + window.setScene(new Scene(new VBox(8, new Label(source.status()), text), 900, 600)); + if (getScene() != null) window.initOwner(getScene().getWindow()); window.show(); + })); + }); body.getChildren().add(button); + } + private static String count(Map counts, String key) { return Objects.toString(counts.get(key), "unknown"); } + private static String pretty(Object value) { + try { return JSON.writerWithDefaultPrettyPrinter().writeValueAsString(value); } + catch (Exception impossible) { throw new IllegalArgumentException("Invalid diagnostic JSON", impossible); } + } +} diff --git a/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/builder/ShipperWorkspace.java b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/builder/ShipperWorkspace.java index ca1a0c45..b93a0438 100644 --- a/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/builder/ShipperWorkspace.java +++ b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/builder/ShipperWorkspace.java @@ -18,6 +18,7 @@ import p.studio.ui.javafx.workspaces.WorkspaceId; public class ShipperWorkspace extends Workspace { private final BorderPane root = new BorderPane(); + private final p.studio.ui.javafx.diagnostics.DiagnosticResultsPane diagnosticResults; private final TextArea logs = new TextArea(); private final Button buildButton = new Button(); private final Button clearButton = new Button(); @@ -30,13 +31,15 @@ public class ShipperWorkspace extends Workspace { super(projectReference, eventBus); this.shipperService = java.util.Objects.requireNonNull(shipperService, "shipperService"); this.i18n = java.util.Objects.requireNonNull(i18n, "i18n"); + diagnosticResults = new p.studio.ui.javafx.diagnostics.DiagnosticResultsPane(projectReference.rootPath()); final var toolbar = buildToolBar(); root.setTop(toolbar); final var projectArea = buildProjectArea(); final var logsPane = buildLogsPane(); - final var split = new SplitPane(projectArea, logsPane); + var diagnosticScroll = new ScrollPane(diagnosticResults); diagnosticScroll.setFitToWidth(true); + final var split = new SplitPane(projectArea, diagnosticScroll, logsPane); split.setOrientation(Orientation.VERTICAL); split.setDividerPositions(0.5); @@ -84,10 +87,11 @@ public class ShipperWorkspace extends Workspace { "[%s] %s%s".formatted(entry.source().name(), entry.message(), System.lineSeparator())))); buildOperation = operation; operation.completion() - .whenComplete((result, failure) -> Platform.runLater(() -> { + .whenComplete((result, failure) -> operation.termination().whenComplete((stopped, stopFailure) -> Platform.runLater(() -> { if (buildOperation != operation) { return; } + if (result != null) diagnosticResults.show(result.diagnosticView()); buildOperation = null; buildButton.setDisable(false); if (failure != null) { @@ -96,7 +100,7 @@ public class ShipperWorkspace extends Workspace { java.util.Objects.requireNonNullElse(cause.getMessage(), cause.getClass().getSimpleName()), System.lineSeparator())); } - })); + }))); }); clearButton.textProperty().bind(i18n.bind(I18n.WORKSPACE_SHIPPER_BUTTON_CLEAR)); diff --git a/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspace.java b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspace.java index 4afa4c0b..9110abdf 100644 --- a/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspace.java +++ b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspace.java @@ -23,6 +23,7 @@ public final class DevWorkspace extends Workspace { private final I18nService i18n; private final Label state = new Label(), identity = new Label(), operation = new Label(), imageStatus = new Label(); private final TextArea diagnostics = new TextArea(), history = new TextArea(); + private final p.studio.ui.javafx.diagnostics.DiagnosticResultsPane diagnosticResults; private final ImageView canvas = new ImageView(); private final Button grant = new Button(), reclaim = new Button(); private final Button configuration = new Button(); @@ -44,6 +45,7 @@ public final class DevWorkspace extends Workspace { AgentConnectionGuide connectionGuide) { super(project, events); this.automation = automation; this.i18n = i18n; this.connectionGuide = java.util.Objects.requireNonNull(connectionGuide); projectRoot = project.rootPath(); + diagnosticResults = new p.studio.ui.javafx.diagnostics.DiagnosticResultsPane(projectRoot); localeListener = (o, before, after) -> apply(this.automation.snapshot()); scroll.setFitToWidth(true); root.setPadding(new Insets(16)); root.getStyleClass().add("dev-workspace"); @@ -77,7 +79,7 @@ public final class DevWorkspace extends Workspace { root.getChildren().addAll(new Label(project.name() + " — " + project.rootPath()), state, new HBox(10, grant, reclaim, configuration), discardGameData, availability, copyStatus, instructions, warning, operation, imageStatus, imagePane, identity, - pane(I18n.DEV_DIAGNOSTICS, diagnostics), pane(I18n.DEV_HISTORY, history)); + pane(I18n.DEV_DIAGNOSTICS, diagnostics), diagnosticResults, pane(I18n.DEV_HISTORY, history)); apply(automation.snapshot()); } @@ -136,6 +138,7 @@ public final class DevWorkspace extends Workspace { boolean blockedReturn = snapshot.state() == ControlState.RETURNING_CONTROL && !snapshot.diagnostics().isEmpty(); discardGameData.setVisible(blockedReturn); discardGameData.setManaged(blockedReturn); identity.setText(view.identity()); operation.setText(view.operation()); + diagnosticResults.show(view.diagnosticResult()); diagnostics.setText(view.diagnostics()); history.setText(view.calls()); imageStatus.setText(i18n.text(view.capture() == null ? I18n.DEV_NO_FRAME : view.stale() ? I18n.DEV_STALE_FRAME : I18n.DEV_CURRENT_FRAME)); if (rendered != view.capture()) { diff --git a/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspaceProjection.java b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspaceProjection.java index b4c149cf..f0e940b1 100644 --- a/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspaceProjection.java +++ b/prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspaceProjection.java @@ -3,7 +3,7 @@ package p.studio.ui.javafx.workspaces.dev; import p.studio.api.automation.*; public record DevWorkspaceProjection(ControlState state, boolean grantEnabled, boolean reclaimEnabled, - boolean stale, CanonicalCapture capture, String identity, String operation, String diagnostics, String calls) { + boolean stale, CanonicalCapture capture, String identity, String operation, String diagnostics, String calls, java.util.Map diagnosticResult) { public static DevWorkspaceProjection from(AutomationSnapshot s) { var frame = s.capture(); String identity = frame == null ? "" : "session=" + frame.sessionId() + " | build=" + frame.buildId() @@ -11,6 +11,6 @@ public record DevWorkspaceProjection(ControlState state, boolean grantEnabled, b + " | " + frame.width() + "×" + frame.height() + " | stride=" + frame.stridePixels(); return new DevWorkspaceProjection(s.state(), s.canGrant(), s.canReclaim(), s.stale(), frame, identity, s.operation() == null ? "" : s.operation().id().value() + " | " + s.operation().state() + " | " + s.operation().summary(), - String.join("\n", s.diagnostics()), String.join("\n", s.calls())); + String.join("\n", s.diagnostics()), String.join("\n", s.calls()), s.diagnosticResult()); } } diff --git a/prometeu-studio-ui-javafx/src/test/java/p/studio/ui/javafx/diagnostics/DiagnosticNavigationTest.java b/prometeu-studio-ui-javafx/src/test/java/p/studio/ui/javafx/diagnostics/DiagnosticNavigationTest.java new file mode 100644 index 00000000..b4b34244 --- /dev/null +++ b/prometeu-studio-ui-javafx/src/test/java/p/studio/ui/javafx/diagnostics/DiagnosticNavigationTest.java @@ -0,0 +1,22 @@ +package p.studio.ui.javafx.diagnostics; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import java.nio.file.*; +import java.util.*; +import static org.junit.jupiter.api.Assertions.*; + +class DiagnosticNavigationTest { + @TempDir Path root; + @Test void unicodeRangeIsSelectedOnlyForMatchingAdmittedRevision() throws Exception { + Path file = root.resolve("main.pbs"); byte[] bytes = "// á 😀\r\nfn x() {}\n".getBytes(java.nio.charset.StandardCharsets.UTF_8); Files.write(file, bytes); + String sha = HexFormat.of().formatHex(java.security.MessageDigest.getInstance("SHA-256").digest(bytes)); + var origin = Map.of("uri", file.toUri().toString(), "revision", sha, "range", Map.of("start", Map.of("line", 1, "character", 3), "end", Map.of("line", 1, "character", 4))); + var current = DiagnosticNavigation.read(root, origin); assertEquals("x", current.text().substring(current.start(), current.end())); + Files.writeString(file, "changed"); var stale = DiagnosticNavigation.read(root, origin); + assertTrue(stale.status().startsWith("Stale")); assertEquals(0, stale.start()); assertEquals(0, stale.end()); + assertNull(DiagnosticNavigation.read(root.resolve("other"), origin).path()); + assertNull(DiagnosticNavigation.read(root, Map.of("uri", "prometeu-source:unowned")).path()); + assertNull(DiagnosticNavigation.read(root, Map.of()).path()); + } +} diff --git a/tools/pbs-production-corpus/PbsProductionCorpusProbe.java b/tools/pbs-production-corpus/PbsProductionCorpusProbe.java new file mode 100644 index 00000000..dcc00e8c --- /dev/null +++ b/tools/pbs-production-corpus/PbsProductionCorpusProbe.java @@ -0,0 +1,138 @@ +import com.fasterxml.jackson.databind.ObjectMapper; +import p.studio.compiler.FrontendRegistryService; +import p.studio.compiler.messages.BuildingIssue; +import p.studio.compiler.messages.BuilderPipelineConfig; +import p.studio.compiler.models.BuilderPipelineContext; +import p.studio.compiler.source.identifiers.FileId; +import p.studio.compiler.workspaces.BuilderPipelineService; +import p.studio.compiler.workspaces.PipelineStage; +import p.studio.compiler.workspaces.stages.*; +import p.studio.utilities.logs.LogAggregator; + +import java.nio.file.*; +import java.security.MessageDigest; +import java.util.*; + +/** Research-only probe: production stages, isolated source projects, no compiler changes. */ +public final class PbsProductionCorpusProbe { + static final ObjectMapper MAPPER = new ObjectMapper(); + static final String ANALYSIS_ID = UUID.randomUUID().toString(); + static int issueIndex; + static final List LOG = new ArrayList<>(); + + public static void main(String[] args) throws Exception { + Path root = Path.of(args[0]).toRealPath(); + boolean optimize = args[1].equals("optimized"); + boolean publicEntry = args.length > 3 && args[3].equals("public"); + var result = new LinkedHashMap(); + result.put("projectRoot", root.toString()); + result.put("optimization", optimize ? "optimized" : "unoptimized"); + result.put("entrypoint", publicEntry ? "BuilderPipelineService.compile" : "public analysis + production compile stages"); + result.put("frontendOrigin", FrontendRegistryService.require("pbs").getClass().getProtectionDomain().getCodeSource().getLocation().toString()); + result.put("sdkOrigin", p.studio.compiler.pbs.stdlib.StdlibEnvironmentResolver.class.getProtectionDomain().getCodeSource().getLocation().toString()); + result.put("javaVersion", System.getProperty("java.version")); + result.put("pipelineOrigin", BuilderPipelineService.class.getProtectionDomain().getCodeSource().getLocation().toString()); + var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, root.toString())); + var logs = LogAggregator.with(LOG::add); + var phases = new ArrayList>(); + result.put("phases", phases); + result.put("status", "infrastructure_failure"); + try { + if (publicEntry) { + var compiled = BuilderPipelineService.INSTANCE.compile(ctx, logs); + result.put("diagnostics", compiled.diagnostics().stream().map(i -> issue(i, ctx)).toList()); + result.put("status", "compiled"); + } else { + var analyzed = BuilderPipelineService.INSTANCE.analyze(ctx, logs); + var phase = new LinkedHashMap(); + phase.put("phase", "analysis"); + phase.put("diagnostics", analyzed.diagnostics().stream().map(i -> issue(i, ctx)).toList()); + boolean failed = analyzed.diagnostics().stream().anyMatch(BuildingIssue::isError); + phase.put("status", failed ? "failed" : "passed"); + phases.add(phase); + if (failed) result.put("status", "analysis_failed"); + else { + var stages = new ArrayList(); + stages.add(new LowerToIRVMPipelineStage()); + if (optimize) stages.add(new OptimizeIRVMPipelineStage()); + stages.add(new EmitBytecodePipelineStage()); + stages.add(new LinkBytecodePipelineStage()); + stages.add(new VerifyBytecodePipelineStage()); + result.put("status", "compiled"); + for (var stage : stages) { + if (!optimize && stage instanceof EmitBytecodePipelineStage) ctx.optimizedIrvm = ctx.irvm; + var issues = stage.run(ctx, logs).asCollection(); + var item = new LinkedHashMap(); + item.put("phase", stage.getClass().getSimpleName()); + item.put("diagnostics", issues.stream().map(i -> issue(i, ctx)).toList()); + boolean errors = issues.stream().anyMatch(BuildingIssue::isError); + item.put("status", errors ? "failed" : "passed"); + phases.add(item); + if (errors) { result.put("status", "compile_failed"); break; } + } + } + } + if (result.get("status").equals("compiled")) { + Path cartridge = root.resolve("cartridge"); + Files.createDirectories(cartridge); + Files.write(cartridge.resolve("program.pbx"), ctx.bytecodeBytes); + var manifest = new LinkedHashMap(); + manifest.put("magic", "PMTU"); manifest.put("cartridge_version", 1); + manifest.put("app_id", 113); manifest.put("title", "PBS production assertion fixture"); + manifest.put("app_version", "1.0.0"); manifest.put("app_mode", "Game"); + manifest.put("capabilities", List.of()); manifest.put("asset_table", List.of()); manifest.put("preload", List.of()); + MAPPER.writerWithDefaultPrettyPrinter().writeValue(cartridge.resolve("manifest.json").toFile(), manifest); + result.put("cartridge", cartridge.toString()); + result.put("bytecodeBytes", ctx.bytecodeBytes.length); + result.put("bytecodeSha256", HexFormat.of().formatHex(MessageDigest.getInstance("SHA-256").digest(ctx.bytecodeBytes))); + } + } catch (Throwable failure) { + result.put("status", failure instanceof p.studio.compiler.exceptions.BuildException + ? "public_compile_rejected" : "pipeline_exception"); + result.put("exception", causes(failure)); + if (failure instanceof p.studio.compiler.exceptions.BuildException buildFailure) + result.put("diagnostics", buildFailure.getDiagnostics().stream().map(i -> issue(i,ctx)).toList()); + } + if (ctx.fileTable != null) { + var files = new LinkedHashMap(); + for (int i = 0; i < ctx.fileTable.size(); i++) { + var f = ctx.fileTable.get(new FileId(i)); + files.put(Integer.toString(i), f.getCanonPath().toString()); + } + result.put("files", files); + } + if (ctx.irBackend != null) { + var functions = new ArrayList>(); + for (var fn : ctx.irBackend.getExecutableFunctions()) { + var file = ctx.fileTable.get(fn.fileId()).getCanonPath(); + if (!file.startsWith(root)) continue; + var f = new LinkedHashMap(); + f.put("callableId", fn.callableId().toString()); f.put("name", fn.callableName()); + f.put("file", root.relativize(file).toString()); + f.put("instructions", fn.instructions().stream().map(Object::toString).toList()); + functions.add(f); + } + result.put("projectFunctions", functions); + } + result.put("inputs", p.studio.compiler.source.diagnostics.CompilerDiagnosticProjection.inputs( + p.studio.compiler.source.diagnostics.SourceReference.snapshot(ctx.fileTable), root)); + result.put("logs", LOG); + Path report = Path.of(args[2]); Files.createDirectories(report.getParent()); + MAPPER.writerWithDefaultPrettyPrinter().writeValue(report.toFile(), result); + System.out.println(result.get("status") + " " + root.getFileName()); + } + + static Map issue(BuildingIssue i, BuilderPipelineContext ctx) { + var sources = p.studio.compiler.source.diagnostics.SourceReference.snapshot(ctx.fileTable); + return p.studio.compiler.source.diagnostics.CompilerDiagnosticProjection.issue(i, sources, + p.studio.compiler.source.diagnostics.CompilerDiagnosticProjection.capturedText(ctx.fileTable), + ctx.rootProjectPathCanon, ANALYSIS_ID + ":" + issueIndex++); + } + + static List> causes(Throwable t) { + var result = new ArrayList>(); + for (int n = 0; t != null && n < 8; n++, t = t.getCause()) + result.add(Map.of("class", t.getClass().getName(), "message", String.valueOf(t.getMessage()))); + return result; + } +} diff --git a/tools/pbs-production-corpus/README.md b/tools/pbs-production-corpus/README.md new file mode 100644 index 00000000..664856d9 --- /dev/null +++ b/tools/pbs-production-corpus/README.md @@ -0,0 +1,23 @@ +# PBS production corpus qualification + +Owner: compiler/pbs. This maintained runner preserves the frozen 28-case input and writes each run to a new directory. It never rebuilds or writes the runtime provider and does not modify a game workspace or memcard. + +Build the candidate with the required regression gate, then run the corpus: + +```bash +./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-compiler:prometeu-build-pipeline:test :prometeu-lsp:prometeu-lsp-v1:test :prometeu-app:test :prometeu-app:installedKnowledgeTest --console=plain +``` + +```bash +python3 tools/pbs-production-corpus/run.py --corpus prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json --distribution prometeu-app/build/install/prometeu-app --runtime-headless /absolute/existing/prometeu-headless --output build/pbs-production-corpus/new-run +``` + +Each case is compiled in a fresh JVM/project outside the checkout. Checkout mode puts current classes/resources first; installed mode includes only candidate JARs and runs outside the checkout. The runner verifies candidate product class freshness and records Java, SDK/compiler origins, JAR/source/PBX/manifest/runtime hashes, Git/worktree state, diagnostic phases and protocol transcripts. + +The required corpus produces 168 observations: 28 cases × checkout/installed × optimized production stages, investigation-only unoptimized stages, and the public optimized facade. Unoptimized means omitting OptimizeIRVMPipelineStage and emitting original IRVM; it is not a public compiler flag. The expected runtime matrix is 108 executions: 27 compiled cases × checkout/installed × two optimization configurations, with 104 normal three-frame successes and four deliberately faulting controls. The file-private case must remain a structured source rejection in all six compile configurations. + +Use --select id1,id2 or --origins checkout/installed for focused investigation. Without those restrictions, exit zero requires the complete expected matrix and classifications. Output directories cannot be reused or target the original AGD-0113 baseline. Runtime processes are terminated and waited for on every path. Logs are local evidence, while summary.json and per-case JSON preserve structured results. + +The focused-cases.json resource is an additional matrix for contextual overloads, noncommutative receiver/argument order, original global storage, service singleton identity and privacy. It does not replace or alter the frozen corpus. Successful compiler proof does not imply qualification of an installed runtime distribution or a live Studio session. The Studio tests independently preserve MCP/LSP diagnostic contracts. + +The completed DEC-0088/PLN-0166 result, original baseline and separate post-fix reports are consolidated in [LSN-0106](../../discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md). diff --git a/tools/pbs-production-corpus/run.py b/tools/pbs-production-corpus/run.py new file mode 100644 index 00000000..f8ffb170 --- /dev/null +++ b/tools/pbs-production-corpus/run.py @@ -0,0 +1,223 @@ +#!/usr/bin/env python3 +"""Isolated production PBS regression matrix. Never writes the received baseline or runtime checkout.""" +import argparse +import hashlib +import json +import os +from pathlib import Path +import platform +import selectors +import signal +import subprocess +import tempfile +import time +import zipfile + +ROOT = Path(__file__).resolve().parents[2] +MODULES = ["prometeu-infra", "prometeu-animation", "prometeu-compiler/prometeu-compiler-core", + "prometeu-compiler/prometeu-frontend-api", "prometeu-compiler/frontends/prometeu-frontend-pbs", + "prometeu-compiler/prometeu-frontend-registry", "prometeu-compiler/prometeu-deps", + "prometeu-compiler/prometeu-build-pipeline"] + + +def sha(path): + return hashlib.sha256(Path(path).read_bytes()).hexdigest() + + +def write(path, data): + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(json.dumps(data, indent=2, ensure_ascii=False) + "\n") + + +class Session: + def __init__(self, binary, directory): + self.stderr_path = directory / "runtime.stderr" + self.stderr = self.stderr_path.open("wb") + self.process = subprocess.Popen([str(binary), "--stdio"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, + stderr=self.stderr, cwd=directory, start_new_session=True) + self.selector = selectors.DefaultSelector() + self.selector.register(self.process.stdout, selectors.EVENT_READ) + self.buffer = bytearray() + self.transcript = [] + self.request = 0 + + def event(self): + deadline = time.monotonic() + 12 + while b"\n" not in self.buffer: + remaining = deadline - time.monotonic() + if remaining <= 0 or not self.selector.select(remaining): + raise TimeoutError("Runtime reply deadline") + data = os.read(self.process.stdout.fileno(), 65536) + if not data: + raise EOFError("Runtime closed stdout") + self.buffer.extend(data) + line, _, self.buffer = self.buffer.partition(b"\n") + value = json.loads(line) + self.transcript.append({"direction": "received", "message": value}) + return value + + def call(self, command, params=None): + self.request += 1 + request = {"requestId": f"pbs-corpus-{self.request}", "command": command, "params": params or {}} + self.transcript.append({"direction": "sent", "message": request}) + self.process.stdin.write(json.dumps(request).encode() + b"\n") + self.process.stdin.flush() + while True: + response = self.event() + if response.get("requestId") != request["requestId"]: + raise AssertionError("Unexpected response correlation") + if response.get("type") == "progress": + continue + if "error" in response: + raise RuntimeError(json.dumps(response["error"])) + return response.get("result") + + def close(self): + try: + if self.process.poll() is None: + try: + self.call("shutdown") + self.process.wait(timeout=5) + except Exception: + os.killpg(self.process.pid, signal.SIGKILL) + self.process.wait(timeout=5) + finally: + self.selector.close() + self.stderr.close() + self.process.stdin.close() + self.process.stdout.close() + + +def execute(binary, cartridge, work): + work.mkdir(parents=True) + result = {"observedRuntime": "infrastructure_failure"} + session = Session(binary, work) + try: + hello = session.event() + assert hello["type"] == "hello" and hello["protocolVersion"]["major"] == 1 + required = ["boot", "advance", "get_state", "get_fault", "shutdown"] + assert set(required) <= set(hello["capabilities"]) + result["hello"] = hello + session.call("initialize", {"protocolVersion": {"major": 1, "minor": min(1, hello["protocolVersion"]["minor"])}, + "requiredCapabilities": required}) + result["boot"] = session.call("boot", {"path": cartridge}) + result["advance"] = advance = session.call("advance", {"frames": 3}) + result["fault"] = fault = session.call("get_fault") + result["state"] = session.call("get_state") + fault = fault.get("fault") if isinstance(fault, dict) and "fault" in fault else fault + result["observedRuntime"] = "fault" if fault is not None else "passed" if advance.get("completed") == 3 else "incomplete" + except Exception as failure: + result["exception"] = {"class": type(failure).__name__, "message": str(failure)} + finally: + session.close() + result.update(workerTerminated=session.process.poll() is not None, processExitCode=session.process.returncode, + transcript=session.transcript, stderr=session.stderr_path.read_text(errors="replace")) + return result + + +def source_rejection(report): + issues = report.get("diagnostics", []) + [i for p in report.get("phases", []) for i in p.get("diagnostics", [])] + return report.get("status") in ("analysis_failed", "public_compile_rejected") and any(i.get("severity") == "ERROR" and (i.get("failureKind") == "program-rejection" or str(i.get("code", "")).startswith("E_")) for i in issues) \ + and not any(i.get("failureKind") in ("internal-failure", "infrastructure-failure", "verification-limit") for i in issues) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--corpus", type=Path, required=True) + parser.add_argument("--distribution", type=Path, required=True) + parser.add_argument("--runtime-headless", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--select", help="Comma-separated IDs; omitted for the complete 168/108 gate") + parser.add_argument("--origins", choices=["checkout", "installed", "both"], default="both") + args = parser.parse_args() + corpus, distribution, binary, output = args.corpus.resolve(strict=True), args.distribution.resolve(strict=True), args.runtime_headless.resolve(strict=True), args.output.resolve() + if output.exists(): + parser.error("Output must be a new directory; evidence is never overwritten") + baseline = ROOT / "discussion/workflow/agendas/AGD-0113-evidence" + if output == baseline or baseline in output.parents: + parser.error("The frozen baseline is read-only") + output.mkdir(parents=True) + cases = json.loads(corpus.read_text())["cases"] + if args.select: + selected = set(args.select.split(",")); assert selected <= {c["id"] for c in cases} + cases = [c for c in cases if c["id"] in selected] + scratch = Path(tempfile.mkdtemp(prefix="pbs-production-corpus-")) + assert not scratch.is_relative_to(ROOT) + java, javac = distribution / "runtime/bin/java", distribution / "runtime/bin/javac" + jars = sorted((distribution / "lib").glob("*.jar")); assert jars + # Verify candidate product classes before mixing checkout classes with third-party dependencies. + freshness = [] + for module in MODULES: + jar = next(p for p in jars if p.name == Path(module).name + ".jar" or p.name.startswith(Path(module).name + "-")) + with zipfile.ZipFile(jar) as archive: + classes = ROOT / module / "build/classes/java/main" + compared = list(classes.rglob("*.class")); assert compared + different = [str(p.relative_to(classes)) for p in compared if archive.read(str(p.relative_to(classes))) != p.read_bytes()] + assert not different, (module, different) + freshness.append({"module": module, "jarSha256": sha(jar), "matchingClasses": len(compared)}) + provenance = {"schemaVersion": 1, "corpusSha256": sha(corpus), "runtime": str(binary), "runtimeSha256": sha(binary), + "platform": platform.platform(), "gitHead": subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True).strip(), + "worktreeStatus": subprocess.check_output(["git", "status", "--short"], cwd=ROOT, text=True).splitlines(), + "java": subprocess.run([str(java), "-version"], capture_output=True, text=True, check=True).stderr, + "distribution": str(distribution), "jars": {p.name: sha(p) for p in jars}, "candidateFreshness": freshness, + "probeSha256": sha(Path(__file__).resolve().with_name("PbsProductionCorpusProbe.java")), "runnerSha256": sha(__file__), + "scratch": str(scratch), "unoptimizedVariant": "Investigation-only: omit OptimizeIRVMPipelineStage and emit original IRVM; not a public compiler flag"} + write(output / "provenance.json", provenance) + observations, executions = [], [] + origins = ["checkout", "installed"] if args.origins == "both" else [args.origins] + for origin in origins: + installed = os.pathsep.join(map(str, jars)) + entries = [ROOT / m / suffix for m in MODULES for suffix in ["build/classes/java/main", "build/resources/main"] if (ROOT / m / suffix).exists()] + cp = os.pathsep.join(map(str, entries)) + os.pathsep + installed if origin == "checkout" else installed + classes = scratch / origin / "classes"; classes.mkdir(parents=True) + subprocess.run([str(javac), "-proc:none", "-cp", cp, "-d", str(classes), str(Path(__file__).resolve().with_name("PbsProductionCorpusProbe.java"))], cwd=scratch, check=True) + for case in cases: + for variant in ["optimized", "unoptimized", "optimized-public"]: + project = scratch / origin / case["id"] / variant + for name, source in case["files"].items(): + path = project / name; path.parent.mkdir(parents=True, exist_ok=True); path.write_text(source) + report_path = output / "compilation" / origin / f"{case['id']}-{variant}.json" + cmd = [str(java), "-cp", str(classes) + os.pathsep + cp, "PbsProductionCorpusProbe", str(project), "unoptimized" if variant == "unoptimized" else "optimized", str(report_path)] + if variant == "optimized-public": cmd.append("public") + try: + completed = subprocess.run(cmd, cwd=scratch, capture_output=True, text=True, timeout=50, check=True) + report = json.loads(report_path.read_text()); report["stderr"] = completed.stderr + except Exception as failure: + report = {"status": "infrastructure_failure", "exception": {"class": type(failure).__name__, "message": str(failure)}} + expected = case["expectedCompile"] + matched = report["status"] == "compiled" if expected == "compiled" else source_rejection(report) + if origin == "installed" and report.get("frontendOrigin"): + assert all(str(distribution) in report.get(key, "") for key in ["frontendOrigin", "pipelineOrigin", "sdkOrigin"]) + sources_unchanged = all((project / name).read_text() == source for name, source in case["files"].items()) + assert sources_unchanged + identity = {"caseId": case["id"], "origin": origin, "variant": variant, "sourceSha256": case["sourceSha256"]} + report.update(identity, expectedCompile=expected, matchesExpectation=matched, sourcesUnchanged=sources_unchanged) + if report["status"] == "compiled": + cartridge = Path(report["cartridge"]) + for name in ["manifest.json", "program.pbx"]: + target = output / "artifacts" / origin / case["id"] / variant / name + target.parent.mkdir(parents=True, exist_ok=True); target.write_bytes((cartridge / name).read_bytes()) + report["manifestSha256"] = sha(cartridge / "manifest.json") + write(report_path, report); observations.append({**identity, "status": report["status"], "matchesExpectation": matched, "report": str(report_path.relative_to(output))}) + print(origin, case["id"], variant, report["status"], matched, flush=True) + if report["status"] == "compiled" and variant != "optimized-public": + result = execute(binary, report["cartridge"], project / "execution") + result.update(identity, bytecodeSha256=report["bytecodeSha256"], expectedRuntime=case["expectedRuntime"]) + result["matchesExpectation"] = result["observedRuntime"] == case["expectedRuntime"] and result["workerTerminated"] + path = output / "execution" / origin / f"{case['id']}-{variant}.json"; write(path, result) + executions.append({**identity, "observedRuntime": result["observedRuntime"], "matchesExpectation": result["matchesExpectation"], "report": str(path.relative_to(output))}) + write(output / "summary.json", {"compilation": observations, "execution": executions}) + failures = [x for x in observations + executions if not x["matchesExpectation"]] + expected_runs = sum(c["expectedCompile"] == "compiled" for c in cases) * len(origins) * 2 + complete = len(observations) == len(cases)*len(origins)*3 and len(executions) == expected_runs + summary = {"compilation": observations, "execution": executions, "compileCount": len(observations), "executionCount": len(executions), + "normalSuccesses": sum(x["observedRuntime"] == "passed" for x in executions), "deliberateFaults": sum(x["observedRuntime"] == "fault" and x["caseId"] == "runtime-trap-control" for x in executions), + "complete": complete, "failures": failures, "passed": complete and not failures} + write(output / "summary.json", summary) + write(output / "checksums.json", {str(p.relative_to(output)): sha(p) for p in output.rglob("*") if p.is_file()}) + print(json.dumps({k:v for k,v in summary.items() if k not in ("compilation", "execution", "failures")})) + return 0 if summary["passed"] else 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tools/vscode-extension/.gitignore b/tools/vscode-extension/.gitignore index b178aece..90b34e40 100644 --- a/tools/vscode-extension/.gitignore +++ b/tools/vscode-extension/.gitignore @@ -3,6 +3,7 @@ node_modules/ # Build output out/* +!out/discovery.js !out/extension.js !out/externalSources.js dist/ diff --git a/tools/vscode-extension/README.md b/tools/vscode-extension/README.md index a3ba908b..14b57f84 100644 --- a/tools/vscode-extension/README.md +++ b/tools/vscode-extension/README.md @@ -7,7 +7,8 @@ This extension does **not** start the language server itself. It connects to the ```text VS Code Extension -> vscode-languageclient - -> TCP 127.0.0.1:7775 + -> project-local .studio/lsp.json + -> TCP 127.0.0.1: -> Prometeu Studio Java/LSP4J ``` @@ -18,11 +19,10 @@ VS Code Extension * VS Code * Prometeu Studio running with the embedded LSP server enabled -The Studio LSP server must be listening on: - -```text -127.0.0.1:7775 -``` +Open the same project in Studio and in the Extension Development Host. Studio +publishes its OS-assigned loopback LSP port in `.studio/lsp.json`. Discovery is +automatic and independent of an automation grant. Rebuild/restart older Studio +versions first: they do not publish this file. ## Install dependencies @@ -80,10 +80,9 @@ View -> Output -> Prometeu LSP ```text Prometeu VS Code extension activated. -Connecting to Prometeu Studio LSP at 127.0.0.1:7775... +Connecting to 127.0.0.1: TCP connection established with Prometeu Studio. -Prometeu Studio LSP client started. -[Info] Hello from Prometeu Studio LSP +Connected to Studio at 127.0.0.1: ``` ## Run commands manually @@ -131,16 +130,39 @@ With Prometeu Studio running, opening `.pbs` or `.barrel` files should activate ## Configuration -Default settings: +Automatic discovery is the default: ```json { + "prometeu.studio.connectionMode": "auto" +} +``` + +Open exactly one local project folder (the folder containing `prometeu.json`). +The extension validates the canonical project root, schema, loopback endpoint and +Studio process. It watches discovery changes and reconnects after a Studio +restart. Missing discovery means “Waiting for Studio” in the status bar; retries +increase from 2 seconds to at most 30 seconds without repeated error dialogs. +Click the status item to retry immediately. Transient discovery is not versioned. + +For a separately hosted LSP or an older Studio, explicitly select manual mode: + +```json +{ + "prometeu.studio.connectionMode": "manual", "prometeu.studio.host": "127.0.0.1", "prometeu.studio.port": 7775 } ``` -These can be changed in VS Code settings if needed. +Host/port settings apply only in manual mode. Changing connection settings restarts +the client. Automatic discovery never falls back to the fixed port. + +Run discovery regressions after compiling: + +```sh +node --test out/test/discovery.js +``` ## Current status diff --git a/tools/vscode-extension/out/discovery.js b/tools/vscode-extension/out/discovery.js new file mode 100644 index 00000000..d0ea710c --- /dev/null +++ b/tools/vscode-extension/out/discovery.js @@ -0,0 +1,38 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.readEndpoint = readEndpoint; +exports.reconnectDelay = reconnectDelay; +const node_fs_1 = require("node:fs"); +const node_path_1 = require("node:path"); +function readEndpoint(root) { + const canonicalRoot = (0, node_fs_1.realpathSync)(root); + let text; + try { + text = (0, node_fs_1.readFileSync)((0, node_path_1.join)(canonicalRoot, ".studio", "lsp.json"), "utf8"); + } + catch (error) { + if (error.code === "ENOENT") + return undefined; + throw error; + } + const value = JSON.parse(text); + if (!value || value.schemaVersion !== 1 || value.projectRoot !== canonicalRoot + || value.host !== "127.0.0.1" || !Number.isInteger(value.port) || value.port < 1 || value.port > 65535 + || typeof value.sessionId !== "string" || !value.sessionId + || !Number.isSafeInteger(value.processId) || value.processId < 1) { + throw new Error("Invalid project LSP discovery metadata. Reopen the project in Studio."); + } + try { + process.kill(value.processId, 0); + } + catch (error) { + if (error.code === "ESRCH") + return undefined; + throw error; + } + return value; +} +function reconnectDelay(attempt) { + return Math.min(30000, 2000 * 2 ** Math.min(attempt, 4)); +} +//# sourceMappingURL=discovery.js.map \ No newline at end of file diff --git a/tools/vscode-extension/out/extension.js b/tools/vscode-extension/out/extension.js index 9789160c..bbd3024f 100644 --- a/tools/vscode-extension/out/extension.js +++ b/tools/vscode-extension/out/extension.js @@ -35,6 +35,8 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.activate = activate; exports.deactivate = deactivate; +const node_fs_1 = require("node:fs"); +const discovery_1 = require("./discovery"); const net = __importStar(require("node:net")); const vscode = __importStar(require("vscode")); const externalSources_1 = require("./externalSources"); @@ -46,10 +48,58 @@ let reconnectContext; let stoppingClient = false; let lastAppliedThemeSignature; const externalSources = new externalSources_1.ExternalSources(); -const RECONNECT_DELAY_MS = 2000; +let reconnectAttempt = 0; +let connectionStatus; +let lastStatus = ""; +let startPromise; +let restartQueue = Promise.resolve(); +let disposed = false; +let endpointKey; +let endpointSession; +function status(message) { + connectionStatus.text = `$(plug) Prometeu: ${message}`; + connectionStatus.tooltip = message; + connectionStatus.show(); + if (message !== lastStatus) { + output.appendLine(message); + lastStatus = message; + } +} +function restart(context) { + restartQueue = restartQueue.then(async () => { + await stopClient(); + reconnectAttempt = 0; + if (!disposed) + await startClient(context); + }).catch(error => { status(String(error)); scheduleReconnect(); }); + return restartQueue; +} +// The reconnect controller owns availability feedback; avoid languageclient's +// forced error notifications for expected offline/obsolete discovery endpoints. +class StudioLanguageClient extends node_1.LanguageClient { + async stop(timeout) { + // languageclient 9 invokes stop before its failed initialize has left + // Starting. Wait for that start to settle before disposing the transport. + if (this.state === node_1.State.Starting) + await this.start().catch(() => undefined); + await super.stop(timeout); + } + error(message, _data, _showNotification) { + status(`Studio unavailable: ${message}`); + } +} const VSCODE_HOST_ID = "vscode"; function activate(context) { + disposed = false; reconnectContext = context; + connectionStatus = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left); + connectionStatus.command = "prometeu.restartStudioLsp"; + const watcher = vscode.workspace.createFileSystemWatcher("**/.studio/lsp.json"); + const changed = () => { void restart(context); }; + context.subscriptions.push(connectionStatus, watcher, watcher.onDidCreate(changed), watcher.onDidChange(changed), watcher.onDidDelete(changed), vscode.workspace.onDidChangeWorkspaceFolders(changed), vscode.workspace.onDidChangeConfiguration(event => { + if (event.affectsConfiguration("prometeu.studio")) + changed(); + })); output = vscode.window.createOutputChannel("Prometeu LSP"); output.appendLine("Prometeu VS Code extension activated."); context.subscriptions.push(externalSources, vscode.languages.registerCodeLensProvider({ scheme: externalSources_1.externalScheme, language: "pbs" }, { @@ -63,16 +113,20 @@ function activate(context) { } }), vscode.workspace.registerTextDocumentContentProvider(externalSources_1.externalScheme, externalSources), vscode.window.onDidChangeActiveTextEditor(() => externalSources.refreshStatus()), vscode.workspace.onDidOpenTextDocument(document => void externalSources.opened(document)), vscode.workspace.onDidCloseTextDocument(document => void externalSources.closeDocument(document))); const connectCommand = vscode.commands.registerCommand("prometeu.connectStudioLsp", async () => { + reconnectAttempt = 0; await startClient(context); }); const restartCommand = vscode.commands.registerCommand("prometeu.restartStudioLsp", async () => { - await stopClient(); - await startClient(context); + await restart(context); }); context.subscriptions.push(output, connectCommand, restartCommand); void startClient(context); } async function deactivate() { + disposed = true; + reconnectContext = undefined; + clearReconnectTimer(); + await restartQueue; try { await externalSources.shutdown(); } @@ -81,16 +135,60 @@ async function deactivate() { } } async function startClient(context) { + if (disposed) + return; + if (startPromise) + return startPromise; + startPromise = startClientOnce(context).finally(() => { startPromise = undefined; }); + return startPromise; +} +async function startClientOnce(context) { clearReconnectTimer(); if (client) { output.appendLine("Prometeu LSP client is already running."); return; } - const config = vscode.workspace.getConfiguration("prometeu.studio"); - const host = config.get("host", "127.0.0.1"); - const port = config.get("port", 7775); - output.show(true); - output.appendLine(`Connecting to Prometeu Studio LSP at ${host}:${port}...`); + const folders = vscode.workspace.workspaceFolders; + if (!folders || folders.length !== 1 || folders[0].uri.scheme !== "file") { + status("Open one local Prometeu project folder."); + return; + } + const folder = folders[0]; + const config = vscode.workspace.getConfiguration("prometeu.studio", folder.uri); + let host; + let port; + let root; + let session; + try { + root = (0, node_fs_1.realpathSync)(folder.uri.fsPath); + if (config.get("connectionMode", "auto") === "manual") { + host = config.get("host", "127.0.0.1"); + port = config.get("port", 7775); + } + else { + const endpoint = (0, discovery_1.readEndpoint)(root); + if (!endpoint) { + status("Waiting for Studio — open this project in Studio."); + scheduleReconnect(); + return; + } + ({ host, port } = endpoint); + session = endpoint.sessionId; + } + } + catch (error) { + status(error instanceof Error ? error.message : String(error)); + scheduleReconnect(); + return; + } + const key = `${root}:${host}:${port}`; + if (endpointKey !== key || (session !== undefined && endpointSession !== session)) { + externalSources.resetSession(); + } + endpointKey = key; + if (session !== undefined) + endpointSession = session; + status(`Connecting to ${host}:${port}`); const serverOptions = async () => { return new Promise((resolve, reject) => { const socket = net.createConnection({ host, port }); @@ -126,6 +224,7 @@ async function startClient(context) { }); }; const clientOptions = { + workspaceFolder: { ...folder, uri: vscode.Uri.file(root) }, documentSelector: [ { scheme: "file", @@ -143,6 +242,8 @@ async function startClient(context) { prometeuClientVersion: context.extension.packageJSON.version }, outputChannel: output, + revealOutputChannelOn: node_1.RevealOutputChannelOn.Never, + initializationFailedHandler: () => false, middleware: { prepareRename: (document, position, token, next) => document.uri.scheme === externalSources_1.externalScheme ? null : next(document, position, token), provideRenameEdits: (document, position, name, token, next) => document.uri.scheme === externalSources_1.externalScheme ? null : next(document, position, name, token), @@ -158,12 +259,12 @@ async function startClient(context) { return { action: node_1.ErrorAction.Continue }; }, closed: () => { - output.appendLine("Prometeu LSP transport closed."); - return { action: node_1.CloseAction.DoNotRestart }; + status("Waiting for Studio — connection closed."); + return { action: node_1.CloseAction.DoNotRestart, handled: true }; } } }; - const nextClient = new node_1.LanguageClient("prometeuStudioLsp", "Prometeu Studio LSP", serverOptions, clientOptions); + const nextClient = new StudioLanguageClient("prometeuStudioLsp", "Prometeu Studio LSP", serverOptions, clientOptions); client = nextClient; nextClient.registerFeature({ fillClientCapabilities(capabilities) { @@ -172,7 +273,6 @@ async function startClient(context) { initialize() { }, clear() { }, getState() { return { kind: "static" }; } }); nextClient.onDidChangeState((event) => { - output.appendLine(`Prometeu LSP state changed: ${node_1.State[event.oldState]} -> ${node_1.State[event.newState]}`); if (event.newState !== node_1.State.Stopped) { return; } @@ -188,8 +288,8 @@ async function startClient(context) { await nextClient.start(); await externalSources.connected(nextClient); await applyPrometeuVisualTheme(nextClient.initializeResult); - output.appendLine("Prometeu Studio LSP client started."); - vscode.window.showInformationMessage("Connected to Prometeu Studio LSP."); + reconnectAttempt = 0; + status(`Connected to Studio at ${host}:${port}`); } catch (error) { externalSources.resetSession(); @@ -197,14 +297,22 @@ async function startClient(context) { client = undefined; } const message = error instanceof Error ? error.message : String(error); - output.appendLine(`Failed to start Prometeu LSP client: ${message}`); - vscode.window.showErrorMessage(`Could not connect to Prometeu Studio LSP: ${message}`); + status(`Studio unavailable: ${message}`); + try { + await nextClient.dispose(); + } + catch { /* transport already stopped */ } scheduleReconnect(); } } async function stopClient() { clearReconnectTimer(); + stoppingClient = true; + if (startPromise) + await startPromise; + clearReconnectTimer(); if (!client) { + stoppingClient = false; return; } const currentClient = client; @@ -224,17 +332,17 @@ async function stopClient() { } } function scheduleReconnect() { - if (!reconnectContext) { + if (!reconnectContext || disposed || stoppingClient) { return; } if (reconnectTimer || client) { return; } - output.appendLine(`Scheduling Prometeu LSP reconnect in ${RECONNECT_DELAY_MS}ms...`); + const delay = (0, discovery_1.reconnectDelay)(reconnectAttempt++); reconnectTimer = setTimeout(() => { reconnectTimer = undefined; void startClient(reconnectContext); - }, RECONNECT_DELAY_MS); + }, delay); } function clearReconnectTimer() { if (!reconnectTimer) { diff --git a/tools/vscode-extension/out/externalSources.js b/tools/vscode-extension/out/externalSources.js index f7d27eea..d603269a 100644 --- a/tools/vscode-extension/out/externalSources.js +++ b/tools/vscode-extension/out/externalSources.js @@ -85,7 +85,7 @@ class ExternalSources { this.refreshStatus(); } disconnected() { this.client = undefined; this.available.clear(); this.refreshStatus(); } - resetSession() { this.disconnected(); this.consumerId = undefined; } + resetSession() { this.disconnected(); this.consumerId = undefined; this.closed.clear(); } request(operation, uri) { if (!this.client || !this.consumerId) return Promise.reject(new Error("External source unavailable: reconnect to Studio.")); diff --git a/tools/vscode-extension/package.json b/tools/vscode-extension/package.json index 357c4573..0f6936f4 100644 --- a/tools/vscode-extension/package.json +++ b/tools/vscode-extension/package.json @@ -54,6 +54,15 @@ "type": "number", "default": 7775, "description": "Prometeu Studio LSP TCP port." + }, + "prometeu.studio.connectionMode": { + "type": "string", + "enum": [ + "auto", + "manual" + ], + "default": "auto", + "description": "Discover this project\u2019s Studio LSP automatically, or use the configured host and port." } } }, diff --git a/tools/vscode-extension/src/discovery.ts b/tools/vscode-extension/src/discovery.ts new file mode 100644 index 00000000..c41f957f --- /dev/null +++ b/tools/vscode-extension/src/discovery.ts @@ -0,0 +1,25 @@ +import { readFileSync, realpathSync } from "node:fs"; +import { join } from "node:path"; + +export type Endpoint = { host: string; port: number; projectRoot: string; sessionId: string }; + +export function readEndpoint(root: string): Endpoint | undefined { + const canonicalRoot = realpathSync(root); + let text: string; + try { text = readFileSync(join(canonicalRoot, ".studio", "lsp.json"), "utf8"); } + catch (error) { if ((error as NodeJS.ErrnoException).code === "ENOENT") return undefined; throw error; } + const value = JSON.parse(text); + if (!value || value.schemaVersion !== 1 || value.projectRoot !== canonicalRoot + || value.host !== "127.0.0.1" || !Number.isInteger(value.port) || value.port < 1 || value.port > 65535 + || typeof value.sessionId !== "string" || !value.sessionId + || !Number.isSafeInteger(value.processId) || value.processId < 1) { + throw new Error("Invalid project LSP discovery metadata. Reopen the project in Studio."); + } + try { process.kill(value.processId, 0); } + catch (error) { if ((error as NodeJS.ErrnoException).code === "ESRCH") return undefined; throw error; } + return value as Endpoint; +} + +export function reconnectDelay(attempt: number): number { + return Math.min(30000, 2000 * 2 ** Math.min(attempt, 4)); +} diff --git a/tools/vscode-extension/src/extension.ts b/tools/vscode-extension/src/extension.ts index f09b347d..e2eb6e67 100644 --- a/tools/vscode-extension/src/extension.ts +++ b/tools/vscode-extension/src/extension.ts @@ -1,3 +1,5 @@ +import { realpathSync } from "node:fs"; +import { readEndpoint, reconnectDelay } from "./discovery"; import * as net from "node:net"; import * as vscode from "vscode"; import { ExternalSources, externalScheme } from "./externalSources"; @@ -7,6 +9,7 @@ import { ErrorAction, LanguageClient, LanguageClientOptions, + RevealOutputChannelOn, ServerOptions, State, StreamInfo @@ -20,7 +23,30 @@ let stoppingClient = false; let lastAppliedThemeSignature: string | undefined; const externalSources = new ExternalSources(); -const RECONNECT_DELAY_MS = 2000; +let reconnectAttempt = 0; +let connectionStatus: vscode.StatusBarItem; +let lastStatus = ""; +let startPromise: Promise | undefined; +let restartQueue = Promise.resolve(); +let disposed = false; +let endpointKey: string | undefined; +let endpointSession: string | undefined; + +function status(message: string): void { + connectionStatus.text = `$(plug) Prometeu: ${message}`; + connectionStatus.tooltip = message; + connectionStatus.show(); + if (message !== lastStatus) { output.appendLine(message); lastStatus = message; } +} + +function restart(context: vscode.ExtensionContext): Promise { + restartQueue = restartQueue.then(async () => { + await stopClient(); + reconnectAttempt = 0; + if (!disposed) await startClient(context); + }).catch(error => { status(String(error)); scheduleReconnect(); }); + return restartQueue; +} type PrometeuTokenStyle = { semanticKey: string; @@ -72,10 +98,35 @@ type PrometeuSemanticHostProjectionsPayload = { hostProjections: PrometeuSemanticHostProjection[]; }; +// The reconnect controller owns availability feedback; avoid languageclient's +// forced error notifications for expected offline/obsolete discovery endpoints. +class StudioLanguageClient extends LanguageClient { + override async stop(timeout?: number): Promise { + // languageclient 9 invokes stop before its failed initialize has left + // Starting. Wait for that start to settle before disposing the transport. + if (this.state === State.Starting) await this.start().catch(() => undefined); + await super.stop(timeout); + } + override error(message: string, _data?: unknown, _showNotification?: boolean | "force"): void { + status(`Studio unavailable: ${message}`); + } +} + const VSCODE_HOST_ID = "vscode"; export function activate(context: vscode.ExtensionContext): void { + disposed = false; reconnectContext = context; + connectionStatus = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left); + connectionStatus.command = "prometeu.restartStudioLsp"; + const watcher = vscode.workspace.createFileSystemWatcher("**/.studio/lsp.json"); + const changed = () => { void restart(context); }; + context.subscriptions.push(connectionStatus, watcher, + watcher.onDidCreate(changed), watcher.onDidChange(changed), watcher.onDidDelete(changed), + vscode.workspace.onDidChangeWorkspaceFolders(changed), + vscode.workspace.onDidChangeConfiguration(event => { + if (event.affectsConfiguration("prometeu.studio")) changed(); + })); output = vscode.window.createOutputChannel("Prometeu LSP"); output.appendLine("Prometeu VS Code extension activated."); context.subscriptions.push(externalSources, @@ -94,6 +145,7 @@ export function activate(context: vscode.ExtensionContext): void { const connectCommand = vscode.commands.registerCommand( "prometeu.connectStudioLsp", async () => { + reconnectAttempt = 0; await startClient(context); } ); @@ -101,8 +153,7 @@ export function activate(context: vscode.ExtensionContext): void { const restartCommand = vscode.commands.registerCommand( "prometeu.restartStudioLsp", async () => { - await stopClient(); - await startClient(context); + await restart(context); } ); @@ -112,11 +163,22 @@ export function activate(context: vscode.ExtensionContext): void { } export async function deactivate(): Promise { + disposed = true; + reconnectContext = undefined; + clearReconnectTimer(); + await restartQueue; try { await externalSources.shutdown(); } finally { await stopClient(); } } async function startClient(context: vscode.ExtensionContext): Promise { + if (disposed) return; + if (startPromise) return startPromise; + startPromise = startClientOnce(context).finally(() => { startPromise = undefined; }); + return startPromise; +} + +async function startClientOnce(context: vscode.ExtensionContext): Promise { clearReconnectTimer(); if (client) { @@ -124,13 +186,44 @@ async function startClient(context: vscode.ExtensionContext): Promise { return; } - const config = vscode.workspace.getConfiguration("prometeu.studio"); - - const host = config.get("host", "127.0.0.1"); - const port = config.get("port", 7775); - - output.show(true); - output.appendLine(`Connecting to Prometeu Studio LSP at ${host}:${port}...`); + const folders = vscode.workspace.workspaceFolders; + if (!folders || folders.length !== 1 || folders[0].uri.scheme !== "file") { + status("Open one local Prometeu project folder."); + return; + } + const folder = folders[0]; + const config = vscode.workspace.getConfiguration("prometeu.studio", folder.uri); + let host: string; + let port: number; + let root: string; + let session: string | undefined; + try { + root = realpathSync(folder.uri.fsPath); + if (config.get("connectionMode", "auto") === "manual") { + host = config.get("host", "127.0.0.1"); + port = config.get("port", 7775); + } else { + const endpoint = readEndpoint(root); + if (!endpoint) { + status("Waiting for Studio — open this project in Studio."); + scheduleReconnect(); + return; + } + ({ host, port } = endpoint); + session = endpoint.sessionId; + } + } catch (error) { + status(error instanceof Error ? error.message : String(error)); + scheduleReconnect(); + return; + } + const key = `${root}:${host}:${port}`; + if (endpointKey !== key || (session !== undefined && endpointSession !== session)) { + externalSources.resetSession(); + } + endpointKey = key; + if (session !== undefined) endpointSession = session; + status(`Connecting to ${host}:${port}`); const serverOptions: ServerOptions = async (): Promise => { return new Promise((resolve, reject) => { @@ -178,6 +271,7 @@ async function startClient(context: vscode.ExtensionContext): Promise { }; const clientOptions: LanguageClientOptions = { + workspaceFolder: { ...folder, uri: vscode.Uri.file(root) }, documentSelector: [ { scheme: "file", @@ -195,6 +289,8 @@ async function startClient(context: vscode.ExtensionContext): Promise { prometeuClientVersion: context.extension.packageJSON.version }, outputChannel: output, + revealOutputChannelOn: RevealOutputChannelOn.Never, + initializationFailedHandler: () => false, middleware: { prepareRename: (document, position, token, next) => document.uri.scheme === externalScheme ? null : next(document, position, token), provideRenameEdits: (document, position, name, token, next) => document.uri.scheme === externalScheme ? null : next(document, position, name, token), @@ -210,13 +306,13 @@ async function startClient(context: vscode.ExtensionContext): Promise { return { action: ErrorAction.Continue }; }, closed: () => { - output.appendLine("Prometeu LSP transport closed."); - return { action: CloseAction.DoNotRestart }; + status("Waiting for Studio — connection closed."); + return { action: CloseAction.DoNotRestart, handled: true }; } } }; - const nextClient = new LanguageClient( + const nextClient = new StudioLanguageClient( "prometeuStudioLsp", "Prometeu Studio LSP", serverOptions, @@ -230,7 +326,6 @@ async function startClient(context: vscode.ExtensionContext): Promise { initialize() {}, clear() {}, getState() { return { kind: "static" }; } }); nextClient.onDidChangeState((event) => { - output.appendLine(`Prometeu LSP state changed: ${State[event.oldState]} -> ${State[event.newState]}`); if (event.newState !== State.Stopped) { return; } @@ -248,8 +343,8 @@ async function startClient(context: vscode.ExtensionContext): Promise { await externalSources.connected(nextClient); await applyPrometeuVisualTheme(nextClient.initializeResult); - output.appendLine("Prometeu Studio LSP client started."); - vscode.window.showInformationMessage("Connected to Prometeu Studio LSP."); + reconnectAttempt = 0; + status(`Connected to Studio at ${host}:${port}`); } catch (error) { externalSources.resetSession(); if (client === nextClient) { @@ -258,15 +353,19 @@ async function startClient(context: vscode.ExtensionContext): Promise { const message = error instanceof Error ? error.message : String(error); - output.appendLine(`Failed to start Prometeu LSP client: ${message}`); - vscode.window.showErrorMessage(`Could not connect to Prometeu Studio LSP: ${message}`); + status(`Studio unavailable: ${message}`); + try { await nextClient.dispose(); } catch { /* transport already stopped */ } scheduleReconnect(); } } async function stopClient(): Promise { + clearReconnectTimer(); + stoppingClient = true; + if (startPromise) await startPromise; clearReconnectTimer(); if (!client) { + stoppingClient = false; return; } @@ -288,17 +387,17 @@ async function stopClient(): Promise { } function scheduleReconnect(): void { - if (!reconnectContext) { + if (!reconnectContext || disposed || stoppingClient) { return; } if (reconnectTimer || client) { return; } - output.appendLine(`Scheduling Prometeu LSP reconnect in ${RECONNECT_DELAY_MS}ms...`); + const delay = reconnectDelay(reconnectAttempt++); reconnectTimer = setTimeout(() => { reconnectTimer = undefined; void startClient(reconnectContext!); - }, RECONNECT_DELAY_MS); + }, delay); } function clearReconnectTimer(): void { diff --git a/tools/vscode-extension/src/externalSources.ts b/tools/vscode-extension/src/externalSources.ts index ffc4bf6a..1a5e62a1 100644 --- a/tools/vscode-extension/src/externalSources.ts +++ b/tools/vscode-extension/src/externalSources.ts @@ -54,7 +54,7 @@ export class ExternalSources implements vscode.TextDocumentContentProvider, vsco } disconnected(): void { this.client = undefined; this.available.clear(); this.refreshStatus(); } - resetSession(): void { this.disconnected(); this.consumerId = undefined; } + resetSession(): void { this.disconnected(); this.consumerId = undefined; this.closed.clear(); } private request(operation: string, uri: string): Promise { if (!this.client || !this.consumerId) return Promise.reject(new Error("External source unavailable: reconnect to Studio.")); diff --git a/tools/vscode-extension/src/test/discovery.ts b/tools/vscode-extension/src/test/discovery.ts new file mode 100644 index 00000000..79f526ec --- /dev/null +++ b/tools/vscode-extension/src/test/discovery.ts @@ -0,0 +1,38 @@ +import { strict as assert } from "node:assert"; +import { test } from "node:test"; +import { mkdtempSync, mkdirSync, writeFileSync, rmSync, realpathSync, symlinkSync } from "node:fs"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { readEndpoint, reconnectDelay } from "../discovery"; + +test("project discovery rejects stale, malformed and misbound endpoints", () => { + const root = realpathSync(mkdtempSync(join(tmpdir(), "prometeu-lsp-"))); + try { + assert.equal(readEndpoint(root), undefined); + mkdirSync(join(root, ".studio")); + const file = join(root, ".studio/lsp.json"); + const valid = { schemaVersion: 1, projectRoot: root, sessionId: "session", processId: process.pid, host: "127.0.0.1", port: 54321 }; + const publish = (value: unknown) => writeFileSync(file, JSON.stringify(value)); + publish(valid); + assert.equal(readEndpoint(root)?.port, 54321); + for (const invalid of [null, {}, { ...valid, schemaVersion: 2 }, { ...valid, projectRoot: "/wrong" }, + { ...valid, host: "example.com" }, { ...valid, port: 0 }, { ...valid, port: 65536 }, + { ...valid, port: 1.5 }, { ...valid, sessionId: "" }, { ...valid, processId: -1 }]) { + publish(invalid); + assert.throws(() => readEndpoint(root)); + } + writeFileSync(file, "{"); + assert.throws(() => readEndpoint(root)); + publish({ ...valid, processId: 2147483647 }); + assert.equal(readEndpoint(root), undefined); + publish({ ...valid, sessionId: "reopened", port: 54322 }); + assert.equal(readEndpoint(root)?.sessionId, "reopened"); + const alias = join(root, "alias"); + symlinkSync(root, alias); + assert.equal(readEndpoint(alias)?.port, 54322); + } finally { rmSync(root, { recursive: true, force: true }); } +}); + +test("reconnection delays increase and stay capped", () => { + assert.deepEqual([0, 1, 2, 3, 4, 50].map(reconnectDelay), [2000, 4000, 8000, 16000, 30000, 30000]); +}); diff --git a/tools/vscode-extension/src/test/externalSources.ts b/tools/vscode-extension/src/test/externalSources.ts index 3934d828..7de48bb2 100644 --- a/tools/vscode-extension/src/test/externalSources.ts +++ b/tools/vscode-extension/src/test/externalSources.ts @@ -1,3 +1,5 @@ +import { readFileSync, writeFileSync } from "node:fs"; +import { join } from "node:path"; import * as assert from "node:assert/strict"; import * as vscode from "vscode"; import { ExternalSources, ExternalContent } from "../externalSources"; @@ -50,6 +52,9 @@ export async function run(): Promise { const root = vscode.workspace.workspaceFolders![0].uri; const project = await vscode.workspace.openTextDocument(vscode.Uri.joinPath(root, "src/main.pbs")); await vscode.window.showTextDocument(project); + // Start offline, then discover a newly published endpoint without port settings. + await vscode.extensions.getExtension("undefined_publisher.prometeu-vscode-extension")?.activate(); + writeFileSync(join(root.fsPath, ".studio/discover-request"), "ready"); const use = project.positionAt(project.getText().indexOf("Gfx.clear") + 4); const definitions = await eventually( () => vscode.commands.executeCommand("vscode.executeDefinitionProvider", project.uri, use), @@ -90,10 +95,29 @@ export async function run(): Promise { () => vscode.commands.executeCommand("vscode.executeDefinitionProvider", library.uri, nestedUse), result => !!result?.length); assert.equal(nested[0].range.start.line, 2); + writeFileSync(join(root.fsPath, ".studio/restart-request"), "restart"); + const endpoint = await eventually(async () => { + try { return JSON.parse(readFileSync(join(root.fsPath, ".studio/lsp.json"), "utf8")); } + catch { return undefined; } + }, value => value?.sessionId === "replacement"); + await new Promise(resolve => setTimeout(resolve, 500)); + // File replacement must reconnect the existing editor without a command. + await eventually( + () => vscode.commands.executeCommand("vscode.executeHoverProvider", project.uri, use), + result => !!result?.length); + assert.equal(external.getText(), original); + const refreshedDefinitions = await vscode.commands.executeCommand("vscode.executeDefinitionProvider", project.uri, use); + const refreshedExternal = await vscode.workspace.openTextDocument(refreshedDefinitions[0].uri); + await vscode.window.showTextDocument(refreshedExternal); + const refreshedCall = refreshedExternal.positionAt(refreshedExternal.getText().indexOf("LowGfx.clear") + 7); + // Explicit manual mode remains supported for separately hosted servers. + const settings = vscode.workspace.getConfiguration("prometeu.studio"); + await settings.update("port", endpoint.port, vscode.ConfigurationTarget.Workspace); + await settings.update("connectionMode", "manual", vscode.ConfigurationTarget.Workspace); await vscode.commands.executeCommand("prometeu.restartStudioLsp"); assert.equal(external.getText(), original); const afterReconnect = await eventually( - () => vscode.commands.executeCommand("vscode.executeHoverProvider", external.uri, call), + () => vscode.commands.executeCommand("vscode.executeHoverProvider", refreshedExternal.uri, refreshedCall), result => !!result?.length); assert.ok(afterReconnect.flatMap(item => item.contents).some(content => (typeof content === "string" ? content : content.value).includes("clear"))); // Project editing remains functional in the same editor session. @@ -101,5 +125,6 @@ export async function run(): Promise { assert.equal(await projectEditor.edit(edit => edit.insert(new vscode.Position(0, 0), "// editable\n")), true); await vscode.commands.executeCommand("workbench.action.revertAndCloseActiveEditor"); await vscode.commands.executeCommand("workbench.action.closeAllEditors"); + writeFileSync(join(root.fsPath, ".studio/finished"), "done"); console.log("PLN-0141 VS Code development acceptance passed: readonly, syntax, positions, hover, continued definition, project editing."); }